joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494e66
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
add edx, 0x162c7
or edx, 0x176e1
xor edx, 0x6d39
pop edx
push edx
push ebx
add esp, 4
xor edx, 0x1f51
jmp 0x494ca6
pop edx
lea edx, [ebp - 0x1790]
mov dword [ebp - 0xd14], edx
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd10], ecx
xor edx, edx
mov word [ebp - 0x21c], dx
xor eax, eax
mov word [ebp - 0x38], ax
push edi
push esi
add esp, 4
or edi, 0xd288
pop edi
push esi
push edx
add esp, 4
add esi, 0x108a1
pop esi
push edi
push ecx
add esp, 4
jmp 0x494cf6
and edi, 0x46b4
or edi, 0x7bd3
pop edi
mov ecx, dword [ebp - 0xd10]
mov dx, word [ecx]
mov word [ebp - 0x108e], dx
mov eax, dword [ebp - 0xd10]
add eax, 2
mov dword [ebp - 0xd10], eax
mov cx, word [ebp - 0x108e]
mov word [ebp - 0x21c], cx
mov edx, dword [ebp - 0xd14]
mov ax, word [edx]
mov word [ebp - 0x1090], ax
mov ecx, dword [ebp - 0xd14]
add ecx, 2
mov dword [ebp - 0xd14], ecx
mov dx, word [ebp - 0x1090]
mov word [ebp - 0x38], dx
push esi
push esi
add esp, 4
xor esi, 0xe504
call 0x494d74
add byte [ecx], bh
aas
inc esp
cmp byte [ebx], bh
inc ecx
cmp al, 0x36
xor eax, 0x5e04c483
push ebx
push eax
add esp, 4
jmp 0x494d83
pop ebx
push edx
add edx, 0x18a
pop edx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x494da9
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1668], ecx
jmp 0x494e03
movzx eax, word [ebp - 0x21c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x494cd1
movzx edx, word [ebp - 0x21c]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x494cd1
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x494ded
mov dword [ebp - 0x1664], 0xffffffff
jmp 0x494df7
mov dword [ebp - 0x1664], 1
mov eax, dword [ebp - 0x1664]
mov dword [ebp - 0x1668], eax
cmp dword [ebp - 0x1668], 0
jne 0x494e4c
push edx
xor edx, 0x9ac
and edx, 0x1341d
xor edx, 0x10cef
jmp 0x494e25
pop edx
push ebx
push esi
add esp, 4
or ebx, 0x1c01
and ebx, 0x34ac
add ebx, 0x118ba
pop ebx
mov ecx, dword [ebp - 0x518]
mov dword [ebp - 0x2d0], ecx
jmp 0x494eb4
push ecx
push edx
add esp, 4
add ecx, 0x13cfe
call 0x494e66
add byte [edi + 0x3a], al
cmp dword [esi + 0x3f], eax
dec esi
dec edx
xor dh, byte [esi]
add esp, 4
and ecx, 0x174eb
sub ecx, 0x7e54
pop ecx
push ebx
and ebx, 0x4e0f
pop ebx
mov edx, dword [ebp - 0x518]
mov eax, dword [edx]
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [ebp - 0xd18]
je 0x494eaa
mov edx, dword [ebp - 0x518]
cmp dword [edx + 0x30], 0
jne 0x494c75
mov dword [ebp - 0x2d0], 0

Function at 0x494ee0
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
neg edi
sub al, 0
add byte [edi - 0x7d], bl
mov ebp, 0xfffffd30
add byte [edi], cl
test eax, edi
or byte [eax], al
add byte [eax + 0x6b], bh
Function at 0x495696
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x770]
add eax, 1
mov dword [ebp - 0x770], eax
add esp, 4
add esi, 0x9741
pop esi
push edi
push edx
add esp, 4
jmp 0x4956aa
pop edi
mov ecx, dword [ebp - 0x774]
add ecx, dword [ebp - 0x19c]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x8a0]
or ecx, 0x20
cmp edx, ecx
jge 0x4956de
mov dword [ebp - 0xd28], 0xffffffff
jmp 0x4956e8
mov dword [ebp - 0xd28], 1
cmp dword [ebp - 0xd28], 0
jne 0x4956ff
mov edx, dword [ebp - 0x1a3c]
mov dword [ebp - 0x3f8], edx
jmp 0x495710
jmp 0x4954e9
Function at 0x4ddb10
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004dda14
xor edx, edx
push ebp
push 0x4ddbb2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4ddb85
mov edx, ebx
mov eax, dword [0x49b878]
call int.0049fe34
test al, al
je 0x4ddb75
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0049fd44
call fcn.004f6aa0
jmp 0x4ddbb9
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4ddb40
mov ecx, dword [0x71d450]
mov dl, 1
mov eax, dword [0x4eda40]
call fcn.004f1c90
call fcn.004f6a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddbb9
mov eax, dword [ebp - 4]
call fcn.004dd9e8
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4ddbc0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004dda14
xor eax, eax
push ebp
push 0x4ddc18
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddc1f
mov eax, dword [ebp - 4]
call fcn.004dd9e8
ret

Function at 0x4ddc28
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004dda14
xor edx, edx
push ebp
push 0x4ddc7d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddc84
mov eax, dword [ebp - 4]
call fcn.004dd9e8
ret

Function at 0x4ddd78
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004dda14
xor eax, eax
push ebp
push 0x4ddded
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004dd9cc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4dddd7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dddf4
mov eax, dword [ebp - 4]
call fcn.004dd9e8
ret
Function at 0x5659f8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00566abc
test byte [ebp + 0xd], 0xc0
jne 0x565a1c
mov eax, dword [0x6da238]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x565a29
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x565a56
je 0x565a68
sub ecx, 0x100
je 0x565a76
sub ecx, 0x100
je 0x565a7d
sub ecx, 0x100
je 0x565a6f
jmp 0x565a84
sub ecx, 0x600
je 0x565a7d
sub ecx, 0x100
je 0x565a68
jmp 0x565a84
mov edi, 1
jmp 0x565a89
mov edi, 2
jmp 0x565a89
mov edi, 4
jmp 0x565a89
mov edi, 5
jmp 0x565a89
mov edi, 3
test byte [ebp + 0xd], 1
je 0x565ab0
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x6d9cb0]
test al, 0x80
je 0x565aa9
mov ebx, 0x80
jmp 0x565ac2
mov ebx, 1
jmp 0x565ac2
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x565ac2
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x565ad4
je 0x565add
dec eax
je 0x565ae6
jmp 0x565aef
mov dword [ebp - 4], 0x80000000
jmp 0x565afe
mov dword [ebp - 4], 0x40000000
jmp 0x565afe
mov dword [ebp - 4], 0xc0000000
jmp 0x565afe
push 1
call fcn.00566eb4
pop ecx
mov ebx, eax
jmp 0x565bee
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x565b1a
sub eax, 0x10
je 0x565b21
sub eax, 0x10
je 0x565b2a
sub eax, 0x10
je 0x565b33
jmp 0x565b33
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x565b3a
mov dword [ebp - 8], 1
jmp 0x565b3a
mov dword [ebp - 8], 2
jmp 0x565b3a
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x565ba7
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x565b9c
test byte [ebp + 0xd], 1
je 0x565b97
mov ebx, 0x50
jmp 0x565b9c
mov ebx, 2
push ebx
call fcn.00566eb4
pop ecx
mov ebx, eax
jmp 0x565bee
mov edi, esi
push edi
call fcn.0056595c
pop ecx
test eax, eax
je 0x565bbb
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x565bc7
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00566bdc
add esp, 8
mov ebx, eax
inc eax
jne 0x565bee
push 4
call fcn.00566eb4
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00566af0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409fdc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43cd68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407e96
and dword [ebp - 0x14], 0
cmp dword [0x453f94], 0
mov dword [ebp - 0x18], eax
jne 0x40a08f
push 0x402260
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a137
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402254
push ebx
call edi
test eax, eax
je 0x40a137
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402244
push ebx
mov dword [0x453f94], eax
call edi
push eax
call esi
push 0x402230
push ebx
mov dword [0x453f98], eax
call edi
push eax
call esi
push 0x402214
push ebx
mov dword [0x453f9c], eax
call edi
push eax
call esi
mov dword [0x453fa4], eax
test eax, eax
je 0x40a08f
push 0x4021fc
push ebx
call edi
push eax
call esi
mov dword [0x453fa0], eax
mov eax, dword [0x453fa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a0e8
cmp dword [0x453fa4], ecx
je 0x40a0e8
push eax
call esi
push dword [0x453fa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a0e8
test ebx, ebx
je 0x40a0e8
call edi
test eax, eax
je 0x40a0df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a0df
test byte [ebp - 8], 1
jne 0x40a0e8
or dword [ebp + 0x10], 0x200000
jmp 0x40a11b
mov eax, dword [0x453f98]
cmp eax, dword [ebp - 0x18]
je 0x40a11b
push eax
call esi
test eax, eax
je 0x40a11b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a11b
mov eax, dword [0x453f9c]
cmp eax, dword [ebp - 0x18]
je 0x40a11b
push eax
call esi
test eax, eax
je 0x40a11b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x453f94]
call esi
test eax, eax
je 0x40a137
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a139
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040952e
leave
ret
Function at 0x403594
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41c6d0
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 0x41c701
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c6e9
add dl, dl
jne 0x41c70c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c75d
xor eax, eax
add dl, dl
jne 0x41c719
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c7fa
add dl, dl
jne 0x41c728
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c733
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c73e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c749
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41c753
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41c6f8
mov eax, 1
add dl, dl
jne 0x41c76b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c776
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c762
sub eax, ebx
mov ebx, 1
jne 0x41c7a9
mov ecx, 1
add dl, dl
jne 0x41c78f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c79a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c786
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41c6f8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41c7c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c7cb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c7b7
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 0x41c6f8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41c81b
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 0x41c6f8
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 0x41d398
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d3ab
add esp, 0xfffffff0
call fcn.00403d90
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403b18
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d3d1
cmp dword [esi + 0x58], 0x40
jb 0x41d5b7
jmp 0x41d3d7
jl 0x41d5b7
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e68
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041cf50
cmp word [ebx + 0xc], 0x5a4d
jne 0x41d5b7
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41d5b7
cmp ecx, 0x10000
jge 0x41d5b7
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d432
cmp eax, dword [esi + 0x58]
ja 0x41d5b7
jmp 0x41d438
jg 0x41d5b7
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e68
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041cf50
cmp dword [ebx + 0x4c], 0x4550
jne 0x41d5b7
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e68
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041cf50
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d4ef
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d4b3
cmp eax, dword [esi + 0x58]
ja 0x41d540
jmp 0x41d4b9
jg 0x41d540
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e68
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041cf50
mov byte [ebx + 4], 1
jmp 0x41d540
cmp ax, 0x14c
jne 0x41d540
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d510
cmp eax, dword [esi + 0x58]
ja 0x41d540
jmp 0x41d512
jg 0x41d540
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e68
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041cf50
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41d5b7
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d571
cmp eax, dword [esi + 0x58]
ja 0x41d5b7
jmp 0x41d573
jg 0x41d5b7
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x5a1e68]
call fcn.00405b5c
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041cf50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41d5ce
call fcn.00403de8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e2cc
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], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a378b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e37d
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e366
test esi, esi
jbe 0x41e37d
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040888c
test eax, eax
jne 0x41e358
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 0x41e37d
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e335
jmp 0x41e37d
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e37d
mov eax, ecx
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 0x5a3792
ret
Function at 0x41ebdc
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 dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x5a418b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cb8
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41ec17
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ec30
lea eax, [ebp - 0x10]
mov edx, dword [0x5ba194]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d18
jmp 0x41ec43
lea eax, [ebp - 0x10]
mov edx, dword [0x5ba194]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d18
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ec4f
adc edx, 0
mov edx, dword [edx*4 + 0x5b8cac]
call fcn.00404f08
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404eec
push eax
call fcn.00406adc
mov esi, eax
cmp esi, 0xffffffff
je 0x41ed5d
mov eax, 0x40
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ed50
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d7c
mov eax, edi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ed50
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ed50
cmp dx, 0x150
ja 0x41ed50
mov eax, edi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d24
test eax, eax
je 0x41ed50
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ed50
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404cf4
mov eax, edi
call fcn.00403270
push esi
call fcn.00406a94
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00405014
jne 0x41ed75
inc ebx
cmp ebx, 0x19
jne 0x41ec09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a4192
lea eax, [ebp - 0x10]
call fcn.00404cb8
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0xf87058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00f871a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf8707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf8706a
add dl, dl
jne 0xf87089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf870dc
xor eax, eax
add dl, dl
jne 0xf87096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf8717d
add dl, dl
jne 0xf870a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf870b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf870bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf870c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf870d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf87075
mov eax, 1
add dl, dl
jne 0xf870ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf870f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf870e1
sub eax, ebx
mov ebx, 1
jne 0xf87128
mov ecx, 1
add dl, dl
jne 0xf8710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf87119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf87105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf87075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf8713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf8714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf87136
cmp eax, 0x7d00
jae 0xf8716d
cmp eax, 0x500
jb 0xf87168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf87075
cmp eax, 0x7f
ja 0xf87170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf87075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf8719e
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 0xf87075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10