joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4384dc
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 0x438687
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x438668
mov dl, 1
mov eax, dword [0x411d0c]
call fcn.004032a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x438657
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.004540a4
test al, al
je 0x43864a
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, 0x438698
lea eax, [ebp - 0x254]
call fcn.00408d6c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43864a
xor eax, eax
push ebp
push 0x438643
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 0x4386d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43862c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404338
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 0x43862c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43864a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43854d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004159b0
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 0x43868e
lea eax, [ebp - 0x260]
call fcn.004040c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x46bb14]
cmp byte [eax + 0xa5], 0
jne 0x43902d
cmp dword [0x46bb2c], 0
jne 0x438fee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x438f78
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46bb2c], eax
cmp dword [0x46bb28], 0
jne 0x439009
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46bb28], eax
cmp dword [0x46bb30], 0
jne 0x43902d
push esp
push 0
push 0
push 0x438f1c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46bb30], eax
pop edx
ret
Function at 0x439124
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43913b
add esp, 0xfffffff0
call fcn.004035f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004197c0
mov eax, dword [0x46a8d0]
cmp word [eax + 2], 0
jne 0x439163
mov eax, dword [0x46a8d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043a678
mov eax, dword [0x46a97c]
cmp word [eax + 2], 0
jne 0x43917d
mov eax, dword [0x46a97c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043a870
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4118f0]
call fcn.004032a0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4118f0]
call fcn.004032a0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bd0c]
call fcn.00423668
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x439304
mov eax, dword [0x46a7fc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423a38
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x43ae20
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46a7fc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c434
test eax, eax
je 0x439272
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408760
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c45c
test eax, eax
je 0x439286
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404338
mov eax, dword [0x46a6e8]
cmp byte [eax], 0
jne 0x4392ba
mov eax, ebx
call fcn.0043942c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0043affc
mov eax, ebx
call fcn.0043b9c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4392fa
call fcn.0040364c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4396ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bb14]
cmp dword [eax + 0x30], 0
je 0x439756
cmp dword [ebx + 0x94], 0
jne 0x439750
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43963c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x439750
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 0x439716
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x439750
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.00413c58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x439725
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43a2b8
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 0x43a2ed
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.004041b8
jmp 0x43a2fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040411c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43b1d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x43b219
mov eax, esi
call fcn.0044f6d0
test al, al
je 0x43b219
mov eax, dword [ebx + 0x84]
call fcn.0044f3cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43b219
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044f3cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004040c8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e183
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404338
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446774
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46bb94], 0
je 0x4468c3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46a960]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4468c3
mov eax, dword [0x46bb98]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46bb94]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x446892
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46bb94]
call fcn.00413c58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44688a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44688a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44688a
mov eax, dword [ebp - 0x14]
call fcn.0044f3cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44688a
push ebp
call fcn.00446730
pop ecx
test al, al
jne 0x44688a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x446846
mov eax, dword [ebp - 0x14]
call fcn.0044defc
dec eax
jle 0x44688a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004034cc
cmp byte [ebp - 1], 0
je 0x44688a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44688a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46bb98]
call fcn.00445efc
inc edi
dec ebx
jne 0x4467d9
mov eax, dword [0x46bb98]
cmp dword [eax + 8], 0
jle 0x4468aa
mov eax, dword [0x46bb98]
call fcn.00445f8c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4468c3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00446598
pop ecx
test al, al
jne 0x4468c3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449ea4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x449ef0
mov eax, esi
call fcn.00431a58
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x449ef0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x449ef0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44a02f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x449f30
cmp eax, 0x108
ja 0x449f30
mov eax, esi
call fcn.00431a58
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44a026
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44a02f
jmp 0x44a026
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44a00f
cmp eax, 0x20a
ja 0x44a00f
test byte [esi + 0x50], 0x80
jne 0x449f62
sub eax, 0x203
je 0x449f5f
sub eax, 3
je 0x449f5f
sub eax, 3
jne 0x449f62
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x449f76
dec eax
je 0x449f8b
dec eax
je 0x449fa8
dec eax
je 0x449f8b
jmp 0x449faf
mov ecx, ebx
mov eax, dword [0x46a960]
mov eax, dword [eax]
mov edx, esi
call fcn.0043b090
jmp 0x44a026
cmp byte [esi + 0x5d], 1
jne 0x449fa1
mov eax, esi
mov si, 0xffed
call fcn.004034cc
jmp 0x44a02f
or word [esi + 0x54], 1
jmp 0x44a026
and word [esi + 0x54], 0xfffe
jmp 0x44a026
mov eax, dword [0x46bb50]
cmp byte [eax + 0x20], 0
je 0x44a026
mov eax, dword [0x46bb50]
cmp dword [eax + 0x1c], 0
je 0x44a026
mov eax, dword [ebx]
mov edx, dword [0x46bb50]
cmp eax, dword [edx + 0x1c]
jne 0x44a026
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0043199c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004034cc
jmp 0x44a02f
cmp eax, 0xb00b
jne 0x44a026
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004487c4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d55c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44d578
cmp dword [esi + 4], 0
je 0x44d5a5
test byte [ebx + 0x55], 1
jne 0x44d597
mov eax, ebx
call fcn.0044c0fc
test eax, eax
jne 0x44d597
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44d6b5
mov edx, esi
mov eax, ebx
call fcn.0044d080
jmp 0x44d6b5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44d6ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044f3cc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00449dd8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044d55c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044f3cc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d6b5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453d44
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46aacc]
cmp byte [eax + 0xc], 0
je 0x453eb1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453eaa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46bba4], 0
jne 0x453d98
push 0x453eb8
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x453ec0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bba4], eax
cmp dword [0x469dac], 0
jne 0x453e93
push 0x453ed0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x469dac], eax
cmp dword [0x469dac], 0
je 0x453e93
push 0x453edc
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bba8], eax
push 0x453eec
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbac], eax
push 0x453f00
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbb0], eax
push 0x453f18
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbb4], eax
push 0x453f30
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbb8], eax
push 0x453f44
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbbc], eax
push 0x453f5c
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbc0], eax
push 0x453f74
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbc4], eax
push 0x453f90
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbc8], eax
push 0x453f9c
mov eax, dword [0x469dac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbcc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453eb1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x457270
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45729e
mov eax, ebx
call fcn.00457d24
cmp dword [ebx + 0x40], 0
je 0x457297
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45730f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x457301
cmp dword [ebx + 8], 0
je 0x4572c0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4572d2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x457301
cmp dword [ebx + 8], 0
je 0x4572b3
cmp eax, 3
je 0x4572e5
dec eax
jne 0x4572b3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4572b3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4572b3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45732d
cmp dword [ebx + 0x14], 0xcc
je 0x45732d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00457338
pop ebx
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
jno 0x414b37
add eax, 0x828a2c21
and al, 0xfd
mov bl, 0x13
out 0xbe, al
fld xword [ecx + 0x6a114d2]
fiadd dword [ebx]
mov ebp, dword [ebx]
cmp byte [edx], 0x25
cmp al, 0x9d
cld
cmp eax, dword [ecx + 0x23df4624]
cld
arpl bx, si
inc esp
mov ebp, 0x3742bdb
and al, 0x3c
int3
stosd dword es:[edi], eax
and al, 0x8c
lcall 0xa61b, 0x63bb6ac3
invalid
Function at 0x401a70
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43114c]
jne 0x401a7a
repz ret
jmp fcn.0040251b

Function at 0x40b00e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43114c]
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.0040408b
and dword [ebp - 0x14], 0
cmp dword [0x433cf8], 0
mov dword [ebp - 0x18], eax
jne 0x40b0c1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b169
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b169
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x433cf8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x433cfc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x433d00], eax
call edi
push eax
call esi
mov dword [0x433d08], eax
test eax, eax
je 0x40b0c1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x433d04], eax
mov eax, dword [0x433d04]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b11a
cmp dword [0x433d08], ecx
je 0x40b11a
push eax
call esi
push dword [0x433d08]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b11a
test ebx, ebx
je 0x40b11a
call edi
test eax, eax
je 0x40b111
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b111
test byte [ebp - 8], 1
jne 0x40b11a
or dword [ebp + 0x10], 0x200000
jmp 0x40b14d
mov eax, dword [0x433cfc]
cmp eax, dword [ebp - 0x18]
je 0x40b14d
push eax
call esi
test eax, eax
je 0x40b14d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b14d
mov eax, dword [0x433d00]
cmp eax, dword [ebp - 0x18]
je 0x40b14d
push eax
call esi
test eax, eax
je 0x40b14d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x433cf8]
call esi
test eax, eax
je 0x40b169
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b16b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a70
leave
ret
Function at 0x422ba0
Capabilities:
Get geographical location

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jle 0x422c2e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
cmp dword [esp + 0x18], 0x2d
jne 0x422bec
push 0
push str.tabukojugacefofehevugijumapo_lezegiyoritatureguhikihubumuw_xaxeharufutogokurulumifadasovac_vubecifuwibugawiculedodov_cezotoburosuhipijavor
call edi
push str.fidodekodinifobuyox
push str.mayuretubayazihexe
push str.fetodidibamonasuyifiluhib
push str.vizuzecizeyasufuhizosusi
call ebx
push 0
call ebp
call fcn.00422af0
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], al
cmp dword [esp + 0x18], 0xf
jne 0x422c24
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str.lavenoxatorav
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x422bc2
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc], 0x2d
pop esi
jne 0x422c4a
mov dword [0x434a08], 0xa62e7790
mov dword [0x434a0c], 0xffffffff
ret
Function at 0x422ff0
Capabilities:
Access the windows event log
Set file attributes

Disassembly:
mov eax, dword [0x4349fc]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov ebp, 0x1519a5
lea esp, [esp]
mov dword [0x434664], 0x8e46a7b8
cmp eax, 0x3dc
jne 0x42303a
push 0
push str.gajaracuvegipozatoxesom
call esi
push str.kimezufiyutodojaxejuweg
push 0
push 0
call edi
mov eax, dword [0x4349fc]
dec ebp
jne 0x423010
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
xor esi, esi
mov ebp, 0xec58acac
lea ebx, [ebx]
cmp eax, 0x997
jne 0x423062
push 0
push 0
call edi
mov eax, dword [0x4349fc]
cmp esi, 0x846373
jne 0x423079
mov eax, dword [0x432ad0]
add eax, 0xa231
mov dword [0x4349fc], eax
cmp eax, 0x141
jne 0x423090
mov dword [0x434238], ebp
mov dword [0x43423c], 0xffffffff
inc esi
cmp esi, 0x123c962
jl 0x423050
call fcn.00422c90
pop edi
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

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