joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5b50
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4c5b8b
mov edi, dword [esp + 0x14]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4c5b83
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4c5b8d
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4c5b73
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x4c5c60
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4c5c71
xor eax, eax
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4c5c8c
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
ret
Function at 0x4c86da
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
sub esp, 0x20
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [0x510ad0]
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor esi, esi
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
call ebx
mov ebp, eax
call fcn.004bc8fa
mov dword [esp + 0x10], eax
cmp dword [0x521798], esi
jne 0x4c87cf
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4c875b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c88b5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4c88b5
push 0x4e7e10
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c88b5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x521798], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x52179c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5217a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5217a8], eax
test eax, eax
je 0x4c87cb
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5217a4], eax
mov edi, dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c87f2
test edi, edi
je 0x4c87e4
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x10], esi
je 0x4c8808
push 4
pop eax
jmp 0x4c88b7
cmp dword [esp + 0x10], esi
je 0x4c8808
push dword [0x521798]
call dword [0x510ad4]
push 3
jmp 0x4c87ec
mov eax, dword [0x5217a4]
mov ebx, dword [0x510ad4]
cmp eax, ebp
je 0x4c886a
cmp dword [0x5217a8], ebp
je 0x4c886a
push eax
call ebx
push dword [0x5217a8]
mov dword [esp + 0x14], eax
call ebx
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c886a
test edi, edi
je 0x4c886a
call eax
test eax, eax
je 0x4c885e
lea ecx, [esp + 0x1c]
push ecx
push 0xc
lea ecx, [esp + 0x28]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4c885e
test byte [esp + 0x28], 1
jne 0x4c886a
mov edi, dword [esp + 0x3c]
or edi, 0x200000
jmp 0x4c889b
mov eax, dword [0x52179c]
cmp eax, ebp
je 0x4c8897
push eax
call ebx
test eax, eax
je 0x4c8897
call eax
mov esi, eax
test esi, esi
je 0x4c8897
mov eax, dword [0x5217a0]
cmp eax, ebp
je 0x4c8897
push eax
call ebx
test eax, eax
je 0x4c8897
push esi
call eax
mov esi, eax
mov edi, dword [esp + 0x3c]
push dword [0x521798]
call ebx
test eax, eax
je 0x4c88b5
push edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push esi
call eax
jmp 0x4c88b7
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x20
ret
Function at 0x4c9502
Capabilities:
Clear file content

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
push ebp
push esi
push edi
push 1
push 0
push 0
push ebx
movlpd qword [esp + 0x30], xmm0
call fcn.004c3f8d
mov ecx, eax
mov dword [esp + 0x2c], eax
and ecx, edx
mov dword [esp + 0x28], edx
add esp, 0x10
cmp ecx, 0xffffffff
je 0x4c9593
push 2
push 0
push 0
push ebx
call fcn.004c3f8d
mov ecx, eax
add esp, 0x10
and ecx, edx
cmp ecx, 0xffffffff
je 0x4c9593
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
sub esi, eax
sbb edi, edx
js 0x4c962c
jg 0x4c956a
test esi, esi
je 0x4c962c
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x4c95a2
call fcn.004bc77f
mov dword [eax], 0xc
call fcn.004bc77f
mov eax, dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x8000
push ebx
call fcn.004c96e7
pop ecx
pop ecx
mov dword [esp + 0x10], eax
test edi, edi
jl 0x4c95c8
jg 0x4c95c1
cmp esi, 0x1000
jb 0x4c95c8
mov eax, 0x1000
jmp 0x4c95ca
mov eax, esi
push eax
push ebp
push ebx
call fcn.004c34a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4c95f1
cdq
sub esi, eax
sbb edi, edx
js 0x4c95e7
jg 0x4c95b3
test esi, esi
jne 0x4c95b3
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x4c960b
call fcn.004bc74e
cmp dword [eax], 5
jne 0x4c9606
call fcn.004bc77f
mov dword [eax], 0xd
or edi, 0xffffffff
or ebp, edi
push dword [esp + 0x10]
push ebx
call fcn.004c96e7
pop ecx
pop ecx
push dword [esp + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c9691
test edi, edi
jg 0x4c969c
jl 0x4c9636
test esi, esi
jae 0x4c969c
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
call fcn.004c3f8d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c9593
push ebx
call fcn.004b70be
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov edi, eax
mov ebp, edx
mov ecx, edi
and ecx, ebp
cmp ecx, 0xffffffff
jne 0x4c969c
call fcn.004bc77f
mov dword [eax], 0xd
call fcn.004bc74e
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
and edi, ebp
cmp edi, 0xffffffff
je 0x4c9593
push 0
push dword [esp + 0x1c]
push dword [esp + 0x24]
push ebx
call fcn.004c3f8d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c9593
xor eax, eax
jmp 0x4c959a
Function at 0x4071d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0xffff
mov word [ebp - 0xc], ax
push 0x4f5000
call fcn.0040104b
mov word [ebp - 4], ax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [0x492d84]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
test edx, edx
je 0x407262
mov ecx, dword [0x492d30]
mov edx, dword [ebp - 8]
imul edx, dword [ecx + 0x64]
add edx, dword [0x492d80]
mov dword [ebp - 0x10], edx
movzx eax, word [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
xor eax, edx
movzx ecx, word [ebp - 0xc]
and eax, ecx
jne 0x407260
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 2]
mov dword [0x489354], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 6]
mov dword [0x492e48], edx
mov eax, dword [ebp - 0x10]
add eax, 0xa
mov dword [ebp - 0x14], eax
jmp 0x407262
jmp 0x407204
cmp dword [ebp - 0x14], 0
jne 0x40728a
movzx ecx, word [ebp - 0xc]
cmp ecx, 0xffff
jne 0x40727f
mov edx, 0x3ff
mov word [ebp - 0xc], dx
jmp 0x407285
xor eax, eax
mov word [ebp - 0xc], ax
jmp 0x4071fb
mov ecx, dword [ebp - 0x14]
mov dword [0x489360], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
push eax
push 0x4f5000
call fcn.00401046
push 0xfffffffffffffffe
push 0x489380
call fcn.0040103c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x44b2d8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x492d68]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x492d6c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x40730d
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0
je 0x4072ff
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
push ecx
call fcn.0040103c
mov edx, dword [ebp - 0x20]
add edx, 0x4018
mov dword [ebp - 0x20], edx
jmp 0x4072d5
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2e7a34cc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x13061f6f
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x406243
pop dword [ebp - 0x14]
mov eax, 0x406243
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xdb1c2e3e
add dword [ebp - 0x24], 0x7336170d
mov dword [ebp - 0x20], 0x7593cc9a
add dword [ebp - 0x20], 0xbc9f7fab
mov dword [ebp - 0x1c], 0x33a3f0c0
add dword [ebp - 0x1c], 0x18a8536e
mov dword [ebp - 0x18], 0xf4cdae31
sub dword [ebp - 0x18], 0xf4cdae31
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x45ff0aca
add dword [ebp - 0x24], 0x2e735e8c
mov dword [ebp - 0x20], 0xd2bf1592
add dword [ebp - 0x20], 0x6ead4be3
mov dword [ebp - 0x1c], 0x90818787
add dword [ebp - 0x1c], 0xd2ede4e5
mov dword [ebp - 0x18], 0xa9f2c16b
sub dword [ebp - 0x18], 0xa9f2c16b
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x413159db
sub eax, 0x40f0d8db
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3964f
push 0
call eax
mov ecx, 0xfa63ab02
sub ecx, 0xfa635986
mov edi, eax
mov ebx, 0x4c5e3d91
sub ebx, 0x4c175991
add ebx, dword [ebp - 0x14]
mov edx, 0x313ff471
sub dword [ebp - 0xc], 0xd3751bd1
mov esi, dword [ebx]
xor dword [ebp - 0xc], edi
add esi, edx
add dword [ebp - 0xc], 0x9f883f45
mov dword [edi], esi
mov dword [ebp - 8], 0xe19d1f36
add edi, 0xb1ce9379
sub edi, 0xb1ce9375
add ebx, 0x5ee856f3
add ebx, 0xa117a911
loop 0x406355
add eax, 0x9589381c
sub eax, 0x9587ff59
mov ebx, eax
add eax, 0xcf9ea083
sub eax, 0xcf9ea07e
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0xd10058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d101a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd1007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd1006a
add dl, dl
jne 0xd10089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd100dc
xor eax, eax
add dl, dl
jne 0xd10096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd1017d
add dl, dl
jne 0xd100a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd100b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd100bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd100c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd100d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd10075
mov eax, 1
add dl, dl
jne 0xd100ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd100f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd100e1
sub eax, ebx
mov ebx, 1
jne 0xd10128
mov ecx, 1
add dl, dl
jne 0xd1010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd10119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd10105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd10075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd1013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd1014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd10136
cmp eax, 0x7d00
jae 0xd1016d
cmp eax, 0x500
jb 0xd10168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd10075
cmp eax, 0x7f
ja 0xd10170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd10075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd1019e
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 0xd10075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1001224e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001225d
pop dword [ebp - 0x28]
mov eax, 0xd5085ea2
add eax, 0x3af8c3bb
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x48b44d2a
sub dword [ebp - 0x38], 0xfa6207df
mov dword [ebp - 0x34], 0xa689f120
sub dword [ebp - 0x34], 0x7456a4db
mov dword [ebp - 0x30], 0xd505a2bb
sub dword [ebp - 0x30], 0x88b95e8d
mov dword [ebp - 0x2c], 0x87284aac
add dword [ebp - 0x2c], 0x78d7b554
lea eax, [ebp - 0x38]
push eax
mov eax, 0x228a20c1
add eax, 0xed772fd7
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xf66b8f2f
sub dword [ebp - 0x38], 0x81f925d9
mov dword [ebp - 0x34], 0x95fa0c24
add dword [ebp - 0x34], 0xab725551
mov dword [ebp - 0x30], 0x1be43d23
sub dword [ebp - 0x30], 0xb874d0b7
mov dword [ebp - 0x2c], 0xd95ac8a3
sub dword [ebp - 0x2c], 0xd95ac8a3
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x6f868632
sub eax, 0x5f853596
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x34626
push 0
call eax
mov ecx, 0x97092e28
add ecx, 0x68f70913
mov esi, eax
mov edi, 0x14db4b46
sub edi, 0x4d72f46
add edi, dword [ebp - 0x28]
mov edx, 0x94070bcb
sub edx, 0x40ce69a9
sub dword [ebp - 4], 0x53801ac4
mov ebx, dword [edi]
sub ebx, edx
xor dword [ebp - 4], 0x76d65dec
mov dword [esi], ebx
sub dword [ebp - 0x14], 0x62d12657
add esi, 4
add edi, 4
loop 0x1001237f
add eax, 0x3bff88b8
add eax, 0xc4014707
mov ebx, eax
add eax, 0x47efab95
add eax, 0xb8105470
mov ecx, 0x8150c99
add ecx, 0x7eaf367
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x403719
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4037cd
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004036a9
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4037a6
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4037d9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x4037f4
test ebp, ebp
je 0x4037f4
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4037fc
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x40383c
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x403898
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x403893
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40387e
test dl, dl
je 0x40387a
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40387e
add ecx, 2
add eax, 2
test dl, dl
jne 0x40385e
xor eax, eax
jmp 0x403883
sbb eax, eax
or eax, 1
test eax, eax
je 0x4038a2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x40384b
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4038b9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00403719
test eax, eax
jne 0x4038d1
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.004037d9
mov esi, eax
test esi, esi
jne 0x403907
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x403921
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x403a19
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00403719
mov esi, eax
test esi, esi
jne 0x403a37
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.004037d9
mov dword [esp + 0x18], eax
test eax, eax
je 0x403a2f
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.004037d9
mov dword [esp + 0x34], eax
test eax, eax
je 0x403a2f
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.004037d9
mov dword [esp + 0x28], eax
test eax, eax
je 0x403a2f
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.004037d9
mov dword [esp + 0x30], eax
test eax, eax
je 0x403a2f
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x403bfe
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x403bfe
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x403b61
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x403be2
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x403b84
movzx esi, ax
jmp 0x403b89
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x403ba8
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x403bb7
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x403c0b
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x403b79
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x403b3e
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x403c34
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x403c34
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x403c19
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret