joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4269d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x426a09
je 0x426a63
sub eax, 7
je 0x426a2a
dec eax
je 0x426a54
sub eax, 0x17
je 0x426b08
jmp 0x426b46
add eax, 0xffffff00
sub eax, 9
jb 0x426af4
add eax, 0xffffff09
sub eax, 0xb
jb 0x426abc
jmp 0x426b46
mov eax, ebx
call fcn.00438500
mov edi, eax
test edi, edi
je 0x426ba6
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x426baf
jmp 0x426ba6
test byte [ebx + 0x44], 0x20
jne 0x426baf
jmp 0x426ba6
mov edx, esi
mov eax, ebx
call fcn.004240a4
cmp dword [esi + 0xc], 0xffffffff
jne 0x426baf
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004068e8
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00422bf0
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004268b0
test eax, eax
je 0x426baf
mov dword [esi + 0xc], 1
jmp 0x426baf
mov edx, esi
mov eax, ebx
call fcn.00426944
test al, al
je 0x426ba6
cmp dword [esi + 0xc], 0
jne 0x426baf
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00429040
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x426baf
mov eax, ebx
call fcn.00423740
test al, al
jne 0x426baf
jmp 0x426ba6
mov eax, ebx
call fcn.00429040
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x426ba6
cmp dword [0x444790], 0
je 0x426ba6
mov eax, dword [0x444790]
cmp ebx, dword [eax + 0x24]
jne 0x426ba6
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x444790]
call fcn.00423fd8
jmp 0x426ba6
mov eax, dword [0x445ee4]
cmp byte [eax + 0x20], 0
je 0x426ba6
mov eax, dword [0x445ee4]
cmp dword [eax + 0x1c], 0
je 0x426ba6
mov eax, dword [esi]
mov edx, dword [0x445ee4]
cmp eax, dword [edx + 0x1c]
jne 0x426ba6
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00438444
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00402e8c
jmp 0x426baf
mov edx, esi
mov eax, ebx
call fcn.004240a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427070
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 + 0x1e8], 0
je 0x42708c
cmp dword [esi + 4], 0
je 0x4270b9
test byte [ebx + 0x45], 1
jne 0x4270ab
mov eax, ebx
call fcn.00426014
test eax, eax
jne 0x4270ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4271c9
mov edx, esi
mov eax, ebx
call fcn.00426ce8
jmp 0x4271c9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x4271c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00429040
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.00423fd8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00427070
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.00429040
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4271c9
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 0x430820
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.00403920
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43086f
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.00403b50
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43821c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x445f7c
cmp dword [edi], 0
jne 0x438298
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x445f78]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x444924
mov ecx, 2
call fcn.004027e8
mov edx, 0x4381f4
lea eax, [esi + 5]
call fcn.00438214
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00438214
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43826d
mov dword [0x445f78], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4383b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x438404]
test si, 4
je 0x4383c8
or bl, 1
test si, 8
je 0x4383d2
or bl, 4
test si, 1
je 0x4383dc
or bl, 8
test si, 2
je 0x4383e6
or bl, 0x10
test si, 0x10
je 0x4383f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4383ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x438408
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x438440]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438421
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438430
or bl, 4
test esi, 0x20000000
je 0x43843b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43e670
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43e682
add esp, 0xfffffff0
call fcn.00402f98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411c3c
mov eax, ebx
call fcn.0043e9bc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40bd4c]
call fcn.00402c80
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40bd4c]
call fcn.00402c80
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40bd4c]
call fcn.00402c80
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40bd4c]
call fcn.00402c80
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40bd4c]
call fcn.00402c80
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x43b160
push eax
push 0
push 0
mov eax, dword [0x444c34]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x416c60]
call fcn.00417f3c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x416c60]
call fcn.00417f3c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x416c60]
call fcn.00417f3c
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0043ed9c
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43ecb8
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43ecb8
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43ecb8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43e791
call fcn.00402ff0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43ea9c
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 0x43ec47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x43ec28
mov dl, 1
mov eax, dword [0x40c04c]
call fcn.00402c80
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403920
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43ec17
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.0042d43c
test al, al
je 0x43ec0a
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, 0x43ec58
lea eax, [ebp - 0x254]
call fcn.00408624
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43ec0a
xor eax, eax
push ebp
push 0x43ec03
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 0x43ec90
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43ebec
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b50
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x43ebec
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403b50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ec0a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43eb0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040ecd0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ec4e
lea eax, [ebp - 0x260]
call fcn.00403920
ret

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

Disassembly:
push ecx
mov eax, dword [0x445f6c]
cmp byte [eax + 0x95], 0
jne 0x43f505
cmp dword [0x445f88], 0
jne 0x43f4c6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43f450
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x445f88], eax
cmp dword [0x445f84], 0
jne 0x43f4e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x445f84], eax
cmp dword [0x445f8c], 0
jne 0x43f505
push esp
push 0
push 0
push 0x43f3f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x445f8c], eax
pop edx
ret
Function at 0x43f5fc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43f613
add esp, 0xfffffff0
call fcn.00402f98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411c3c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40bd4c]
call fcn.00402c80
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40bd4c]
call fcn.00402c80
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x417394]
call fcn.0041cdbc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x43f788
mov eax, dword [0x444b78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041d18c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440fb0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x444b78]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.00409a04
test eax, eax
je 0x43f706
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407fc4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00409a2c
test eax, eax
je 0x43f71a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403b50
mov eax, dword [0x444a94]
cmp byte [eax], 0
jne 0x43f74b
mov eax, ebx
call fcn.0043f874
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43f77d
call fcn.00402ff0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43fae4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x445f6c]
cmp dword [eax + 0x24], 0
je 0x43fb87
cmp dword [ebx + 0x84], 0
jne 0x43fb81
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43fa74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x43fb81
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 0x43fb4a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43fb81
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040d410
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43fb59
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x440594
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4405c9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403a08
jmp 0x4405d3
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403974
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x441324
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44135c
mov eax, esi
call fcn.0042933c
test al, al
je 0x44135c
mov eax, dword [ebx + 0x74]
call fcn.00429040
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44135c
push 0
mov eax, dword [ebx + 0x74]
call fcn.00429040
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x441ad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00441a84
test al, al
jne 0x441af1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x441b3d
xor eax, eax
push ebp
push 0x441b2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403d64
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441b34
lea eax, [ebp - 0xc]
call fcn.00441ac0
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441e7c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x441e84
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x441f71
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00414324
mov edx, dword [ebp - 8]
mov ecx, 0x441f88
xor eax, eax
call fcn.00441d6c
push 0
mov eax, dword [ebp - 4]
call fcn.00403d64
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x441f3f
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x441e9e
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00416658
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00407cd8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.004147f8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x60
call fcn.00416628
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x406f5c]
call fcn.00408fb4
call fcn.004033f0
jmp 0x441e9e
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00403974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441f78
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00403944
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403944
ret
Function at 0x441f98
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
mov eax, dword [0x444d98]
cmp dword [eax], 2
jne 0x442000
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x441fbb
xor eax, eax
jmp 0x44200f
lea eax, [esp + 8]
push eax
push 0x442014
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x442000
xor eax, eax
jmp 0x44200f
push 0
push 2
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret

Function at 0x442028
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x442082
inc esi
xor edi, edi
cmp edi, 1
jne 0x44204e
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x44205c
cmp edi, 1
jle 0x44205c
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00441ad0
test eax, eax
jne 0x442082
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x442082
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x442082
inc edi
dec esi
jne 0x44203e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x442354
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x445fa8], 0
je 0x44239d
mov edi, dword [0x4460e0]
dec edi
test edi, edi
jl 0x44239d
inc edi
xor esi, esi
mov eax, esi
shl eax, 6
add eax, esi
mov edx, dword [0x4460dc]
mov edx, dword [edx + eax]
mov eax, dword [0x445fa8]
call fcn.00407b38
test eax, eax
jne 0x442399
mov eax, esi
call fcn.00442308
jmp 0x442462
inc esi
dec edi
jne 0x44236f
mov al, byte [0x4460c8]
sub al, 1
jb 0x4423aa
je 0x4423b3
jmp 0x4423bc
call fcn.004145a4
mov ebp, eax
jmp 0x4423be
call sub.kernel32.dll_GetUserDefaultLangID
mov ebp, eax
jmp 0x4423be
xor ebp, ebp
test bp, bp
je 0x44245b
mov edi, dword [0x4460e0]
dec edi
test edi, edi
jl 0x44240a
inc edi
xor esi, esi
mov eax, esi
shl eax, 6
add eax, esi
mov edx, dword [0x4460dc]
lea ebx, [edx + eax]
movzx eax, bp
cmp eax, dword [ebx + 0x28]
jne 0x442406
cmp dword [ebx + 0x2c], 0
je 0x4423fd
call sub.kernel32.dll_GetACP
cmp eax, dword [ebx + 0x2c]
jne 0x442406
mov eax, esi
call fcn.00442308
jmp 0x442462
inc esi
dec edi
jne 0x4423d5
mov edi, dword [0x4460e0]
dec edi
test edi, edi
jl 0x44245b
inc edi
xor esi, esi
mov eax, esi
shl eax, 6
add eax, esi
mov edx, dword [0x4460dc]
lea ebx, [edx + eax]
mov eax, dword [ebx + 0x28]
and eax, 0x3ff
mov edx, ebp
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x442457
cmp dword [ebx + 0x2c], 0
je 0x44244e
call sub.kernel32.dll_GetACP
cmp eax, dword [ebx + 0x2c]
jne 0x442457
mov eax, esi
call fcn.00442308
jmp 0x442462
inc esi
dec edi
jne 0x442418
xor eax, eax
call fcn.00442308
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4424f4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4425c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4425e0
push ebx
push 0x4425ec
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403c60
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004029b0
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403d64
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x442574
mov al, 0x62
call fcn.004420c4
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004424c8
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x44257d
call fcn.004424c8
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4425d0
lea eax, [ebp - 4]
call fcn.00403920
ret

Function at 0x44268c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x442740
jmp 0x442735
cmp dword [esi + 0x10], 0x1000
jne 0x442721
test byte [esi + 0x15], 1
jne 0x442721
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4426e0
cmp eax, 2
je 0x4426e0
cmp eax, 0x10
je 0x4426e0
cmp eax, 0x20
jne 0x4426f5
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4426f5
mov bl, 1
xor ebp, ebp
jmp 0x442706
mov eax, dword [esi]
add eax, ebp
call fcn.00442684
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4426f9
test bl, bl
je 0x442721
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x442740
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4426b8
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret