joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e001992
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e03da4c]
jne 0x2e00199c
repz ret
jmp fcn.2e027a26

Function at 0x2e003576
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x2e003585
pop dword [ebp - 0x30]
mov eax, 0x2e003585
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x20fdd81c
add dword [ebp - 0x40], 0x2d546d2f
mov dword [ebp - 0x3c], 0xc42e9f8f
sub dword [ebp - 0x3c], 0x91fb534a
mov dword [ebp - 0x38], 0xbf255675
sub dword [ebp - 0x38], 0x72d91247
mov dword [ebp - 0x34], 0x4100c37b
add dword [ebp - 0x34], 0xbeff3c85
lea eax, [ebp - 0x40]
push eax
mov eax, 0x931e58b
sub eax, 0xdb2f354b
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x69ca2b4
sub dword [ebp - 0x40], 0x922a395e
mov dword [ebp - 0x3c], 0xa13adf20
sub dword [ebp - 0x3c], 0x5fce7dab
mov dword [ebp - 0x38], 0xa64115db
add dword [ebp - 0x38], 0xbd2e5691
mov dword [ebp - 0x34], 0x167373f0
sub dword [ebp - 0x34], 0x167373f0
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xc175e183
sub eax, 0x93733147
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x40b01
push 0
call eax
mov ecx, 0x4f33
mov edx, eax
mov ebx, 0xf30e6cdd
add ebx, 0x3af67b23
add ebx, dword [ebp - 0x30]
mov edi, 0xd51b5e6a
sub edi, 0x2eb3792b
sub dword [ebp - 0x1c], esi
mov esi, dword [ebx]
xor dword [ebp - 0x18], edx
sub esi, edi
xor dword [ebp - 0x18], edi
mov dword [edx], esi
mov dword [ebp - 0x28], 0x2746e5c2
add edx, 0xddf60cbd
add edx, 0x2209f347
add ebx, 0x52fbd80d
sub ebx, 0x52fbd809
loop 0x2e00369c
add eax, 0xdabe8213
sub eax, 0xdabd5274
xor ebx, ebx
add ebx, eax
add eax, 0x23837000
sub eax, 0x23836ffb
mov ecx, 0x2e000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x2e010c88
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e028d1f
call fcn.2e001440
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call fcn.2e003576
test ax, ax
je 0x2e010d3c
lea eax, [ebp - 0x14]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e010d3c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
mov edi, str.progid
push edi
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x2e010d30
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.2e003576
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call esi
test eax, eax
jne 0x2e010d24
push dword [ebp - 0x10]
call sub.MSVCR100.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.2e003576
push dword [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1c]
mov eax, esi
call fcn.2e001489
ret
Function at 0x10031370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1003137f
pop dword [ebp - 0x2c]
mov eax, 0x2d8b9b1e
sub eax, 0x1d88879f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x6f8c433d
sub dword [ebp - 0x3c], 0x2139fdf2
mov dword [ebp - 0x38], 0x47687942
add dword [ebp - 0x38], 0xeacad303
mov dword [ebp - 0x34], 0x347d97f4
add dword [ebp - 0x34], 0x17ceac3a
mov dword [ebp - 0x30], 0x4b1bafd3
sub dword [ebp - 0x30], 0x4b1bafd3
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xa6d14654
add eax, 0x6934e9c4
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x5eddb608
add dword [ebp - 0x3c], 0x1594b34e
mov dword [ebp - 0x38], 0xb9b9c644
sub dword [ebp - 0x38], 0x784d64cf
mov dword [ebp - 0x34], 0xf729949c
add dword [ebp - 0x34], 0x6c45d7d0
mov dword [ebp - 0x30], 0x6ff2cedc
sub dword [ebp - 0x30], 0x6ff2cedc
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x31ca2d63
add eax, 0xde3c02bd
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x54131
push 0
call eax
mov ecx, 0x4817
xor esi, esi
add esi, eax
mov edx, 0x3f587805
sub edx, 0x2f4ef205
add edx, dword [ebp - 0x2c]
mov edi, 0x369f73df
sub edi, 0x28c099da
mov ebx, dword [edx]
sub dword [ebp - 0xc], esi
xor ebx, edi
xor dword [ebp - 0x10], ecx
mov dword [esi], ebx
xor dword [ebp - 4], edx
add esi, 4
add edx, 0xf68fb01d
sub edx, 0xf68fb019
loop 0x1003149d
add eax, 0x4e2d6436
sub eax, 0x4e2c5107
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x4aa260b0
add ecx, 0xc55d9f50
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10011023
Capabilities:
Terminate process

Disassembly:
jmp 0x1001cb00
jmp fcn.1001cb30
cmp ecx, dword [0x10021054]
jne 0x1001cb0a
repz ret
jmp 0x100110b9

Function at 0x100196f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100196ff
pop dword [ebp - 0x10]
mov eax, 0x100196ff
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xed9a60e3
add dword [ebp - 0x20], 0x60b7e468
mov dword [ebp - 0x1c], 0x900a5e5e
add dword [ebp - 0x1c], 0xa228ede7
mov dword [ebp - 0x18], 0x3d95092
sub dword [ebp - 0x18], 0xb78d0c64
mov dword [ebp - 0x14], 0xdb50523
sub dword [ebp - 0x14], 0xdb50523
lea eax, [ebp - 0x20]
push eax
mov eax, 0xa62d2290
add eax, 0x69d4ff5c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x7c543ef5
add dword [ebp - 0x20], 0xf81e2a61
mov dword [ebp - 0x1c], 0x611b20d
add dword [ebp - 0x1c], 0x3b5aaf68
mov dword [ebp - 0x18], 0xe94583d1
add dword [ebp - 0x18], 0x7a29e89b
mov dword [ebp - 0x14], 0x90d81283
sub dword [ebp - 0x14], 0x90d81283
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x37feb
push 0
call eax
mov ecx, 0x3c11e8a
sub ecx, 0x3c0d36d
mov ebx, eax
mov edi, 0x2f0416b3
add edi, 0xe0fe334d
add edi, dword [ebp - 0x10]
mov edx, 0x3471a250
mov esi, dword [edi]
xor dword [ebp - 0xc], edi
sub esi, edx
xor dword [ebp - 4], 0x3c89d8a2
mov dword [ebx], esi
xor dword [ebp - 8], 0xa4d326e5
add ebx, 0xb1d07a6
sub ebx, 0xb1d07a2
add edi, 0xef56ea96
sub edi, 0xef56ea92
loop 0x10019811
add eax, 0x39d6fc2b
add eax, 0xc62a231c
mov ebx, eax
add eax, 0xc2b1855a
sub eax, 0xc2b18555
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10004ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, str.SOFTWAREMicrosoftMicrosoft_ReferenceBilinguals_1.0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
push 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x10], 0x104
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10005d7f
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x14]
push ebx
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10004b3f
lea edx, [esp + 0x14]
push 0
push edx
push str.cannot_open_key
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 4
mov edx, dword [ebx]
push ebp
mov ebp, dword [esp + 0x120]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ebp
push ecx
push 0
push 0x1000f218
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004b88
mov edi, 0x1000f218
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 4

Function at 0x1000a0ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000a0fe
pop dword [ebp - 0xc]
mov eax, 0x1000a0fe
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x37996
push 0
mov eax, 0xe7bb60f4
add eax, 0x28455ff0
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xc0e59d9b
add ecx, 0x3f1aac24
mov ebx, eax
mov esi, 0x79bd2b9c
add esi, 0x96442464
add esi, dword [ebp - 0xc]
mov edi, 0x85be71eb
add edi, 0x32fbf7e8
xor dword [ebp - 8], 0xd235c405
mov edx, dword [esi]
mov dword [ebp - 4], 0x6f46e8c3
sub edx, edi
xor dword [ebp - 4], esi
mov dword [ebx], edx
mov dword [ebp - 8], 0x3d69a59
add ebx, 4
add esi, 4
loop 0x1000a158
add eax, 0x7ff55e1b
sub eax, 0x7ff4444c
xor ebx, ebx
add ebx, eax
add eax, 0x5fda0d94
add eax, 0xa025f271
mov ecx, 0xf75239ad
add ecx, 0x18adc653
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x400402b7
Capabilities:
Encode data using xor

Disassembly:
call 0x40040230
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x40040260
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4004027c
xor edx, 0
jmp 0x40040287
xor edx, edx
jmp 0x4004029e
jmp 0x400402aa
xor eax, eax
push 0x8427d7c0
call 0x400402b7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x400402f3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x400402cc
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4004030a
add eax, 0
jno 0x4004030f
add esi, 0
ret 0x10

Function at 0x40041078
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4004109a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4004123c
cmp edi, dword [ebp + 0x10]
jb 0x4004123c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.40040b64
inc edi
jmp 0x40041123
jmp 0x40041130
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40040b64
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40040b64
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x40041184
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x40041168
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.400411b2
add dword [eax], 0x39
jle 0x4004118e
sub al, 0xf5
mov ch, al
call fcn.400411c7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x40042e9f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x40042eb5
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x40042ec6
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.40042f07
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x40045273
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x400451bc
add ebx, 0
push ecx
call 0x400451d1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x735473e2
sub ebx, dword [0x73566c21]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73566c11
call fcn.40040c9b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.400401a9
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4004532f
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4004532f
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x400452e6
mov eax, 1
lock xchg dword [0x73566c1d], eax
push 0x3dd1fc71
call 0x40045273
push esi
add esp, 8
cmp eax, 0
jne 0x4004525c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x40045282
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40045297
cmp ecx, edx
cmp eax, 0
je 0x400452bc
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x400452a6
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.400452d5
dec eax
loope 0x400452d8
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73566c1d], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x4004530c
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40045321
jmp 0x4004532c
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4004521a
Function at 0x4004c394
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4004c66a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73553895
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7354a85b
push 0xffffffffffffffff
call fcn.40043594
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x4004c3fe
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.4004c416
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x4004c65e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4004c632
Function at 0x4005be64
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4005be86
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4005be86
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4005be86
ret
cmp word [ebx + 4], 0x14c
jne 0x4005be86
test word [ebx + 0x16], 2
je 0x4005be86
test word [ebx + 0x16], 0x100
je 0x4005be86
cmp word [ebx + 0x18], 0x10b
jne 0x4005be86
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4005be86
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4005bf12
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4005bea6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40042df1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4005be86
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x4005bf12
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4005be86
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4005be86
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4005be86
ret
cmp word [ebx + 4], 0x14c
jne 0x4005be86
test word [ebx + 0x16], 2
je 0x4005be86
test word [ebx + 0x16], 0x100
je 0x4005be86
cmp word [ebx + 0x18], 0x10b
jne 0x4005be86
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4005be86
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4005bf12
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4005bea6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40042df1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4005be86
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x4005bfc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4005c022
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4005bfc9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4005bfd8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40461c7b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4005c029
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.40042e9f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4005c0c8
add edi, 4
add eax, 2
dec ecx
jne 0x4005c00e
call 0x4005c075
loope 0x4005c06b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4005c0c5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4005c0d6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4005c089
cmp eax, ecx
ja 0x4005c089
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4005c113
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4005c109
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4004337e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4005bfd8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4005c022
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4005bfc9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4005bfd8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40461c7b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4005c029
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.40042e9f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4005c0c8
add edi, 4
add eax, 2
dec ecx
jne 0x4005c00e
call 0x4005c075
loope 0x4005c06b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4005c0c5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4005c0d6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4005c089
cmp eax, ecx
ja 0x4005c089
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4005c113
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4005c109
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4004337e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]