joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4184ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4184bc
pop dword [ebp - 0x38]
mov eax, 0x7343f76b
add eax, 0x8cfd8d51
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x50b11
push 0
mov eax, 0xc27bdfab
add eax, 0x3dc8d311
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xd7f31e
add ecx, 0xff285804
xor edx, edx
add edx, eax
mov edi, 0xa1877d0e
sub edi, 0xa13eff0e
add edi, dword [ebp - 0x38]
mov esi, 0x3109dc4b
add esi, 0x31161001
xor dword [ebp - 0x10], 0x7a69a78b
mov ebx, dword [edi]
mov dword [ebp - 0x24], 0xbc11ad81
xor ebx, esi
mov dword [edx], ebx
sub dword [ebp - 0x34], 0x969d26b5
add edx, 4
add edi, 0x7bccc613
sub edi, 0x7bccc60f
loop 0x41851d
add eax, 0x6aadcd10
sub eax, 0x6aacadb5
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x409e9b
pop dword [ebp - 0x18]
mov eax, 0x409e9b
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xfe0a01f2
add dword [ebp - 0x28], 0x50484359
mov dword [ebp - 0x24], 0x9317a759
add dword [ebp - 0x24], 0x9f1ba4ec
mov dword [ebp - 0x20], 0x2bcf3910
add dword [ebp - 0x20], 0x207d0b1e
mov dword [ebp - 0x1c], 0xc5687012
sub dword [ebp - 0x1c], 0xc5687012
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x73b0ece3
sub dword [ebp - 0x28], 0xff3e838d
mov dword [ebp - 0x24], 0xbfe0b298
add dword [ebp - 0x24], 0x818baedd
mov dword [ebp - 0x20], 0x72b10f96
add dword [ebp - 0x20], 0xf0be5cd6
mov dword [ebp - 0x1c], 0x47bc3897
sub dword [ebp - 0x1c], 0x47bc3897
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x3f83e8e8
add eax, 0xc0bce764
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc7a
push 0
call eax
mov ecx, 0x5493
mov esi, eax
mov edx, 0x1589ad92
add edx, 0xeab8026e
add edx, dword [ebp - 0x18]
mov ebx, 0xcb204342
sub ebx, 0x6c4a4aad
add dword [ebp - 0x14], 0xa5a99f28
mov edi, dword [edx]
xor dword [ebp - 4], 0x9c157e9d
xor edi, ebx
add dword [ebp - 8], 0x69d603bf
mov dword [esi], edi
xor dword [ebp - 4], edx
add esi, 0xf21b4023
sub esi, 0xf21b401f
add edx, 0x153c82ed
sub edx, 0x153c82e9
loop 0x409fad
add eax, 0x1451f
mov ebx, eax
add eax, 5
mov ecx, 0x4b9af74e
add ecx, 0xb4a508b2
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x382e30a9
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, str.fef
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1b260dd6
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x10010dc
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0x1002040
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x100110e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2713
call fcn.01001439
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x10010ac
jmp 0x1001121
cmp al, 0x73
jne 0x1001142
xor ebx, ebx
inc ebx
push esi
push edi
push dword [ebp + 8]
call fcn.01001475
cmp eax, 0xffffffff
jne 0x100111a
mov eax, dword [0x1002004]
cmp dword [edi + eax*4], 0
je 0x1001154
push 0x2714
jmp 0x1001147
push 0x2710
push 2
call fcn.010013ca
pop ecx
pop ecx
push 1
jmp 0x10011d0
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jge 0x100117d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2712
call fcn.01001439
jmp 0x1001150
test ebx, ebx
je 0x1001199
lea eax, [ebp - 0x400]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001199
and byte [eax], 0
lea eax, [ebp - 0x400]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011a2
sub eax, edx
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.msvcrt.dll_puts]
pop ecx
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x547260
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x4f000]
push edi
jmp 0x54727a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x547281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x547270
mov eax, 1
add ebx, ebx
jne 0x547293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5472a4
jne 0x5472c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5472c3
dec eax
add ebx, ebx
jne 0x5472b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x547288
add ebx, ebx
jne 0x5472bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x547315
xor ecx, ecx
sub eax, 3
jb 0x5472db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54734a
sar eax, 1
mov ebp, eax
jmp 0x5472e6
add ebx, ebx
jne 0x5472e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5472b4
inc ecx
add ebx, ebx
jne 0x5472f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5472b4
add ebx, ebx
jne 0x547301
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5472f6
jne 0x547312
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5472f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x547334
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x547326
jmp 0x547276
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x547334
add edi, ecx
jmp 0x547276
pop esi
mov edi, esi
mov ecx, 0xa80
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x547352
cmp byte [edi], 5
jne 0x547352
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 0x547357
lea edi, [esi + 0x13b000]
mov eax, dword [edi]
or eax, eax
je 0x5473cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x149334]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1493ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x547384
mov ecx, edi
jns 0x5473b3
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 + 0x1493f4]
or eax, eax
je 0x5473c9
mov dword [ebx], eax
add ebx, 4
jmp 0x5473a1
call dword [esi + 0x1493f0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x547400
cmp al, 0xef
ja 0x5473f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5473d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5473e2
mov ebp, dword [esi + 0x1493f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x547434
sub esp, 0xffffff80
jmp 0x411ab5
Function at 0x812878
Capabilities:
Encode data using xor

Disassembly:
pop ebp
loope 0x8128be
inc edx
inc ebx
in al, 0x17
pop esp
aas
sahf
push edx
pop eax
sub ecx, dword [esp + edx*2 + 0x4d]
sub al, 0x86
inc esp
jns 0x8128a6
mov eax, dword [0x1ece7872]
adc ch, bl
jmp 0x812882
add al, bl
add eax, 0
add byte [eax - 0x18], ah
add byte [eax], al
add byte [eax], al
jmp 0x812882
pushal
call 0x812888
pop ebp
sub ebp, 0x10
sub ebp, 0x412878
jmp 0x81289e
mov eax, 0x412878
add eax, ebp
add eax, 0x4c
ror byte [eax + eax], 0
mov ecx, 0x5ee
mov edx, 0x8af8b388
xor byte [eax], dl
inc eax
dec ecx
jne 0x8128b5
invalid
jmp 0x8128c8
add eax, dword [ebp + 3]
add dword [eax + ecx*4 + 0x49098888], esi
jo 0x81285c
mov byte [eax - 0x70cfba75], cl
mov byte [eax - 0x775fcd78], cl
mov byte [eax + 0x408b6a7f], cl
add ecx, dword [ecx]
test byte [eax + 0x4d8b8888], cl
fcomp st(0)
loopne 0x8128f6
fsub st(0)
add al, 0xf4
xchg byte [eax - 0x45dc9b20], cl
mov byte [ecx - 0xf1f535c], cl
hlt
and edi, dword fs:[edx - 0x535b7678]
loopne 0x8128ef
inc esi
xchg esi, eax
lcall 0x6188, 0x88888d60
mov byte [0xdd888888], al
add eax, 0x388ace4
or eax, 0x88888880
add ebx, dword [0x88888884]
add eax, dword [0x88888898]
dec ecx
popal
mov bh, byte [ecx - 0x73b5f476]
rol dword [edi + 0x77777c0d], 0x77
aad 0x4a
test byte [eax - 0x7353fbfd], cl
mov byte [eax - 0xbfb1f78], cl
xchg byte [eax - 0x45dc9b20], cl
mov byte [ecx - 0x13fa535c], cl
lodsb al, byte [esi]
je 0x812950
test byte [eax - 0x77777773], ch
popal
lds ecx, [edx - 0x13fa7778]
lodsb al, byte [esi]
lodsb al, byte [esi]
pushal
lea ecx, [eax - 0x3a9e7778]
mov cl, byte [eax - 0x5313fa78]
je 0x812961
movsb byte es:[edi], byte [esi]
lodsb al, byte [esi]
add eax, 0x7788ace4
std
test byte [edi - 3], dh
and byte [eax - 0x10], 0x88
mov byte [eax - 0x777fcafd], cl
mov byte [eax - 0x351986f7], cl
mov al, 0x44
or dword [ecx - 0x1a], edi
retf 0x44b0
Function at 0x401037
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x812618]
mov dword [ebp - 0x28], eax
mov eax, dword [0x81261c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00401030
mov eax, dword [0x812620]
add dword [ebp - 0x14], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x812624]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x1e031c4], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x1e031c4]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x1e031c0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ed
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x1e03114], ebx
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1e031bc], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1e031c4], 0xc
mov dword [ebp - 4], eax
jne 0x40114f
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x61c88647
sub edi, eax
dec dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x401089
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x404b17
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x81133c]
jne 0x404b21
repz ret
jmp fcn.0040acf6

Function at 0x40bd24
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c1c
and dword [ebp - 4], 0
cmp dword [0x81b9f4], 0
mov ebx, eax
jne 0x40bdd5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40be86
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40be86
push eax
call fcn.00404baa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81b9f4], eax
call esi
push eax
call fcn.00404baa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81b9f8], eax
call esi
push eax
call fcn.00404baa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81b9fc], eax
call esi
push eax
call fcn.00404baa
pop ecx
mov dword [0x81ba04], eax
test eax, eax
je 0x40bdd5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404baa
pop ecx
mov dword [0x81ba00], eax
mov eax, dword [0x81ba00]
cmp eax, ebx
je 0x40be2d
cmp dword [0x81ba04], ebx
je 0x40be2d
push eax
call fcn.00404c25
push dword [0x81ba04]
mov esi, eax
call fcn.00404c25
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40be2d
test edi, edi
je 0x40be2d
call esi
test eax, eax
je 0x40be24
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40be24
test byte [ebp - 0xc], 1
jne 0x40be2d
or dword [ebp + 0x10], 0x200000
jmp 0x40be66
mov eax, dword [0x81b9f8]
cmp eax, ebx
je 0x40be66
push eax
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be66
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40be66
mov eax, dword [0x81b9fc]
cmp eax, ebx
je 0x40be66
push eax
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be66
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81b9f4]
call fcn.00404c25
pop ecx
test eax, eax
je 0x40be86
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40be88
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100068d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x1005978c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x1005d097
call fcn.1002689d
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002687a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1002a9f0
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002687a
push edx
mov ecx, ebp
push eax
lea edx, [0x10006978]
call fcn.10026824
pop eax
pop edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100268cf
add esp, 0x10
cmp ebp, esp
call fcn.1002687a
mov esp, ebp
pop ebp
ret

Function at 0x1000b590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov ecx, 0x1005d041
call fcn.1002689d
mov esi, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea ecx, [ebp + 8]
call fcn.1000f300
mov ecx, eax
call fcn.10003af0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002687a
test eax, eax
je 0x1000b5e9
mov dword [ebp - 8], 1
jmp 0x1000b5f0
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1002687a
mov esp, ebp
pop ebp
ret

Function at 0x1000fd40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x1005978c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x1005d097
call fcn.1002689d
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002687a
mov eax, dword [ebp + 0xc]
push eax
push 0x90
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002af70
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1002687a
push edx
mov ecx, ebp
push eax
lea edx, [0x1000fde8]
call fcn.10026824
pop eax
pop edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100268cf
add esp, 0x10
cmp ebp, esp
call fcn.1002687a
mov esp, ebp
pop ebp
ret
Function at 0x10010b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov ecx, 0x1005d0b9
call fcn.1002689d
mov eax, dword [0x1005c0bc]
mov dword [ebp - 4], eax
jmp 0x10010b41
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10010b5a
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10010b58
mov eax, dword [ebp - 4]
jmp 0x10010bde
jmp 0x10010b39
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1002687a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10010bdb
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10010b9d
mov edx, dword [ebp - 4]
mov eax, dword [0x1005c0bc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1005c0bc], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1002687a
mov esp, ebp
pop ebp
ret
Function at 0x100123a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov ecx, 0x1005d0d1
call fcn.1002689d
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10011ff0
add esp, 4
test eax, eax
jne 0x10012406
mov dword [ebp - 4], 9
jmp 0x10012493
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x10012493
mov dword [ebp - 8], 0
jmp 0x10012424
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x10012493
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1002687a
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10012491
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1002687a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.10012a50
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1002687a
jmp 0x1001241b
mov eax, dword [ebp - 4]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.1002687a
mov esp, ebp
pop ebp
ret

Function at 0x10012d40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov ecx, 0x1005d0d1
call fcn.1002689d
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10012df5
mov dword [ebp - 4], 0
jmp 0x10012d7d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x10012dd8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1002687a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10012dd6
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1002687a
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1002687a
jmp 0x10012d74
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1005b008]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1002687a
pop esi
add esp, 8
cmp ebp, esp
call fcn.1002687a
mov esp, ebp
pop ebp
ret