joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f0d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c1000]
push edi
jmp 0x6f0d9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6f0da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0d90
mov eax, 1
add ebx, ebx
jne 0x6f0db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6f0dc4
jne 0x6f0de3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0de3
dec eax
add ebx, ebx
jne 0x6f0dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6f0da8
add ebx, ebx
jne 0x6f0ddf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6f0e35
xor ecx, ecx
sub eax, 3
jb 0x6f0dfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6f0e6a
sar eax, 1
mov ebp, eax
jmp 0x6f0e06
add ebx, ebx
jne 0x6f0e06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0dd4
inc ecx
add ebx, ebx
jne 0x6f0e14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6f0dd4
add ebx, ebx
jne 0x6f0e21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6f0e16
jne 0x6f0e32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6f0e16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6f0e54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6f0e46
jmp 0x6f0d96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6f0e54
add edi, ecx
jmp 0x6f0d96
pop esi
mov edi, esi
mov ecx, 0x8f59
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6f0e72
cmp byte [edi], 0x16
jne 0x6f0e72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6f0e77
lea edi, [esi + 0x2e4000]
mov eax, dword [edi]
or eax, eax
je 0x6f0eef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3bef04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3bf124]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6f0ea4
mov ecx, edi
jns 0x6f0ed3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3bf12c]
or eax, eax
je 0x6f0ee9
mov dword [ebx], eax
add ebx, 4
jmp 0x6f0ec1
call dword [esi + 0x3bf128]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6f0f20
cmp al, 0xef
ja 0x6f0f13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6f0ef5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6f0f02
mov ebp, dword [esi + 0x3bf130]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6f0f54
sub esp, 0xffffff80
jmp 0x4e2757
Function at 0x10008ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7dac
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x102100f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10008c54
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.10004f30
push ecx
lea ecx, [edi + 0x68]
call fcn.10004750
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.10009d20
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x10008ca1
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x1001af60
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
je 0x1001af77
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.1001af60
mov eax, edx
ret
Function at 0x1001ee80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov al, byte [ecx]
mov edx, 0x811c9dc5
test al, al
je 0x1001eea4
nop dword [eax + eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x1001ee90
mov eax, edx
ret
Function at 0x10027c20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x10027c40
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x1002d540
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x1002d59e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x1002d560
mov eax, dword [edi]
jmp 0x1002d689
cmp eax, 0x4e0
jb 0x1002d689
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x1002d5c0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x1002d610
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100658c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bff30
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x102100f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 4]
lea ecx, [esi + 0x68]
push 0
push 0x101e6eab
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp + 8], esi
mov dword [edi], eax
mov dword [esi], 0
mov word [esi + 4], 0x100
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100049f0
lea ecx, [esi + 0x80]
mov dword [ebp - 4], 0
push 0
mov dword [ecx], 0
push 0x101e6eab
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.100049f0
mov dword [ebp + 8], 0x41880000
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0xc], 0x44134000
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x48], 0x42b80000
mov eax, dword [esi + 0x48]
mov dword [esi + 0x58], eax
mov dword [esi + 0x4c], 0x42900000
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x50], 0x40400000
mov eax, dword [esi + 0x50]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x54], 0x428c0000
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x60], eax
mov dword [esi + 0x1c], 0x41c80000
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x10], 0x42ce0000
mov edx, dword [esi + 0x10]
mov dword [esi + 0x20], 0x41c80000
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x2c], 0x41d80000
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], 0x41c80000
mov dword [esi + 0x18], edx
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x34], eax
mov eax, edi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x98], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1006e190
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1006e1dc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1006e1bf
cmp edi, 2
jb 0x1006e1bf
cmp byte [esi], cl
jne 0x1006e1bf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101e8ca0]
test edi, edi
jne 0x1006e1a5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1006e20b
cmp cl, 0x23
jne 0x1006e1f2
cmp byte [esi], cl
jne 0x1006e1f2
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x101e8ca0]
test cl, cl
jne 0x1006e1e3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1006e460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x1006e482
push 0x20000
push str.ERROR
push str._filename__mode_
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [ebp + 8]
test edi, edi
je 0x1006e48f
mov dword [edi], 0
mov edx, 0x101f1bb8
mov ecx, esi
call fcn.1006e220
mov esi, eax
test esi, esi
je 0x1006e57a
push esi
call fcn.10180605
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x1006e571
push 2
push 0
push esi
call fcn.1018122f
add esp, 0xc
test eax, eax
jne 0x1006e571
push esi
call fcn.10180605
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1006e571
push 0
push dword [ebp + 8]
push esi
call fcn.1018122f
add esp, 0xc
test eax, eax
jne 0x1006e571
mov eax, dword [0x102c7274]
test eax, eax
je 0x1006e504
inc dword [eax + 0x370]
push dword [0x102c726c]
push ebx
call fcn.1006abc0
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x1006e571
push esi
push ebx
push 1
push eax
call fcn.1018201d
add esp, 0x10
push esi
cmp eax, ebx
je 0x1006e55b
call fcn.10180e97
mov eax, dword [0x102c7274]
add esp, 4
test eax, eax
je 0x1006e543
dec dword [eax + 0x370]
push dword [0x102c726c]
push dword [ebp + 8]
call fcn.1006abd0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10180e97
add esp, 4
test edi, edi
je 0x1006e569
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10180e97
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10070da0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc4]
test ecx, ecx
jg 0x10070dce
push 0x20000
push str.ERROR
push str._Size___0_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esi + 0xc4]
mov eax, dword [esi + 0xcc]
mov edi, 4
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101e8ca0]
sub edi, 1
jne 0x10070de2
mov ecx, dword [0x102c7274]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a74], eax
jne 0x10070e14
mov dword [ecx + 0x1a78], eax
cmp dword [ecx + 0x1aac], eax
jne 0x10070e23
mov byte [ecx + 0x1ab0], 1
pop ebp
ret 4

Function at 0x100740d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x100740e9
cmp byte [edi + 0x2e41], 0
je 0x10074100
push 0x20000
push str.ERROR
push str.__g.Initialized___g.SettingsLoaded_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
or edx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], str.Window
mov esi, 0x101efa81
mov al, 0x57
or ebx, 0xffffffff
nop dword [eax + eax]
cmp al, 0x23
jne 0x1007412e
cmp byte [esi], al
jne 0x1007412e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x101e8ca0]
test al, al
jne 0x10074120
mov esi, dword [edi + 0x2e54]
not edx
mov ecx, dword [edi + 0x2e58]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0x100842f0
mov dword [ebp - 0x14], 0x100843a0
mov dword [ebp - 0x10], 0x10084410
mov dword [ebp - 0xc], 0x100844c0
mov dword [ebp - 8], 0x100845e0
cmp esi, ecx
jne 0x1007421c
inc esi
test ecx, ecx
je 0x10074193
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10074198
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1007421c
mov eax, dword [0x102c7274]
test eax, eax
je 0x100741b0
inc dword [eax + 0x370]
push dword [0x102c726c]
lea eax, [esi + esi*8]
shl eax, 2
push eax
call fcn.1006abc0
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2e5c]
test eax, eax
je 0x10074210
mov ecx, dword [edi + 0x2e54]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.10158550
mov ecx, dword [edi + 0x2e5c]
add esp, 0xc
test ecx, ecx
je 0x10074201
mov eax, dword [0x102c7274]
test eax, eax
je 0x10074201
dec dword [eax + 0x370]
push dword [0x102c726c]
push ecx
call fcn.1006abd0
add esp, 8
mov dword [edi + 0x2e5c], ebx
mov dword [edi + 0x2e58], esi
mov eax, dword [edi + 0x2e54]
movups xmm0, xmmword [ebp - 0x24]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x2e5c]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [edi + 0x2e54]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10076720
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1007675d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10076743
cmp byte [esi], bl
jne 0x10076743
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x101e8ca0]
test bl, bl
jne 0x10076734
pop edi
pop esi
not ecx
pop ebx
jmp fcn.100766b0

Function at 0x1007cea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x102c7274]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1a3c]
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
test eax, eax
jg 0x1007cede
push 0x20000
push str.ERROR
push str._Size___0_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [edi]
mov ebx, dword [edi + 8]
lea edx, [ebp - 4]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101e8ca0]
sub esi, 1
jne 0x1007cef0
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x1007cf39
inc ecx
test esi, esi
je 0x1007cf25
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1007cf2a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100880a0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10083510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x102c7274]
push edi
cmp byte [esi + 0x2e78], 0
je 0x100835ae
cmp dword [esi + 0x2e80], 0
lea edi, [esi + 0x2e84]
je 0x100835a0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10083559
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10087180
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1006ecb0
mov edx, dword [edi]
mov ecx, 0x102c7270
push dword [esi + 0x2e80]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2e8c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.10181a9b
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1006ecb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100840d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [0x102c7274]
mov eax, ecx
mov dword [esp + 0xc], eax
push esi
push edi
mov dword [ebx + 0x2e44], 0
test eax, eax
je 0x100841f5
lea edi, [ebx + 0x2e48]
mov dword [ebx + 0x2e44], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10084129
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10087180
xor ecx, ecx
mov dword [edi], 0
cmp dword [edi + 4], ecx
jne 0x10084141
push 8
mov ecx, edi
call fcn.10087180
mov ecx, dword [edi]
mov eax, dword [edi + 8]
xor esi, esi
mov byte [ecx + eax], 0
inc dword [edi]
mov eax, dword [ebx + 0x2e54]
mov ecx, dword [edi]
test eax, eax
jle 0x100841ae
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop
test esi, esi
js 0x10084168
cmp esi, eax
jl 0x10084183
push 0x20000
push str.ERROR
push str._i___0__i___Size_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x2e5c]
add eax, ecx
push edi
push eax
push ebx
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [esp + 0x1c]
inc esi
mov eax, dword [ebx + 0x2e54]
add ecx, 0x24
add esp, 0xc
mov dword [esp + 0x10], ecx
cmp esi, eax
jl 0x10084160
mov ecx, dword [edi]
lea eax, [ecx - 1]
mov edi, 0x102c7270
neg ecx
mov edx, 0x101f1bbc
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebx + 0x2e50]
test eax, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
cmovne edi, eax
call fcn.1006e220
mov esi, eax
test esi, esi
je 0x100841f5
push esi
push dword [esp + 0x14]
push 1
push edi
call fcn.10181a9b
push esi
call fcn.10180e97
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10091850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1009188c
mov eax, dword [0x102c7274]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10091876
dec dword [eax + 0x370]
push dword [0x102c726c]
push ecx
call fcn.1006abd0
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100918c6
mov eax, dword [0x102c7274]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x100918b0
dec dword [eax + 0x370]
push dword [0x102c726c]
push ecx
call fcn.1006abd0
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10091900
mov eax, dword [0x102c7274]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x100918ea
dec dword [eax + 0x370]
push dword [0x102c726c]
push ecx
call fcn.1006abd0
add esp, 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10091956
mov eax, dword [0x102c7274]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10091940
dec dword [eax + 0x370]
push dword [0x102c726c]
push ecx
call fcn.1006abd0
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10091990
mov eax, dword [0x102c7274]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1009197a
dec dword [eax + 0x370]
push dword [0x102c726c]
push ecx
call fcn.1006abd0
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100919ca
mov eax, dword [0x102c7274]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x100919b4
dec dword [eax + 0x370]
push dword [0x102c726c]
push ecx
call fcn.1006abd0
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100952f0
Function at 0x100b4cf0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102100f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100b4dea
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100b4de3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100b4dc9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100b4dc9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100b4dc9
mov edx, dword [esi]
test edx, edx
jne 0x100b4d92
push 0x200
push edx
push dword [0x102c727c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100b4de3
jmp 0x100b4dbd
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100b4dbd
shl eax, 3
push eax
push edx
push 0
push dword [0x102c727c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100b4de3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100b4d51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100b4e2f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100b4e2f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100b4e29
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100b4a80
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100b4df6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101559ea
mov esp, ebp
pop ebp
ret