joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421888
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 0x421a33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x421a14
mov dl, 1
mov eax, dword [0x438aa8]
call fcn.00449f24
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0044a9c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x421a03
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.00437954
test al, al
je 0x4219f6
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, 0x421a44
lea eax, [ebp - 0x254]
call fcn.00445294
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4219f6
xor eax, eax
push ebp
push 0x4219ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x421a7c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4219d8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044abf4
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 0x4219d8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044abf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4219f6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4218f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0043bae0
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 0x421a3a
lea eax, [ebp - 0x260]
call fcn.0044a9c4
ret

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

Disassembly:
push ecx
mov eax, dword [0x45bbb4]
cmp byte [eax + 0x95], 0
jne 0x4222f1
cmp dword [0x45bbd0], 0
jne 0x4222b2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x42223c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x45bbd0], eax
cmp dword [0x45bbcc], 0
jne 0x4222cd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x45bbcc], eax
cmp dword [0x45bbd4], 0
jne 0x4222f1
push esp
push 0
push 0
push 0x4221e0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x45bbd4], eax
pop edx
ret
Function at 0x4223e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4223ff
add esp, 0xfffffff0
call fcn.0044a254
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ea4c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x43876c]
call fcn.00449f24
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x43876c]
call fcn.00449f24
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 [0x40fbac]
call fcn.00417168
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x422574
mov eax, dword [0x45bab4]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00417538
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x423f80
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45bab4]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.004466c4
test eax, eax
je 0x4224f2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00444c34
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004466ec
test eax, eax
je 0x422506
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, 0x100
call fcn.0044abf4
mov eax, dword [0x45bab8]
cmp byte [eax], 0
jne 0x422537
mov eax, ebx
call fcn.00422660
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 0x422569
call fcn.0044a2ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4228d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bbb4]
cmp dword [eax + 0x24], 0
je 0x422973
cmp dword [ebx + 0x84], 0
jne 0x42296d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x422860
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x42296d
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 0x422936
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42296d
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.00439e20
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x422945
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x423380
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 0x4233b5
push 0x100
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.0044aaac
jmp 0x4233bf
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.0044aa18
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4242f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x42432c
mov eax, esi
call fcn.004336c8
test al, al
je 0x42432c
mov eax, dword [ebx + 0x74]
call fcn.004333cc
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42432c
push 0
mov eax, dword [ebx + 0x74]
call fcn.004333cc
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x42b034
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 - 0xc]
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
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45bc50], 0
sete dl
or al, dl
jne 0x42b174
mov eax, dword [0x45bc54]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45bc50]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42b143
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45bc50]
call fcn.00439e20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b13b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42b13b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42b13b
mov eax, dword [ebp - 0x14]
call fcn.004333cc
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42b13b
push ebp
call fcn.0042aff0
pop ecx
test al, al
jne 0x42b13b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42b0f7
mov eax, dword [ebp - 0x14]
call fcn.00431d58
dec eax
jle 0x42b13b
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.0044a130
cmp byte [ebp - 1], 0
je 0x42b13b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x42b13b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45bc54]
call fcn.0042a83c
inc edi
dec esi
jne 0x42b08a
mov eax, dword [0x45bc54]
cmp dword [eax + 8], 0
jle 0x42b15b
mov eax, dword [0x45bc54]
call fcn.0042a8cc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b174
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ae58
pop ecx
test al, al
jne 0x42b174
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 0x430d64
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 0x430d95
je 0x430def
sub eax, 7
je 0x430db6
dec eax
je 0x430de0
sub eax, 0x17
je 0x430e94
jmp 0x430ed2
add eax, 0xffffff00
sub eax, 9
jb 0x430e80
add eax, 0xffffff09
sub eax, 0xb
jb 0x430e48
jmp 0x430ed2
mov eax, ebx
call fcn.0041afcc
mov edi, eax
test edi, edi
je 0x430f32
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x430f3b
jmp 0x430f32
test byte [ebx + 0x44], 0x20
jne 0x430f3b
jmp 0x430f32
mov edx, esi
mov eax, ebx
call fcn.0042e2dc
cmp dword [esi + 0xc], 0xffffffff
jne 0x430f3b
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00442854
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042ce10
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00430c3c
test eax, eax
je 0x430f3b
mov dword [esi + 0xc], 1
jmp 0x430f3b
mov edx, esi
mov eax, ebx
call fcn.00430cd0
test al, al
je 0x430f32
cmp dword [esi + 0xc], 0
jne 0x430f3b
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.004333cc
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x430f3b
mov eax, ebx
call fcn.0042d978
test al, al
jne 0x430f3b
jmp 0x430f32
mov eax, ebx
call fcn.004333cc
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x430f32
cmp dword [0x458028], 0
je 0x430f32
mov eax, dword [0x458028]
cmp ebx, dword [eax + 0x24]
jne 0x430f32
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x458028]
call fcn.0042e210
jmp 0x430f32
mov eax, dword [0x45bc18]
cmp byte [eax + 0x20], 0
je 0x430f32
mov eax, dword [0x45bc18]
cmp dword [eax + 0x1c], 0
je 0x430f32
mov eax, dword [esi]
mov edx, dword [0x45bc18]
cmp eax, dword [edx + 0x1c]
jne 0x430f32
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.0041af10
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.0044a130
jmp 0x430f3b
mov edx, esi
mov eax, ebx
call fcn.0042e2dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4313fc
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 0x431418
cmp dword [esi + 4], 0
je 0x431445
test byte [ebx + 0x45], 1
jne 0x431437
mov eax, ebx
call fcn.004302ac
test eax, eax
jne 0x431437
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431555
mov edx, esi
mov eax, ebx
call fcn.00431074
jmp 0x431555
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 0x43154e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004333cc
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.0042e210
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004313fc
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.004333cc
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431555
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 0x445424
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 0x44545d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0044aaac
jmp 0x445466
mov eax, ebx
mov edx, esi
call fcn.0044aa18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x445470
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 0x445491
mov al, byte [esp]
jmp 0x445493
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x449ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x449aff
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0044aaac
jmp 0x449b1d
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00449a58
mov edi, eax
test ebx, ebx
je 0x449b1d
cmp dword [esi], 0
je 0x449b1d
dec ebx
jmp 0x449b06
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x449dcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45836c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x449e64
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x449e44
xor eax, eax
push ebp
push 0x449e3d
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 0x449e80
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 0x449e44
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x45836c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45836c], ax
mov esp, ebp
pop ebp
ret
Function at 0x44bef4
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 0x44c0b0
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x44bf55
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x44c0cc
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44bfc7
xor eax, eax
push ebp
push 0x44bfc0
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.0044bd4c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x44bfa9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x44c0ec
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 0x44bfc7
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 0x44c0a8
cmp byte [ebp - 0xd], 0
jne 0x44c009
cmp byte [ebp - 0x12], 0
je 0x44c0a8
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x44c022
dec ebx
cmp byte [ebx], 0x2e
je 0x44c031
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x44c021
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x44c0a8
inc ebx
cmp byte [ebp - 0x12], 0
je 0x44c05e
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 0x44c0a8
cmp byte [ebp - 0xd], 0
je 0x44c0a8
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 0x44c0a8
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 0x44c4cc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x44c5b4
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x45c2f8], 1
jae 0x44c5a6
xor eax, eax
mov dword [0x45bf04], eax
xor eax, eax
mov dword [0x45bf0c], eax
xor eax, eax
mov dword [0x45bf10], eax
mov byte [0x45bf16], 2
mov byte [0x45bf17], 2
mov byte [0x45bf18], 3
mov word [0x45c2c0], 0
mov word [0x45c2d0], 1
mov word [0x45c2e0], 0xa
mov dword [0x45c2e8], 0x80020004
mov dword [0x45c2b4], 0x44b688
mov dword [0x45c2b8], 0x44b680
mov dword [0x45c2bc], 0x44b688
call fcn.00449d9c
test al, al
je 0x44c565
call fcn.00449dcc
call fcn.00449e90
mov eax, 0x45bf1c
mov edx, 0x44c5c0
call fcn.004475e2
mov eax, 0x45c0e8
mov edx, 0x44c5c0
call fcn.004475e2
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x45befc], eax
call fcn.00448548
mov dword [0x45bef8], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x45bef0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c5bb
ret

Function at 0x450d04
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 0x450d66
call fcn.00450cb4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0044d088
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.0044d088
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 0x450de4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x459f50], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x450ebe
cmp dword [0x459f4c], 0
jne 0x450ebe
cmp dword [0x45a130], 0
je 0x450e78
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.00450bb4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x450e5e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00450bb4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x450e5e
lea ebx, [ebp - 0x84]
jmp 0x450e5f
inc ebx
call fcn.00450da0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x450ef9
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x459f54
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0044d088
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x459f57
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x450ef9
cmp dword [0x459f4c], 0
je 0x450ed8
cmp dword [0x459f4c], 0xffffffff
je 0x450ef9
push esi
call dword [0x459f4c]
pop ecx
mov eax, dword [0x459f50]
test eax, eax
je 0x450ef9
cmp dword [0x459f50], 0xffffffff
je 0x450ef9
cmp byte [eax], 0
je 0x450ef9
push esi
push eax
call fcn.00450d04
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451690
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x45cbfc], 0
jne 0x451711
cmp dword [0x45cc1c], 0
jne 0x4516c0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x45cc1c], eax
test eax, eax
jne 0x4516c0
push str.GetEnvironmentStrings_failed
call fcn.00450f10
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x45cc1c]
jmp 0x4516d4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0044d088
pop ecx
mov edi, eax
test eax, eax
jne 0x4516cc
lea edi, [ebp + 1]
push edi
call fcn.0044cae8
pop ecx
mov ebx, eax
mov dword [0x45cc00], ebx
test ebx, ebx
jne 0x4516fe
xor eax, eax
jmp 0x4517d4
push edi
mov edx, dword [0x45cc1c]
push edx
push ebx
call fcn.0044cf38
add esp, 0xc
jmp 0x451731
xor esi, esi
mov ebx, dword [0x45cbfc]
jmp 0x45172b
push eax
call fcn.0044d088
pop ecx
test eax, eax
jne 0x451727
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x45171b
lea ebx, [esi + 4]
push 4
mov dword [0x45cc04], ebx
inc ebx
push ebx
call fcn.0044c5c4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x451754
xor eax, eax
jmp 0x4517d4
cmp dword [0x45cbfc], 0
jne 0x451785
xor esi, esi
mov ebx, dword [0x45cc00]
mov eax, dword [esp]
mov ebp, eax
jmp 0x451776
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0044d088
pop ecx
mov edi, eax
test eax, eax
jne 0x45176c
jmp 0x4517b6
xor esi, esi
mov ebx, dword [0x45cbfc]
mov eax, dword [esp]
mov edi, eax
jmp 0x4517b0
push eax
call fcn.0044d088
pop ecx
test eax, eax
je 0x4517a5
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4517a9
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x451794
mov eax, dword [0x45cbfc]
test eax, eax
je 0x4517c6
push eax
call fcn.0044caf8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x45cbfc], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret