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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3390000]
push edi
or ebp, 0xffffffff
jmp 0x3997162
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3997169
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3997158
mov eax, 1
add ebx, ebx
jne 0x399717b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x399718c
jne 0x39971ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x39971ab
dec eax
add ebx, ebx
jne 0x3997198
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x3997170
add ebx, ebx
jne 0x39971a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x39971fd
xor ecx, ecx
sub eax, 3
jb 0x39971c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3997232
sar eax, 1
mov ebp, eax
jmp 0x39971ce
add ebx, ebx
jne 0x39971ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x399719c
inc ecx
add ebx, ebx
jne 0x39971dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x399719c
add ebx, ebx
jne 0x39971e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x39971de
jne 0x39971fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x39971de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x399721c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x399720e
jmp 0x399715e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x399721c
add edi, ecx
jmp 0x399715e
pop esi
mov edi, esi
mov ecx, 0x63f359
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x3997257
cmp byte [edi], 0x46
jne 0x399723c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x399723a
lea edi, [esi + 0x358e000]
mov eax, dword [edi]
or eax, eax
je 0x39972a8
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x359f09c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x359f254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x399725d
mov ecx, edi
jns 0x399728c
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 + 0x359f258]
or eax, eax
je 0x39972a2
mov dword [ebx], eax
add ebx, 4
jmp 0x399727a
call dword [esi + 0x359f268]
mov ebp, dword [esi + 0x359f25c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x39972dc
sub esp, 0xffffff80
jmp 0x88a74d
Function at 0x4097bc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40988f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4098a8
push ebx
push 0x4098b4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40983c
mov al, 0x62
call fcn.00409394
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409790
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409845
call fcn.00409790
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409896
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409948
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4099fc
jmp 0x4099f1
cmp dword [esi + 0x10], 0x1000
jne 0x4099dd
test byte [esi + 0x15], 1
jne 0x4099dd
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40999c
cmp eax, 2
je 0x40999c
cmp eax, 0x10
je 0x40999c
cmp eax, 0x20
jne 0x4099b1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4099b1
mov bl, 1
xor ebp, ebp
jmp 0x4099c2
mov eax, dword [esi]
add eax, ebp
call fcn.00409940
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4099b5
test bl, bl
je 0x4099dd
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4099fc
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409974
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41f971
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x41f980
pop dword [ebp - 0x30]
mov eax, 0x41f980
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xcfffacb4
add dword [ebp - 0x40], 0x7e529897
mov dword [ebp - 0x3c], 0x2e563827
add dword [ebp - 0x3c], 0x3dd141e
mov dword [ebp - 0x38], 0x4334c6d
sub dword [ebp - 0x38], 0xb7e7083f
mov dword [ebp - 0x34], 0xbc8f1c45
sub dword [ebp - 0x34], 0xbc8f1c45
lea eax, [ebp - 0x40]
push eax
mov eax, 0x8136a0ea
add eax, 0x7f0b908e
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x9041c7
add dword [ebp - 0x40], 0x73e2278f
mov dword [ebp - 0x3c], 0xf80b40f6
add dword [ebp - 0x3c], 0x4961207f
mov dword [ebp - 0x38], 0xe6680cb
add dword [ebp - 0x38], 0x5508eba1
mov dword [ebp - 0x34], 0x8de938ba
add dword [ebp - 0x34], 0x7216c746
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x2dd3ea32
add eax, 0xd26e474a
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3fcae
push 0
call eax
mov ecx, 0x1addb127
add ecx, 0xe5229ee5
mov edx, eax
mov ebx, 0x5fb600
add ebx, dword [ebp - 0x30]
mov edi, 0x978acf7c
sub edi, 0xa4cffca4
sub dword [ebp - 0x1c], 0xeda1665a
mov esi, dword [ebx]
mov dword [ebp - 0x28], 0xb5b1ef8a
xor esi, edi
mov dword [edx], esi
add dword [ebp - 0x2c], ebx
add edx, 4
add ebx, 0xada10267
sub ebx, 0xada10263
loop 0x41fa97
add eax, 0x13303
mov ebx, eax
add eax, 5
mov ecx, 0xf85826f4
sub ecx, 0xf81826f4
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x430000
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x550f5cb2
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x5d570830
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x13728f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb4f000]
push edi
or ebp, 0xffffffff
jmp 0x1372912
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1372919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1372908
mov eax, 1
add ebx, ebx
jne 0x137292b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x137293c
jne 0x137295b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x137295b
dec eax
add ebx, ebx
jne 0x1372948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1372920
add ebx, ebx
jne 0x1372957
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x13729ad
xor ecx, ecx
sub eax, 3
jb 0x1372973
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x13729e2
sar eax, 1
mov ebp, eax
jmp 0x137297e
add ebx, ebx
jne 0x137297e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x137294c
inc ecx
add ebx, ebx
jne 0x137298c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x137294c
add ebx, ebx
jne 0x1372999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x137298e
jne 0x13729aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x137298e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x13729cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x13729be
jmp 0x137290e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x13729cc
add edi, ecx
jmp 0x137290e
pop esi
mov edi, esi
mov ecx, 0x26798
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x13729ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x13729ef
lea edi, [esi + 0xf6e000]
mov eax, dword [edi]
or eax, eax
je 0x1372a57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfa0bc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfa0d20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1372a15
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfa0d28]
or eax, eax
je 0x1372a51
mov dword [ebx], eax
add ebx, 4
jmp 0x1372a32
call dword [esi + 0xfa0d24]
mov ebp, dword [esi + 0xfa0d2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1372a8b
sub esp, 0xffffff80
jmp 0xa18c64
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40673a
pop dword [ebp - 0x34]
mov eax, 0x40673a
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x8802beb7
sub dword [ebp - 0x44], 0x39b0796c
mov dword [ebp - 0x40], 0xd9c15c2a
add dword [ebp - 0x40], 0x5871f01b
mov dword [ebp - 0x3c], 0x2061911f
add dword [ebp - 0x3c], 0x2beab30f
mov dword [ebp - 0x38], 0xdaaa6709
sub dword [ebp - 0x38], 0xdaaa6709
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x7f81839e
sub dword [ebp - 0x44], 0xb0f1a48
mov dword [ebp - 0x40], 0x8821afc6
sub dword [ebp - 0x40], 0x46b54e51
mov dword [ebp - 0x3c], 0x89b99b23
add dword [ebp - 0x3c], 0xd9b5d149
mov dword [ebp - 0x38], 0xfef234b7
add dword [ebp - 0x38], 0x10dcb49
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x9dac10e3
add eax, 0x6294701d
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x37cd9
push 0
call eax
mov ecx, 0xb08bd415
add ecx, 0x4f747511
xor esi, esi
add esi, eax
mov edx, 0x7b6622dc
add edx, 0x84e0c124
add edx, dword [ebp - 0x34]
mov ebx, 0x5985d691
add dword [ebp - 0x18], edi
mov edi, dword [edx]
sub dword [ebp - 0x14], 0x14f6f254
xor edi, ebx
xor dword [ebp - 0xc], 0x4675b37d
mov dword [esi], edi
sub dword [ebp - 8], ecx
add esi, 0x7129bca2
add esi, 0x8ed64362
add edx, 0x39bc81b1
sub edx, 0x39bc81ad
loop 0x40684e
add eax, 0x1176b
xor ebx, ebx
add ebx, eax
add eax, 0xc268b587
add eax, 0x3d974a7e
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x1000be60
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x1000be69
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
ret

Function at 0x1000c61e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10024140], 0
push esi
push edi
jne 0x1000c594
call fcn.1000c500
test eax, eax
je 0x1000c5d9
mov eax, dword [0x10024140]
cmp eax, 1
jne 0x1000c5b5
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000c5d9
jmp 0x1000c61b
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000c61b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000c5dd
xor eax, eax
jmp 0x1000c61b
mov eax, dword [esi]
push dword [0x10024140]
call edi
mov edi, eax
test edi, edi
je 0x1000c5ff
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000c61b
lea edi, [esi + 0xff0]
push esi
push dword [0x10024140]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000c605
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000c580

Function at 0x1000cc2a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10022cac]
jne 0x1000cc34
repz ret
jmp fcn.10010608

Function at 0x1000e910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1000e91f
pop dword [ebp - 0x48]
mov eax, 0x30b3b33c
add eax, 0xdf4d35e3
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x389fa
push 0
mov eax, 0xff05fa6f
sub eax, 0xef0448bf
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0xcb67523e
sub ecx, 0xcb670f40
xor edx, edx
add edx, eax
mov esi, 0xca9ff961
add esi, 0x4562b89f
add esi, dword [ebp - 0x48]
mov ebx, 0x376b844d
sub ebx, 0x26a702ec
add dword [ebp - 0x38], 0xa296eecc
mov edi, dword [esi]
mov dword [ebp - 0xc], 0xf214db7d
add edi, ebx
xor dword [ebp - 0x2c], 0xe6fc31a5
mov dword [edx], edi
sub dword [ebp - 0x20], eax
add edx, 0xc4cf5941
add edx, 0x3b30a6c3
add esi, 0xf572bfe8
sub esi, 0xf572bfe4
loop 0x1000e980
add eax, 0x532a0576
sub eax, 0x532906ab
mov ebx, eax
add eax, 5
mov ecx, 0xc8398daa
add ecx, 0x47c67256
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10003500
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101d6d64]
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 0x100035fa
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100035f3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100035d9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100035d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100035d9
mov edx, dword [esi]
test edx, edx
jne 0x100035a2
push 0x200
push edx
push dword [0x101e8994]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100035f3
jmp 0x100035cd
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100035cd
shl eax, 3
push eax
push edx
push 0
push dword [0x101e8994]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100035f3
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 0x10003561
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1000363f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1000363f
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 0x10003639
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10003290
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10003606
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1019d133
mov esp, ebp
pop ebp
ret

Function at 0x10003650
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000369e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x1000368e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10003685
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10003662
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x101e8994]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x100036a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x101e89b0]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x100036c0
sub edi, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100036eb
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1000370c
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1000372d
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1000372d
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10003727
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1000372d
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [esi + 0x14]
and bl, 1
mov cl, bl
and al, 0xfd
add cl, cl
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop edi
mov byte [esi + 0x14], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003780
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x101e89b8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10003871
mov eax, dword [0x101e89b0]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x100037c5
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x100037a8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10003871
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.10003500
mov ecx, dword [0x101e89b8]
add esp, 4
cmp esi, ecx
jae 0x10003825
imul edi, esi, 0x2c
mov eax, dword [0x101e89b0]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x1000381a
mov edx, ebx
mov ecx, esi
call fcn.100036a0
mov dword [ebp - 4], eax
test eax, eax
jne 0x10003822
mov ecx, dword [0x101e89b8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x100037f1
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10003871
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10003862
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10003856
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10003835
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x101e8994]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020ce0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101e905c
call fcn.1019d101
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x101aa9a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0xe8], 0
je 0x10020d41
mov dword [ebp - 0xec], 1
jmp 0x10020d4b
mov dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0
je 0x10020d8b
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx]
xor ecx, edx
mov edx, dword [ebp - 0x20]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 8], ecx
jmp 0x10020d1a
mov eax, dword [ebp - 8]
not eax
pop edi
pop esi
pop ebx
add esp, 0xec
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret