joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00407a78
cmp ax, 0xffff
jne 0x466ef1
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x466f7d
push eax
push edi
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x466f7d
push edi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, ebx
dec eax
test eax, eax
jl 0x466f3e
inc eax
mov edx, dword [ebp - 8]
movzx edx, word [edx]
add edx, edx
add edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
dec eax
jne 0x466f2a
mov eax, dword [ebp - 8]
movzx esi, word [eax]
add dword [ebp - 8], 2
cmp dword [ebp - 4], 0
je 0x466f7d
cmp dword [ebp + 8], 0
jle 0x466f7d
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.0042c1f4
mov esi, eax
test esi, esi
jle 0x466f74
mov ecx, esi
add ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407a8c
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x467adc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x467b40
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004049b0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040972c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467b47
lea eax, [ebp - 0xc]
call fcn.00404730
ret

Function at 0x467ba4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x467c00
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x467bcf
call fcn.0040f2dc
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402d94
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x467c00
call fcn.0040f2dc
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x47ec20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x47ec6f
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404fe0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ec74
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x47ecac
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x47ecac
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x47ecac
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x481514
Capabilities:
Set global application hook

Disassembly:
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x4814b4
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x49e02c], eax
cmp dword [0x49e02c], 0
jne 0x48153b
call fcn.0040f2dc
ret

Function at 0x48172c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bf0
mov eax, dword [ebp - 8]
call fcn.00404bf0
xor eax, eax
push ebp
push 0x4817c2
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
lea edx, [ebp - 0x10]
mov eax, dword [0x49c644]
mov eax, dword [eax]
call fcn.00460c54
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409da8
mov eax, dword [ebp - 0xc]
call fcn.00404c00
push eax
mov eax, dword [ebp - 8]
call fcn.00404c00
push eax
mov eax, dword [ebp - 4]
call fcn.00404c00
push eax
push 0
mov eax, dword [0x49c644]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4817c9
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404754
ret
Function at 0x481b60
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x408150]
call fcn.00405458
xor eax, eax
push ebp
push 0x481d14
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x481cdd
lea edx, [ebp - 0x160]
mov eax, esi
call fcn.004815b8
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
mov ecx, 0x481d2c
call fcn.00404a4c
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
mov eax, dword [ebp - 4]
call fcn.00409c44
test eax, eax
jne 0x481cc3
jmp 0x481cb0
mov eax, dword [ebp - 0x150]
mov edx, 0x481d38
call fcn.00404b4c
je 0x481cb0
mov eax, dword [ebp - 0x150]
mov edx, 0x481d44
call fcn.00404b4c
je 0x481cb0
test byte [ebp - 0x154], 0x10
je 0x481c53
lea edx, [ebp - 0x164]
mov eax, esi
call fcn.004815b8
lea eax, [ebp - 0x164]
mov edx, dword [ebp - 0x150]
call fcn.00404a08
mov eax, dword [ebp - 0x164]
call fcn.00481b60
jmp 0x481c87
push 0x80
lea edx, [ebp - 0x168]
mov eax, esi
call fcn.004815b8
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0x150]
call fcn.00404a08
mov eax, dword [ebp - 0x168]
call fcn.00404c00
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x16c]
mov eax, esi
call fcn.004815b8
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x150]
call fcn.00404a08
mov eax, dword [ebp - 0x16c]
call fcn.00409cd4
lea eax, [ebp - 0x15c]
call fcn.00409c94
test eax, eax
je 0x481bf3
lea eax, [ebp - 0x15c]
call fcn.00409cb8
mov eax, esi
call fcn.00404c00
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481d1b
lea eax, [ebp - 0x16c]
mov edx, 4
call fcn.00404754
lea eax, [ebp - 0x15c]
mov edx, dword [0x408150]
call fcn.00405528
lea eax, [ebp - 4]
call fcn.00404730
ret
Function at 0x48efb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x48f088
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jb 0x48f088
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x48f080
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
add edx, edx
add eax, edx
mov ax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp - 0x18]
movzx edx, word [ebp - 0x2e]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
jmp 0x48f088
inc dword [ebp - 0x20]
dec dword [ebp - 0x38]
jne 0x48f017
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4905c8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
mov eax, dword [0x49e06c]
call fcn.004909dc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x490630
xor eax, eax
push ebp
push 0x49061f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x490615
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov eax, edx
xor edx, edx
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x490640
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x491b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
test dl, dl
je 0x491b42
add esp, 0xfffffff0
call fcn.00403b58
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x49e064], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x491c3c
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x491c1a
mov dword [ebp - 0x1c], 0x105
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00407a94
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x491c78
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x491c11
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x491c08
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x418fb0]
call fcn.0041dda8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00491c7c
mov eax, dword [ebp - 0x10]
call fcn.00403820
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFree_1
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x491c32
call fcn.00403bb0
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x493d00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
push 0x493dd0
push 0x493de8
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x493d9b
mov eax, 2
call fcn.00402afc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 1
call dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x493d89
mov eax, dword [ebp - 0xc]
call fcn.00402b2c
mov eax, dword [ebp - 0x10]
add eax, 2
add eax, eax
call fcn.00402afc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, 2
mov edx, eax
add edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00407a94
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
call dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404fa4
jmp 0x493d91
mov eax, dword [ebp - 4]
call fcn.00404e4c
mov eax, dword [ebp - 0xc]
call fcn.00402b2c
jmp 0x493dc9
mov eax, 0x106
call fcn.00402afc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA_1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404f74
mov eax, dword [ebp - 0xc]
call fcn.00402b2c
mov esp, ebp
pop ebp
ret
Function at 0x4950e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x495151
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x49c298]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x49513b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004950d0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x494edc]
call fcn.00495178
mov dword [0x49c2fc], eax
mov eax, dword [ebp - 4]
call fcn.00495080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495158
lea eax, [ebp - 8]
call fcn.004064a8
ret
Function at 0x49a1b4
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
xor edx, edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49a3ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x10], 1
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x49a3b8
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49a285
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x49a3d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49a285
lea eax, [ebp - 8]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.004049b0
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x49a3dc
call fcn.00404d44
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.00404a00
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.00404c60
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x49a3dc
call fcn.00404d44
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c60
cmp dword [ebp - 8], 0
jne 0x49a2df
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x49a3e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49a2df
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x49a3d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49a2df
lea eax, [ebp - 8]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.004049b0
cmp dword [ebp - 8], 0
jne 0x49a372
push 0x104
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.004049b0
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0xc]
mov ecx, 0x49a42c
call fcn.00404a4c
mov edx, dword [ebp - 0xc]
mov eax, 0x49a438
call fcn.00404d44
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a00
mov ecx, eax
lea eax, [ebp - 0xc]
pop edx
call fcn.00404ca0
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x49a438
call fcn.00404d44
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00404c60
lea eax, [ebp - 8]
mov ecx, 0x49a444
mov edx, dword [ebp - 0xc]
call fcn.00404a4c
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404784
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a3b2
lea eax, [ebp - 0x11c]
call fcn.00404730
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404754
ret
Function at 0x42a5d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x42a5f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a5f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a5e8
mov eax, 1
add ebx, ebx
jne 0x42a60b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a600
jne 0x42a61c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a600
xor ecx, ecx
sub eax, 3
jb 0x42a630
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a6a2
mov ebp, eax
add ebx, ebx
jne 0x42a63b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a648
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a66c
inc ecx
add ebx, ebx
jne 0x42a658
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a64d
jne 0x42a669
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a64d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a68c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a67d
jmp 0x42a5ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a68c
add edi, ecx
jmp 0x42a5ee
pop esi
mov edi, esi
mov ecx, 0x2c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a6aa
cmp byte [edi], 2
jne 0x42a6aa
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 0x42a6af
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42a71e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a088]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a6dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a148]
or eax, eax
je 0x42a718
mov dword [ebx], eax
add ebx, 4
jmp 0x42a6f9
call dword [esi + 0x2a144]
mov ebp, dword [esi + 0x2a14c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x42a752
sub esp, 0xffffff80
jmp 0x401219
Function at 0x410510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
jmp 0x41052a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410520
mov eax, 1
add ebx, ebx
jne 0x410543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410538
jne 0x410554
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410538
xor ecx, ecx
sub eax, 3
jb 0x410568
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4105da
mov ebp, eax
add ebx, ebx
jne 0x410573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x410580
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4105a4
inc ecx
add ebx, ebx
jne 0x410590
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x410585
jne 0x4105a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410585
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4105c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4105b5
jmp 0x410526
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4105c4
add edi, ecx
jmp 0x410526
pop esi
mov edi, esi
mov ecx, 0x211
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4105e2
cmp byte [edi], 4
jne 0x4105e2
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 0x4105e7
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x41065f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10280]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x103b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410614
mov ecx, edi
jns 0x410643
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 + 0x103bc]
or eax, eax
je 0x410659
mov dword [ebx], eax
add ebx, 4
jmp 0x410631
call dword [esi + 0x103b8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x410690
cmp al, 0xef
ja 0x410683
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x410665
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x410672
mov ebp, dword [esi + 0x103c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4106c4
sub esp, 0xffffff80
jmp 0x40534b