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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x63a800]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
push 0x17
lea eax, [esp + 0x10]
push eax
push 1
mov esi, ecx
mov dword [esp + 0x18], 0x1c
mov dword [esp + 0x1c], 0x10
call fcn.0048b669
mov edi, dword [ebp + 8]
cmp edi, 9
jne 0x46feb9
cmp dword [ebp + 0xc], 0xffffffff
jne 0x46feb9
call fcn.004701c0
push 0x31
lea ecx, [esp + 0x2d]
push 0
push ecx
mov byte [esp + 0x34], 0
call fcn.005afd80
mov edx, dword [esi + 0x154]
add esp, 0xc
push edx
lea eax, [esp + 0x2c]
push 0x60f258
push eax
call fcn.005acd60
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
call sub.KERNEL32.dll_OutputDebugStringA
nop
mov ecx, edi
mov edx, esi
call fcn.00470320
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.005ac396
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4701c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x63a800]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1d8]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call edx
mov dword [esi + 0x144], eax
cmp eax, edi
je 0x470274
mov ecx, dword [esi + 0x20]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
xor edx, edx
div dword [esi + 0x144]
push 1
lea edx, [esp + 0x1c]
push edx
push 1
mov ecx, esi
mov dword [esp + 0x24], 0x1c
mov dword [esp + 0x28], 5
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
sar eax, 2
mov dword [esi + 0x150], eax
mov dword [esi + 0x14c], eax
mov dword [esp + 0x30], eax
call fcn.0048b629
push 0x60f268
call sub.KERNEL32.dll_OutputDebugStringA
nop
mov ecx, dword [esp + 0x34]
pop edi
xor ecx, esp
call fcn.005ac396
mov esp, ebp
pop ebp
ret
Function at 0x474c20
Capabilities:
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, dword [ebx + 0x10]
mov eax, 0xcccccccd
mul edi
shr edx, 3
xor ecx, ecx
inc edx
mov esi, 0x811c9dc5
test edi, edi
je 0x474c5e
jmp 0x474c40
cmp dword [ebx + 0x14], 0x10
jb 0x474c4a
mov eax, dword [ebx]
jmp 0x474c4c
mov eax, ebx
movsx eax, byte [eax + ecx]
imul esi, esi, 0x1000193
add ecx, edx
xor esi, eax
cmp ecx, edi
jb 0x474c40
pop edi
mov eax, esi
pop esi
ret
Function at 0x490fb7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x490ffe
call fcn.004b83a5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x490ffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x49101a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00490abc
mov esi, eax
test edi, edi
je 0x491018
test ebx, ebx
je 0x491018
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x49181a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5c99f2
call fcn.005af75c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x49183f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x491891
call fcn.0048990d
push eax
lea ecx, [ebp - 0x10]
call fcn.00432ba0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005af866
push eax
call fcn.00455600
add esp, 0x14
push dword [ebp + 8]
call sub.KERNEL32.dll_lstrlenA
nop
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00432bd0
mov eax, esi
call fcn.005af834
ret 8

Function at 0x4b1b2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004b83a5
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4b1b63
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004b176c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4b1bc1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4b1be5
cmp dword [edi + 0x74], 0
jne 0x4b1be5
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004b83a5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004b1b82
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4b7949
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0048f43a
call fcn.00480630
cmp eax, esi
pop esi
jne 0x4b7965
mov ecx, 0x63e3f8
jmp fcn.004b5b63
ret

Function at 0x4b87b3
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004b8428
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4b87fd
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0048f04a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0048d6fc
jmp 0x4b8808
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004d3e76
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4b880e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.004910c3
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4b884b
call fcn.004b8428
mov dword [esi + 0xc], 1
jmp 0x4b8850
call fcn.004b8428
cmp dword [esi], 0
je 0x4b8899
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x4b8871
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0048f04a
jmp 0x4b8883
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004329f0
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0048d6fc
jmp 0x4b88bd
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4b88bd
push dword [esi]
push dword [ebp + 8]
call fcn.004d3e76
pop esi
pop ebp
ret 0xc

Function at 0x4d1551
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
je 0x4d1598
push 0
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call sub.KERNEL32.dll_WriteFile
nop
test eax, eax
jne 0x4d1587
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0056b668
cmp dword [ebp + 0xc], edi
je 0x4d1598
push dword [esi + 0xc]
push 0xffffffffffffffff
push 0xd
call fcn.0056b622
pop edi
pop esi
pop ebp
ret 8
Function at 0x4d549d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call PathFindFileNameA
nop
test eax, eax
jne 0x4d54f9
cmp dword [ebp + 0x10], 1
je 0x4d54de
cmp dword [ebp + 0x10], 2
je 0x4d54de
push PathRemoveFileSpecW
pop eax
jmp 0x4d54f9
mov eax, dword [ebp - 4]
test edi, edi
je 0x4d54f5
test eax, eax
je 0x4d54f2
cmp byte [eax + edi - 1], 0
je PathStripToRootA
jmp reloc.SHLWAPI.dll_PathRemoveFileSpecW
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x4d7f2f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.004d7d62
xor edx, edx
cmp eax, edx
jne 0x4d7f4b
or eax, 0xffffffff
jmp 0x4d7fad
cmp eax, 1
jne 0x4d7f68
push dword [ebp + 0xc]
push edx
push edx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
nop
test eax, eax
jns 0x4d7f64
call fcn.0048aca9
xor eax, eax
jmp 0x4d7fad
mov ecx, dword [ebp + 8]
push esi
push edi
lea edi, [eax - 1]
mov dword [ebp - 4], edx
cmp edi, edx
jbe 0x4d7f89
mov esi, edi
add dx, word [ecx]
push ecx
mov ecx, ebx
call fcn.004d7d11
dec esi
mov ecx, eax
jne 0x4d7f79
movzx esi, dx
lea eax, [esi + 2]
push eax
mov ecx, ebx
call fcn.004d7d2a
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp + 8]
mov dword [ecx], eax
push eax
call fcn.005ae670
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4fc13d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4fc157
call fcn.004b83a5
mov esi, dword [eax + 0xc]
push dword [0x63f8b8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4fc175
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4fc16d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4fc1a2
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4fc16f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004fc06b
mov esi, eax
jmp 0x4fc194
Function at 0x56bf02
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x63a800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x10c]
push eax
call sub.KERNEL32.dll_GetWindowsDirectoryA
nop
test eax, eax
je 0x56bf59
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call sub.SHELL32.dll_SHGetFileInfoA
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005ac396
leave
ret 4

Function at 0x56f6aa
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x63a800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x10c]
push eax
mov esi, ecx
call sub.KERNEL32.dll_GetWindowsDirectoryA
nop
test eax, eax
je 0x56f708
push 0
push 0x4001
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call sub.SHELL32.dll_SHGetFileInfoA
nop
push eax
call fcn.004b2b0f
push eax
mov ecx, esi
call fcn.0056ef28
mov ecx, esi
call fcn.0056f680
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005ac396
leave
ret

Function at 0x59aed5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x59aeed
mov edi, dword [esi + 0xc]
jmp 0x59af2d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x59af06
call fcn.004b31ef
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x59af1b
call fcn.004b31ef
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x59af2d
call fcn.004b31ef
call fcn.004b83a5
cmp dword [eax + 0x3c], 0
je 0x59af42
push edi
mov ecx, ebx
call fcn.00599d93
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0059adef
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x59af60
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x59af6c
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5ac396
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x63a800]
jne 0x5ac3a0
repz ret
jmp fcn.005b44b4

Function at 0x5b4805
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.005b46dc
add esp, 0xc
push esi
call sub.KERNEL32.dll_GetCurrentProcess
nop
push eax
call sub.KERNEL32.dll_TerminateProcess
nop
pop esi
ret
Function at 0x5c0861
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x63a800]
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.005b6ed2
and dword [ebp - 0x14], 0
cmp dword [0x642990], 0
mov dword [ebp - 0x18], eax
jne 0x5c0914
push 0x5e90b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5c09bc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x60a0d0
push ebx
call edi
test eax, eax
je 0x5c09bc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x60a0c0
push ebx
mov dword [0x642990], eax
call edi
push eax
call esi
push 0x60a0ac
push ebx
mov dword [0x642994], eax
call edi
push eax
call esi
push 0x60a090
push ebx
mov dword [0x642998], eax
call edi
push eax
call esi
mov dword [0x6429a0], eax
test eax, eax
je 0x5c0914
push 0x60a078
push ebx
call edi
push eax
call esi
mov dword [0x64299c], eax
mov eax, dword [0x64299c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5c096d
cmp dword [0x6429a0], ecx
je 0x5c096d
push eax
call esi
push dword [0x6429a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5c096d
test ebx, ebx
je 0x5c096d
call edi
test eax, eax
je 0x5c0964
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5c0964
test byte [ebp - 8], 1
jne 0x5c096d
or dword [ebp + 0x10], 0x200000
jmp 0x5c09a0
mov eax, dword [0x642994]
cmp eax, dword [ebp - 0x18]
je 0x5c09a0
push eax
call esi
test eax, eax
je 0x5c09a0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5c09a0
mov eax, dword [0x642998]
cmp eax, dword [ebp - 0x18]
je 0x5c09a0
push eax
call esi
test eax, eax
je 0x5c09a0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x642990]
call esi
test eax, eax
je 0x5c09bc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5c09be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ac396
leave
ret

Function at 0x8d680a
Capabilities:
Delete registry key

Disassembly:
add esp, 4
jmp dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]

Function at 0x408958
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
sub ecx, 0xa498c657
call fcn.00408974
xor dword [edx], esi
inc edx
cmp edx, eax
jne fcn.00408958
and ecx, ebx
and ebx, ecx
ret
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
mov esi, 0x1000
push esi
push esi
xor edi, edi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 1
push edi
push edi
push 0x10002054
push edi
push edi
mov dword [0x10003228], eax
call ebx
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f2
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f0
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dc
call eax
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x457210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x48000]
push edi
jmp 0x45722a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x457231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457220
mov eax, 1
add ebx, ebx
jne 0x457243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x457254
jne 0x457273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457273
dec eax
add ebx, ebx
jne 0x457260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x457238
add ebx, ebx
jne 0x45726f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4572c5
xor ecx, ecx
sub eax, 3
jb 0x45728b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4572fa
sar eax, 1
mov ebp, eax
jmp 0x457296
add ebx, ebx
jne 0x457296
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457264
inc ecx
add ebx, ebx
jne 0x4572a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457264
add ebx, ebx
jne 0x4572b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4572a6
jne 0x4572c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4572a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4572e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4572d6
jmp 0x457226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4572e4
add edi, ecx
jmp 0x457226
pop esi
mov edi, esi
mov ecx, 0x1a6b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x457302
cmp byte [edi], 4
jne 0x457302
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x457307
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x45737f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x57000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x57118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x457334
mov ecx, edi
jns 0x457363
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5711c]
or eax, eax
je 0x457379
mov dword [ebx], eax
add ebx, 4
jmp 0x457351
call dword [esi + 0x5712c]
mov ebp, dword [esi + 0x57120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4573b3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x4049b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413638
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x41d014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ecx + eax], 0x416e6c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ecx - 4], eax
mov eax, dword [ecx]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov ebx, dword [eax + 4]
add ebx, ecx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.004021b0
push 8
call fcn.0041004e
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.0040f9b4
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4151fc]
mov ecx, ebx
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 3
push eax
call fcn.00405200
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x4151fc]
mov ecx, edi
call esi
movzx eax, ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4151fc]
mov ecx, ebx
call esi
mov edi, eax
test edi, edi
je 0x404afe
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x4151fc]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x404b1c
mov eax, dword [ecx + 0xc]
push 0
or eax, 4
push eax
call fcn.004021b0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x10]
lea edx, [esi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x416e78
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x416e74
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8