joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004f520
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x10062da0
lea ecx, [ebp - 0x18]
push ecx
call fcn.1003b3d0
add esp, 0xc
push eax
lea ecx, [ebp + 8]
call fcn.1003c410
lea ecx, [ebp - 0x18]
call fcn.1003c380
lea ecx, [ebp + 8]
call fcn.1003db60
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp + 8]
call fcn.1003c3e0
mov esp, ebp
pop ebp
ret

Function at 0x100502e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
movzx edx, byte [ecx]
test edx, edx
jne 0x1005031e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov byte [ecx], 1
push 0
push 0
mov edx, dword [ebp - 4]
add edx, 4
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret 4

Function at 0x10052c50
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x88]
call fcn.100576d0
mov eax, dword [ebp + 0xc]
add eax, 0x691
push eax
mov ecx, 0x10073318
call fcn.10057c60
mov cl, byte [eax]
mov byte [ebp - 0x7c], cl
jmp fcn.10196b16

Function at 0x100530d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov dword [ebp - 4], ecx
jmp fcn.101a2638

Function at 0x10053340
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
jmp fcn.101a387b

Function at 0x100535e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov dword [ebp - 0x14], ecx
jmp fcn.101a4b90

Function at 0x10053b60
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
jmp fcn.101bbee4

Function at 0x10053eb0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x10], ecx
jmp fcn.101c0a7c

Function at 0x10054040
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
jmp fcn.101c1322

Function at 0x10054250
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 8], ecx
jmp fcn.101c345c

Function at 0x10054bc0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
jmp fcn.101c3ea9

Function at 0x10054d50
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
jmp fcn.101c6009

Function at 0x10054dd0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
jmp fcn.101c6b45
Function at 0x10054e50
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
jmp fcn.101c738d

Function at 0x10054eb0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [0x10073254], 0
jne 0x10054edc
push 7
mov ecx, 0x1007321c
call fcn.100588e0
mov dword [0x10073254], eax
pushal
push dword [ebp - 4]
call dword [0x10073254]
mov dword [ebp - 8], eax
add esp, 4
popal
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10054f00
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [0x10073258], 0
jne 0x10054f2c
push 8
mov ecx, 0x1007321c
call fcn.100588e0
mov dword [0x10073258], eax
pushal
push dword [ebp - 4]
call dword [0x10073258]
mov dword [ebp - 8], eax
add esp, 4
popal
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10054f90
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
cmp dword [0x10073240], 0
jne 0x10054fb6
push 0xa
mov ecx, 0x1007321c
call fcn.100588e0
mov dword [0x10073240], eax
pushal
lea ecx, [ebp - 0x14]
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea ecx, [eax + 4]
push ecx
push edx
call dword [0x10073240]
add esp, 0xc
popal
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10057e20
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
jmp fcn.101c7b9e

Function at 0x10057e90
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
jmp fcn.101c83bd

Function at 0x10057f00
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
jmp fcn.101c8bdb

Function at 0x100588e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
jmp fcn.101c9d9c

Function at 0x10059680
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x100596b9
pushal
push eax
xor eax, eax
or eax, dword [ebp - 8]
shl eax, 0x10
or eax, 1
mov dword [ebp - 4], eax
pop eax
popal
jmp 0x100596d1
pushal
push eax
mov eax, 0xc0
shl eax, 8
or eax, dword [ebp - 8]
shl eax, 0x10
or eax, 1
mov dword [ebp - 4], eax
pop eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005a610
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 8]
call fcn.1003db60
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005a687
push 0
push 0
push 0
push 2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
push 0xefe
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.1003c3e0
mov al, byte [ebp - 1]
jmp 0x1005a6a0
mov ecx, 0x100733a8
call fcn.1005a710
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.1003c3e0
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x1005a6b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 8], ecx
push str.BugTrace.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [ebp - 4], 0
je 0x1005a6fd
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret

Function at 0x1005a710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [0x100733a8]
mov dword [0x10073350], eax
push 0
push 0
push 0
push 0x1005d9a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x1005aaa0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
jmp fcn.101d3134

Function at 0x1005d2a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push esi
jmp fcn.101e431e

Function at 0x1005d560
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
jmp fcn.101e6c57
Function at 0x1005eb00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xc5
mov dword [ebp - 4], 0
jmp 0x1005eb22
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jge 0x1005eb61
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0xe27337d]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1005eb5c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x1005eb19
mov eax, 1
imul ecx, eax, 0xa
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x101a1ce9
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x101a1c2c
push eax
push edx
push ebx
push ecx
pop ecx
push esi
pop esi
pop ebx
jmp 0x101a1c45
rdtsc
push ebx
pushal
popal
pop ebx
push ecx
pushal
popal
push eax
push edx
rdtsc
pop edx
pop eax
pop ecx
pop edx
pop eax
pushfd
push eax
mov dword [esp], ecx
mov dword [esp], 0x5ffbbf68
xor dword [esp], 0x4bffeed6
push ebx
mov ebx, 0x14044f08
sub dword [esp + 4], 0x7e5e577f
sub dword [esp + 4], ebx
add dword [esp + 4], 0x7e5e577f
pop ebx
push edi
mov dword [esp], 0x3604a11c
shl dword [esp], 4
sub dword [esp], 0xe5ab3720
push edi
mov edi, 0x7ff792a4
and dword [esp + 4], edi
mov edi, dword [esp]
add esp, 4
shl dword [esp], 4
xor dword [esp], 0xa970b047
sub esp, 4
mov dword [esp], edi
push edi
mov edi, 0x35abb300
mov dword [esp + 4], edi
pop edi
mov dword [esp], ecx
mov dword [esp], eax
push eax
mov dword [esp], ecx
mov dword [esp], eax
mov dword [esp], 0x316997e3
mov dword [esp], eax
mov dword [esp], ebx
push dword [esp + 0x10]
push dword [esp]
pop eax
push ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xor ebp, dword [esp]
xor dword [esp], ebp
xor ebp, dword [esp]
pop esp
push dword [esp + 8]
push dword [esp]
pop ebx
push ebx
mov ebx, esp
add ebx, 4
add ebx, 4
xchg dword [esp], ebx
mov esp, dword [esp]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
push dword [esp]
push dword [esp]
mov ebx, dword [esp]
add esp, 4
add esp, 4
add esp, 4
push dword [esp]
mov eax, dword [esp]
add esp, 4
push eax
push esp
pop eax
add eax, 4
add eax, 4
xchg dword [esp], eax
pop esp
jmp fcn.10163c4a
Function at 0x101dc2f9
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor al, 0x24
mov dword [esp], 0x75e9013e
or dword [esp], 0x237b4517
push edx
mov edx, 0x1fdec845
and dword [esp + 4], edx
pop edx
shr dword [esp], 4
inc dword [esp]
add dword [esp], 0x4f7f2024
push edi
mov edi, 0x50fcc693
xor dword [esp + 4], edi
pop edi
push 0x6d7e044b
mov dword [esp], edx
push ebp
mov ebp, 0x1db26f
mov dword [esp + 4], ebp
push dword [esp]
pop ebp
add esp, 4
push esi
mov esi, esp
push edx
mov edx, 4
add esi, edx
mov edx, dword [esp]
add esp, 4
sub esi, 4
xchg dword [esp], esi
mov esp, dword [esp]
mov dword [esp], eax
sub esp, 4
mov dword [esp], edi
mov edi, esp
add edi, 4
push ebp
mov dword [esp], ebx
mov ebx, 4
sub edi, ebx
pop ebx
xchg dword [esp], edi
pop esp
mov dword [esp], ebx
push dword [esp + 0x10]
mov eax, dword [esp]
sub esp, 4
mov dword [esp], eax
mov eax, esp
push ebx
mov ebx, 0x6fff1267
shr ebx, 2
shl ebx, 5
dec ebx
xor ebx, 0x7ff8931b
add eax, ebx
pop ebx
add eax, 4
xchg dword [esp], eax
pop esp
push dword [esp + 8]
push dword [esp]
pop ebx
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
push dword [esp]
push dword [esp]
pop ebx
add esp, 4
push ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
pop esp
push dword [esp]
pop eax
push edx
sub esp, 4
mov dword [esp], esp
add dword [esp], 4
pop edx
add edx, 4
add edx, 4
xchg dword [esp], edx
pop esp
jmp fcn.10163c4a
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x6eb008], 0x8088405
inc edx
mov dword [ebx + 0x6eb008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d254
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d285
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d26d
add dl, dl
jne 0x41d290
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d2e1
xor eax, eax
add dl, dl
jne 0x41d29d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d37e
add dl, dl
jne 0x41d2ac
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2b7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2c2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2cd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d2d7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d27c
mov eax, 1
add dl, dl
jne 0x41d2ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d2e6
sub eax, ebx
mov ebx, 1
jne 0x41d32d
mov ecx, 1
add dl, dl
jne 0x41d313
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d31e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d30a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d27c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d33b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d27c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d39f
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d27c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f3b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x6ce89e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f3ff
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f41e
mov ecx, edx
add ecx, ebx
jmp 0x41f41e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f41e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f490
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f479
test esi, esi
jbe 0x41f490
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f46b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f490
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f448
jmp 0x41f490
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f490
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ce8a5
ret
Function at 0x4205fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x6cfc17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420637
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x420650
lea eax, [ebp - 0x10]
mov edx, dword [0x6ed5f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x420663
lea eax, [ebp - 0x10]
mov edx, dword [0x6ed5f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42066f
adc edx, 0
mov edx, dword [edx*4 + 0x6ec3fc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4207e9
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4207dc
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4207dc
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x42077a
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x42077a
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x42077a
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x42077a
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4207dc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4207dc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4207dc
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4207dc
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420801
inc ebx
cmp ebx, 0x19
jne 0x420629
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cfc1e
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x404800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
mov eax, dword [0x4630d8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x10], 0
call fcn.004151c0
mov ebp, eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.004150b0
push ebp
push esi
mov ecx, eax
mov byte [esp + 0x34], 2
call fcn.004011f0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x2c], 1
call fcn.0040ed80
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.0040ed80
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x24
ret 4
Function at 0x40a750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44991b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4630d8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 8]
mov dword [esp + 0x20], 0
mov ecx, edi
mov dword [esi], vtable.CPBasePath.0
call fcn.0040ed50
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x14]
mov dword [esi + 4], eax
call fcn.00401050
lea edx, [esp + 0x14]
lea ecx, [edi + 4]
push edx
mov byte [esp + 0x24], 2
call fcn.00401b30
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.0040ed80
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040ed80
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
Function at 0x40c560
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4497ee
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4630d8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x20]
call fcn.0040c470
mov esi, eax
push str.CCZipperObjectFactory::MakeObject
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.004010e0
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x34], 1
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x2c], 2
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40c5db
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 7
call fcn.0040ebe0
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.0040ed80
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.0040ed80
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040ed80
xor eax, eax
cmp edi, 0x7a666474
je 0x40c65b
cmp edi, 0x7a666864
jne 0x40c691
push 0x24
call fcn.00428bf5
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x2c], 4
je 0x40c68f
push eax
call fcn.0040c6c0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
push 0x30
call fcn.00428bf5
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x2c], 3
je 0x40c68f
push eax
call fcn.0040d000
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4