joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2dc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4b2dfd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004b88a4
jmp 0x4b2e06
mov eax, ebx
mov edx, esi
call fcn.004b8810
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b2e10
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4b2e31
mov al, byte [esp]
jmp 0x4b2e33
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4b79d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ec7bc]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4b7a68
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4b7a48
xor eax, eax
push ebp
push 0x4b7a41
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4b7a84
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7a48
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4ec7bc]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ec7bc], ax
mov esp, ebp
pop ebp
ret

Function at 0x4b8770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004b7474
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f133d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4b8738
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4ba304
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4ba4c0
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4ba365
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4ba4dc
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4ba3d7
xor eax, eax
push ebp
push 0x4ba3d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004ba15c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4ba3b9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4ba4fc
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba3d7
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4ba4b8
cmp byte [ebp - 0xd], 0
jne 0x4ba419
cmp byte [ebp - 0x12], 0
je 0x4ba4b8
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4ba432
dec ebx
cmp byte [ebx], 0x2e
je 0x4ba441
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4ba431
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4ba4b8
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4ba46e
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4ba4b8
cmp byte [ebp - 0xd], 0
je 0x4ba4b8
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4ba4b8
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ba8dc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4ba9c4
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x4f1720], 1
jae 0x4ba9b6
xor eax, eax
mov dword [0x4f132c], eax
xor eax, eax
mov dword [0x4f1334], eax
xor eax, eax
mov dword [0x4f1338], eax
mov byte [0x4f133e], 2
mov byte [0x4f133f], 2
mov byte [0x4f1340], 3
mov word [0x4f16e8], 0
mov word [0x4f16f8], 1
mov word [0x4f1708], 0xa
mov dword [0x4f1710], 0x80020004
mov dword [0x4f16dc], 0x4b94e0
mov dword [0x4f16e0], 0x4b94d8
mov dword [0x4f16e4], 0x4b94e0
call fcn.004b79a0
test al, al
je 0x4ba975
call fcn.004b79d0
call fcn.004b7a94
mov eax, 0x4f1344
mov edx, 0x4ba9d0
call fcn.004b5162
mov eax, 0x4f1510
mov edx, 0x4ba9d0
call fcn.004b5162
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4f1324], eax
call fcn.004b6130
mov dword [0x4f1320], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4f1318], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba9cb
ret

Function at 0x4c0760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4c07c2
call fcn.004c0710
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004bb6a4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004bb6a4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c0840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4ee54c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4c091a
cmp dword [0x4ee548], 0
jne 0x4c091a
cmp dword [0x4ee72c], 0
je 0x4c08d4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004c0610
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4c08ba
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004c0610
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4c08ba
lea ebx, [ebp - 0x84]
jmp 0x4c08bb
inc ebx
call fcn.004c07fc
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4c0955
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4ee550
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004bb6a4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4ee553
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4c0955
cmp dword [0x4ee548], 0
je 0x4c0934
cmp dword [0x4ee548], 0xffffffff
je 0x4c0955
push esi
call dword [0x4ee548]
pop ecx
mov eax, dword [0x4ee54c]
test eax, eax
je 0x4c0955
cmp dword [0x4ee54c], 0xffffffff
je 0x4c0955
cmp byte [eax], 0
je 0x4c0955
push esi
push eax
call fcn.004c0760
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c6784
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea edx, [ebp - 0x208]
push edx
call sub.USER32.DLL_wvsprintfA
cmp eax, 0x208
jl 0x4c67c8
push 0xf6
push str.d:_bcbemuvclutilcls.h
push str.bufSize___sizeof_szBuffer_
call fcn.00427ff0
add esp, 0xc
cmp eax, 2
jne 0x4c67c8
call sub.KERNEL32.DLL_DebugBreak
lea ecx, [ebp - 0x208]
push ecx
call sub.KERNEL32.DLL_OutputDebugStringA
mov esp, ebp
pop ebp
ret

Function at 0x4cb2f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
mov eax, dword [0x4f0650]
mov eax, dword [eax]
call fcn.0047bbb0
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x4cb328
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x4cb301
mov esp, ebp
pop ebp
ret

Function at 0x4cb97c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.004cb914
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4cb99d
xor eax, eax
call fcn.004cb94c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ShowWindow
cmp byte [ebp - 9], 0
je 0x4cb9b7
mov al, 1
call fcn.004cb94c
mov esp, ebp
pop ebp
ret
Function at 0x4cc448
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x809]
push eax
mov eax, dword [ebp - 4]
call fcn.004b8c00
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
jbe 0x4cc485
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x809]
call fcn.004b1540
jmp 0x4cc48d
mov eax, dword [ebp - 8]
call fcn.004b87bc
mov esp, ebp
pop ebp
ret

Function at 0x4cc8b4
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
xor ecx, ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cca85
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x15
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4cca6c
lea eax, [ebp - 0x121]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
setne al
neg al
sbb eax, eax
call fcn.004b4774
lea eax, [ebp - 0x226]
push eax
push 0
push 0x4cca94
lea eax, [ebp - 0x121]
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
test eax, eax
setne al
neg al
sbb eax, eax
call fcn.004b4774
xor eax, eax
push ebp
push 0x4cca65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4cca44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4cca2d
xor eax, eax
push ebp
push 0x4cca26
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
lea edx, [ebp - 0x22c]
lea eax, [ebp - 0x226]
call fcn.004b1540
mov ecx, dword [ebp - 0x22c]
mov dl, 1
mov eax, dword [0x4a2b98]
call fcn.004a61c0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4cc9fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.004a5f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cca01
mov eax, dword [ebp - 0x10]
call fcn.004b7b60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cca4b
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cca8c
lea eax, [ebp - 0x22c]
call fcn.004b87bc
ret
Function at 0x4cd35c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push esi
push edi
xor edx, edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cd49a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call sub.KERNEL32.DLL_GetVersionExA
mov eax, dword [ebp - 0x90]
sub eax, 1
jb 0x4cd3a8
je 0x4cd3b1
dec eax
je 0x4cd3f0
jmp 0x4cd3fb
mov dword [ebp - 9], 0x73323303
jmp 0x4cd3fb
and dword [ebp - 0x94], 0xffff
cmp dword [ebp - 0x9c], 4
ja 0x4cd3d6
cmp dword [ebp - 0x9c], 4
jne 0x4cd3e3
cmp dword [ebp - 0x98], 0xa
jb 0x4cd3e3
mov esi, 0x4cd4a8
lea edi, [ebp - 9]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4cd3fb
mov esi, 0x4cd4ac
lea edi, [ebp - 9]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4cd3fb
mov esi, 0x4cd4b0
lea edi, [ebp - 9]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 9]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc8], 4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xc0], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 6
lea edx, [ebp - 0xcc]
mov ecx, 4
mov eax, 0x4cd4bc
call fcn.004b1a88
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 4]
call fcn.004b0dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd4a1
lea eax, [ebp - 0xa4]
call fcn.004b87bc
ret

Function at 0x402000
Capabilities:
Terminate process

Disassembly:
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push 0
push 0x40203e
push 5
call dword [sym.imp.user32.dll_SetWindowsHookExA]
mov dword [0x401078], eax
push 0x1482
push 0
push 0
push 0x40104d
push section..data
push 0
call dword [sym.imp.user32.dll_MessageBoxTimeoutA]
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x45bb10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x28000]
push edi
jmp 0x45bb2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45bb31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45bb20
mov eax, 1
add ebx, ebx
jne 0x45bb43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45bb54
jne 0x45bb73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45bb73
dec eax
add ebx, ebx
jne 0x45bb60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45bb38
add ebx, ebx
jne 0x45bb6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45bbc5
xor ecx, ecx
sub eax, 3
jb 0x45bb8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45bbfa
sar eax, 1
mov ebp, eax
jmp 0x45bb96
add ebx, ebx
jne 0x45bb96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45bb64
inc ecx
add ebx, ebx
jne 0x45bba4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45bb64
add ebx, ebx
jne 0x45bbb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45bba6
jne 0x45bbc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45bba6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45bbe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45bbd6
jmp 0x45bb26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45bbe4
add edi, ecx
jmp 0x45bb26
pop esi
mov edi, esi
mov ecx, 0xdf2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45bc02
cmp byte [edi], 0x13
jne 0x45bc02
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 0x45bc07
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x45bc7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d6e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d7ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45bc34
mov ecx, edi
jns 0x45bc63
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 + 0x5d7f0]
or eax, eax
je 0x45bc79
mov dword [ebx], eax
add ebx, 4
jmp 0x45bc51
call dword [esi + 0x5d800]
mov ebp, dword [esi + 0x5d7f4]
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 0x45bcb3
sub esp, 0xffffff80
jmp 0x40b554
Function at 0x62af00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x138000]
push edi
jmp 0x62af1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x62af21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62af10
mov eax, 1
add ebx, ebx
jne 0x62af33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x62af44
jne 0x62af63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62af63
dec eax
add ebx, ebx
jne 0x62af50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x62af28
add ebx, ebx
jne 0x62af5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x62afb5
xor ecx, ecx
sub eax, 3
jb 0x62af7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x62afea
sar eax, 1
mov ebp, eax
jmp 0x62af86
add ebx, ebx
jne 0x62af86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62af54
inc ecx
add ebx, ebx
jne 0x62af94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62af54
add ebx, ebx
jne 0x62afa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x62af96
jne 0x62afb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x62af96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x62afd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x62afc6
jmp 0x62af16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x62afd4
add edi, ecx
jmp 0x62af16
pop esi
mov edi, esi
mov ecx, 0x3ae4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x62aff2
cmp byte [edi], 0x13
jne 0x62aff2
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 0x62aff7
lea edi, [esi + 0x227000]
mov eax, dword [edi]
or eax, eax
je 0x62b06f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x253510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x253650]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x62b024
mov ecx, edi
jns 0x62b053
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 + 0x253654]
or eax, eax
je 0x62b069
mov dword [ebx], eax
add ebx, 4
jmp 0x62b041
call dword [esi + 0x253664]
mov ebp, dword [esi + 0x253658]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x62b0a3
sub esp, 0xffffff80
jmp 0x4777b7
Function at 0x411730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x475abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00469f4d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4117b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00467d6d
mov eax, dword [eax]
push 0x4a81f0
push eax
call fcn.0045a244
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046a1d8
test bl, bl
je 0x4117b2
push 0x4a81f0
lea ecx, [esp + 0xc]
call fcn.0046a568
push 0x4abd6c
lea ecx, [esp + 0xc]
call fcn.0046a568
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4117ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046a1d8
jmp 0x4118b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x411872
lea edx, [esp + 0x7c]
push 0x4abd68
push edx
call fcn.0045a244
add esp, 8
test eax, eax
je 0x411872
lea eax, [esp + 0x7c]
push 0x4abd64
push eax
call fcn.0045a244
add esp, 8
test eax, eax
je 0x411872
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411802
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046a1d8
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4120b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412112
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc