joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4335e1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.0046c960
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
mov ebx, 0x1f8
push eax
mov dword [ebp - 0x318], ebx
call fcn.0046c960
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x43364e
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret

Function at 0x4336e9
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43373a
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x10], 0
pop ebx
je 0x43374a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret

Function at 0x4342e7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
xor eax, eax
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
push edi
push 5
mov edi, ecx
pop ecx
cmovne eax, ecx
push eax
push dword [edi + 8]
mov dword [ebp + 8], eax
call esi
push str._Checkbox_Stub_
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetPropW]
push 0
push eax
call esi
mov esi, dword [edi + 0x14]
mov byte [edi + 0x48], bl
mov ebx, dword [ebp + 8]
push ebx
cmp esi, dword [edi + 0x18]
je 0x43433a
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x14
jmp 0x434327
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x436cb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
add ecx, 0x18
call fcn.0040cb09
call fcn.00430a1c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x43a21c
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
mov edi, ecx
call fcn.0043d27f
mov edx, eax
xor esi, esi
pop ecx
test edx, edx
je 0x43a237
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x43a239
mov edx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push edx
push 0x40c109
mov dword [edx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [edx + 4], eax
call fcn.0046aaf9
push 8
call fcn.0043d27f
mov ecx, eax
add esp, 0x1c
test ecx, ecx
je 0x43a26d
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x43a26f
mov ecx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push ecx
push 0x40c0e1
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [ecx + 4], eax
call fcn.0046aaf9
add esp, 0x18
pop edi
pop esi
ret

Function at 0x43a292
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ecx + 0x98]
cmp byte [eax + 0x1086], 0
je 0x43a2b5
cmp dword [eax + 0x10ec], 0
jne 0x43a2b5
mov ecx, dword [ecx + 0x9c]
jmp fcn.00436cb0
ret

Function at 0x43a7ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49086f
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x8c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x8e0]
mov dword fs:[0], eax
mov edi, ecx
and dword [esp + 0x18], 0
mov esi, 0x7d2
mov ecx, dword [edi + 0x98]
call fcn.00406f28
mov dword [esp + 0x14], eax
test eax, eax
je 0x43a8f2
cmp eax, 4
jne 0x43a8f7
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x304]
push eax
call fcn.0042d64c
and dword [esp + 0x8e8], 0
xor ebx, ebx
inc ebx
cmp dword [eax + 0x1bc], 0
mov dword [esp + 0x18], ebx
jbe 0x43a872
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x1c]
push eax
call fcn.0042d64c
push 3
pop ebx
mov byte [esp + 0x13], 1
cmp dword [eax + 0x224], 0
je 0x43a877
mov byte [esp + 0x13], 0
test bl, 2
je 0x43a888
lea ecx, [esp + 0x1c]
and ebx, 0xfffffffd
call fcn.0040420a
or dword [esp + 0x8e8], 0xffffffff
test bl, 1
je 0x43a8a1
lea ecx, [esp + 0x304]
call fcn.0040420a
cmp byte [esp + 0x13], 0
je 0x43a8e7
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x5ec]
push eax
call fcn.0042d64c
add eax, 0x1c4
cmp dword [eax + 0x14], 8
jb 0x43a8c8
mov eax, dword [eax]
push 1
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x5ec]
call fcn.0040420a
mov eax, dword [esp + 0x14]
mov esi, 0x7d1
jmp 0x43a8f7
mov esi, 0x7d0
push eax
push esi
push 0x401
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x8e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c8]
xor ecx, esp
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret
Function at 0x43af83
Capabilities:
Get graphical window text
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490a24
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
test edi, edi
je 0x43afe7
imul eax, eax, 0x64
xor edx, edx
div edi
mov ebx, eax
jmp 0x43afea
push 0x64
pop ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x402
push dword [ecx + 0x34]
call esi
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.00405f75
and dword [esp + 0x178], 0
lea ecx, [esp + 0x68]
push 0x4a6cfc
mov edx, eax
call fcn.0040ed8a
pop ecx
mov ebx, dword [esp + 0x1c]
mov edx, eax
mov byte [esp + 0x178], 1
lea ecx, [ebx + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040ed62
pop ecx
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.0040513f
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 4
call fcn.0040513f
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push 0
push 0xc
push dword [ebx + 0x30]
call esi
push ecx
push str.Downloaded
lea ecx, [esp + 0xd4]
call fcn.00411172
push dword [esp + 0x14]
lea edx, [esp + 0xd0]
mov byte [esp + 0x17c], 5
lea ecx, [esp + 0x104]
call fcn.004225d7
pop ecx
add eax, 0x18
mov byte [esp + 0x178], 6
push eax
lea ecx, [esp + 0x24]
call fcn.00404e91
lea ecx, [esp + 0x100]
call fcn.00411302
lea ecx, [esp + 0xcc]
mov byte [esp + 0x178], 9
call fcn.00411302
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push 0
push dword [esp + 0x1c]
call fcn.00424533
pop ecx
pop ecx
push 0xffffffffffffffff
mov byte [esp + 0x17c], 0xa
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00405282
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 9
call fcn.0040513f
push ecx
push str._from
lea ecx, [esp + 0xa0]
call fcn.00411172
push dword [esp + 0x14]
lea edx, [esp + 0x9c]
mov byte [esp + 0x17c], 0xb
lea ecx, [esp + 0x138]
call fcn.004225d7
pop ecx
push 0xffffffffffffffff
push 0
add eax, 0x18
mov byte [esp + 0x180], 0xc
push eax
lea ecx, [esp + 0x2c]
call fcn.00405282
lea ecx, [esp + 0x134]
call fcn.00411302
lea ecx, [esp + 0x98]
mov byte [esp + 0x178], 9
call fcn.00411302
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push 0
push edi
call fcn.00424533
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
mov byte [esp + 0x17c], 0xd
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00405282
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.0040513f
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push edi
push 0xc
push dword [ebx + 0x38]
call esi
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.0040513f
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.0040513f
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43c6c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1f4
lea eax, [ebp - 0x314]
mov esi, ecx
push 0
push eax
call fcn.0046c960
mov edi, 0x114
mov dword [ebp - 0x318], 0x1f8
push edi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0046c960
add esp, 0x18
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x43c72e
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
neg esi
push eax
mov dword [ebp - 0x180], esi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret
Function at 0x4413ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x441432
call fcn.00451827
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x441432
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44144e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043ce68
mov ebx, eax
test edi, edi
je 0x44144c
test esi, esi
je 0x44144c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x445f39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00451827
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x445f70
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00445f91
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47c692
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004713fe
mov dword [ebp - 0x14], eax
cmp dword [0x4c34ec], esi
jne 0x47c785
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47c712
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47c865
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47c865
push 0x49c170
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47c865
push eax
call ebx
push 0x49c17c
push edi
mov dword [0x4c34ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x49c18c
push edi
mov dword [0x4c34f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c34f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c34fc], eax
test eax, eax
je 0x47c782
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c34f8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47c7aa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47c79d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47c7bf
push 4
pop eax
jmp 0x47c867
cmp dword [ebp - 0x14], esi
je 0x47c7bf
push dword [0x4c34ec]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47c7a4
mov eax, dword [0x4c34f8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47c81d
cmp dword [0x4c34fc], edi
je 0x47c81d
push eax
call ebx
push dword [0x4c34fc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47c81d
test eax, eax
je 0x47c81d
call ecx
test eax, eax
je 0x47c812
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47c812
test byte [ebp - 8], 1
jne 0x47c81d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47c84d
mov eax, dword [0x4c34f0]
cmp eax, edi
je 0x47c84a
push eax
call ebx
test eax, eax
je 0x47c84a
call eax
mov esi, eax
test esi, esi
je 0x47c84a
mov eax, dword [0x4c34f4]
cmp eax, edi
je 0x47c84a
push eax
call ebx
test eax, eax
je 0x47c84a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c34ec]
call ebx
test eax, eax
je 0x47c865
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47c867
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a2b4
mov esp, ebp
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cf44
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 0x41cf75
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf5d
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfd1
xor eax, eax
add dl, dl
jne 0x41cf8d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d06e
add dl, dl
jne 0x41cf9c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfbd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cfc7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf6c
mov eax, 1
add dl, dl
jne 0x41cfdf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfd6
sub eax, ebx
mov ebx, 1
jne 0x41d01d
mov ecx, 1
add dl, dl
jne 0x41d003
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d00e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cffa
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d034
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d03f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d02b
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 0x41cf6c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d08f
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 0x41cf6c
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 0x41f0a0
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 0x5a958e
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 0x41f0ef
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 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
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 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
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 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
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 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
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 0x5a9595
ret
Function at 0x4202d8
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 0x5aa8f3
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 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x5c754c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x5c754c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x5c6378]
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 0x4204c5
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.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
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.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
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.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
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 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
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.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
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 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aa8fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4681ec
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00468063

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 0x613671
Capabilities:
Encode data using xor

Disassembly:
xor byte [edi + edi*2 + 0x6593046], 0x6a
xor esp, dword [esi - 0x5eeca136]
popal
xchg edx, eax
and byte [eax - 0x74], dl
outsd dx, dword [esi]
out 0x41, eax
invalid
xor dl, dl
jbe 0x613621
fild qword [ecx - 0x4f8f7e01]
and dl, byte [edx - 0x43da7bca]
add dword [eax + 0x53], edx
pop esp
xchg dword [ebp + 0x23], eax
push 0xffffffffffffffeb
out dx, eax
push eax
xchg esp, eax
stosb byte es:[edi], al
add al, 2
das
xlatb
mov al, byte [0x59a5f3d0]
invalid

Function at 0x6327f1
Capabilities:
Encode data using xor

Disassembly:
call 0x2a0ce4e5
cmp esp, dword [ecx - 0x3e]
stosb byte es:[edi], al
dec esp
adc esp, dword [edx + 0x20]
hlt
jno 0x632846
imul esp, dword [ebx + 0x68e8c6f9], 0xb
and esp, dword [eax - 0x7dbd244d]
inc ebp
mov esp, edx
mov ebx, 0xd300666a
push 0x66
add bl, dl
cdq
adc ebx, dword [esi - 0x47]
xor byte [edi - 0x80], dl
mov bl, 0x43
loope 0x632804
int 0x56
in al, 0xc7
mov ecx, dword [ebx]
loop 0x6327bb
xchg esp, eax
mov dh, bl
xchg ecx, eax
imul ecx, dword [edx + 0x100e5f96], 0xb2bd3fb8
xor ebx, dword [ebx]
cmp byte [ebx], dl
adc dword [esi + ebp*8], esi
xchg esi, eax
mov ebx, ss
aam 0x54
xlatb
scasb al, byte es:[edi]
mov al, byte [0x8693aceb]
xchg ebx, eax
or dword [esi], eax
fldenv [ebx - 0x13]
std
jo 0x63282d
out 0x52, al
push edx
xchg esp, eax
inc eax
xor dword [eax + ebx*4], eax
salc
add al, 0x1d
iretd