joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f70c
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 0x41f8b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x41f898
mov dl, 1
mov eax, dword [0x434830]
call fcn.00443794
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00444234
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x41f887
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.00433764
test al, al
je 0x41f87a
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, 0x41f8c8
lea eax, [ebp - 0x254]
call fcn.0043ec10
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41f87a
xor eax, eax
push ebp
push 0x41f873
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 0x41f900
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41f85c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00444464
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 0x41f85c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00444464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f87a
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x41f77d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00437850
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 0x41f8be
lea eax, [ebp - 0x260]
call fcn.00444234
ret

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

Disassembly:
push ecx
mov eax, dword [0x469778]
cmp byte [eax + 0x95], 0
jne 0x420175
cmp dword [0x469794], 0
jne 0x420136
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4200c0
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x469794], eax
cmp dword [0x469790], 0
jne 0x420151
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x469790], eax
cmp dword [0x469798], 0
jne 0x420175
push esp
push 0
push 0
push 0x420064
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x469798], eax
pop edx
ret
Function at 0x42026c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x420283
add esp, 0xfffffff0
call fcn.00443ac4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043a7bc
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x4344f4]
call fcn.00443794
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4344f4]
call fcn.00443794
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 [0x40dbac]
call fcn.0041503c
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4203f8
mov eax, dword [0x46956c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041540c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x421d6c
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46956c]
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.0043ffc8
test eax, eax
je 0x420376
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043e5c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043fff0
test eax, eax
je 0x42038a
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.00444464
mov eax, dword [0x469570]
cmp byte [eax], 0
jne 0x4203bb
mov eax, ebx
call fcn.004204e4
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 0x4203ed
call fcn.00443b1c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420754
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x469778]
cmp dword [eax + 0x24], 0
je 0x4207f7
cmp dword [ebx + 0x84], 0
jne 0x4207f1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4206e4
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4207f1
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 0x4207ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4207f1
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.00435ba8
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4207c9
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x421204
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 0x421239
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.0044431c
jmp 0x421243
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00444288
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4220e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x422118
mov eax, esi
call fcn.0042f51c
test al, al
je 0x422118
mov eax, dword [ebx + 0x74]
call fcn.0042f220
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x422118
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042f220
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x426f94
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 [0x469814], 0
sete dl
or al, dl
jne 0x4270d4
mov eax, dword [0x469818]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x469814]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4270a3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x469814]
call fcn.00435ba8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42709b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42709b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42709b
mov eax, dword [ebp - 0x14]
call fcn.0042f220
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42709b
push ebp
call fcn.00426f50
pop ecx
test al, al
jne 0x42709b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x427057
mov eax, dword [ebp - 0x14]
call fcn.0042dbac
dec eax
jle 0x42709b
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.004439a0
cmp byte [ebp - 1], 0
je 0x42709b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x42709b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x469818]
call fcn.0042679c
inc edi
dec esi
jne 0x426fea
mov eax, dword [0x469818]
cmp dword [eax + 8], 0
jle 0x4270bb
mov eax, dword [0x469818]
call fcn.0042682c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4270d4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00426db8
pop ecx
test al, al
jne 0x4270d4
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 0x42cbb8
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 0x42cbe9
je 0x42cc43
sub eax, 7
je 0x42cc0a
dec eax
je 0x42cc34
sub eax, 0x17
je 0x42cce8
jmp 0x42cd26
add eax, 0xffffff00
sub eax, 9
jb 0x42ccd4
add eax, 0xffffff09
sub eax, 0xb
jb 0x42cc9c
jmp 0x42cd26
mov eax, ebx
call fcn.00418e50
mov edi, eax
test edi, edi
je 0x42cd86
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42cd8f
jmp 0x42cd86
test byte [ebx + 0x44], 0x20
jne 0x42cd8f
jmp 0x42cd86
mov edx, esi
mov eax, ebx
call fcn.0042a224
cmp dword [esi + 0xc], 0xffffffff
jne 0x42cd8f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0043c40c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00428d70
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042ca90
test eax, eax
je 0x42cd8f
mov dword [esi + 0xc], 1
jmp 0x42cd8f
mov edx, esi
mov eax, ebx
call fcn.0042cb24
test al, al
je 0x42cd86
cmp dword [esi + 0xc], 0
jne 0x42cd8f
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.0042f220
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x42cd8f
mov eax, ebx
call fcn.004298c0
test al, al
jne 0x42cd8f
jmp 0x42cd86
mov eax, ebx
call fcn.0042f220
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x42cd86
cmp dword [0x465370], 0
je 0x42cd86
mov eax, dword [0x465370]
cmp ebx, dword [eax + 0x24]
jne 0x42cd86
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x465370]
call fcn.0042a158
jmp 0x42cd86
mov eax, dword [0x4697dc]
cmp byte [eax + 0x20], 0
je 0x42cd86
mov eax, dword [0x4697dc]
cmp dword [eax + 0x1c], 0
je 0x42cd86
mov eax, dword [esi]
mov edx, dword [0x4697dc]
cmp eax, dword [edx + 0x1c]
jne 0x42cd86
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.00418d94
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.004439a0
jmp 0x42cd8f
mov edx, esi
mov eax, ebx
call fcn.0042a224
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d250
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 0x42d26c
cmp dword [esi + 4], 0
je 0x42d299
test byte [ebx + 0x45], 1
jne 0x42d28b
mov eax, ebx
call fcn.0042c1f4
test eax, eax
jne 0x42d28b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42d3a9
mov edx, esi
mov eax, ebx
call fcn.0042cec8
jmp 0x42d3a9
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 0x42d3a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042f220
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.0042a158
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042d250
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.0042f220
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d3a9
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 0x43eda0
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 0x43edd9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0044431c
jmp 0x43ede2
mov eax, ebx
mov edx, esi
call fcn.00444288
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43edec
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 0x43ee0d
mov al, byte [esp]
jmp 0x43ee0f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44363c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46566c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4436d4
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4436b4
xor eax, eax
push ebp
push 0x4436ad
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 0x4436f0
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 0x4436b4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x46566c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46566c], ax
mov esp, ebp
pop ebp
ret
Function at 0x445764
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 0x445920
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4457c5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x44593c
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x445837
xor eax, eax
push ebp
push 0x445830
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.004455bc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x445819
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x44595c
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 0x445837
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 0x445918
cmp byte [ebp - 0xd], 0
jne 0x445879
cmp byte [ebp - 0x12], 0
je 0x445918
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x445892
dec ebx
cmp byte [ebx], 0x2e
je 0x4458a1
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x445891
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x445918
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4458ce
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 0x445918
cmp byte [ebp - 0xd], 0
je 0x445918
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 0x445918
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 0x445d0c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x445df4
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x469e8c], 1
jae 0x445de6
xor eax, eax
mov dword [0x469a98], eax
xor eax, eax
mov dword [0x469aa0], eax
xor eax, eax
mov dword [0x469aa4], eax
mov byte [0x469aaa], 2
mov byte [0x469aab], 2
mov byte [0x469aac], 3
mov word [0x469e54], 0
mov word [0x469e64], 1
mov word [0x469e74], 0xa
mov dword [0x469e7c], 0x80020004
mov dword [0x469e48], 0x444ef8
mov dword [0x469e4c], 0x444ef0
mov dword [0x469e50], 0x444ef8
call fcn.0044360c
test al, al
je 0x445da5
call fcn.0044363c
call fcn.00443700
mov eax, 0x469ab0
mov edx, 0x445e00
call fcn.00440ee6
mov eax, 0x469c7c
mov edx, 0x445e00
call fcn.00440ee6
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x469a90], eax
call fcn.00441e4c
mov dword [0x469a8c], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x469a84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445dfb
ret

Function at 0x447dec
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x447e32
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
je 0x447e20
cmp eax, dword [ebp + 0x10]
jle 0x447ebb
call fcn.0044a708
mov dword [eax], 8
xor eax, eax
jmp 0x447f28
cmp dword [0x46a77c], 1
jne 0x447e77
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x447ebb
xor eax, eax
jmp 0x447f28
call sub.KERNEL32.DLL_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x447eb7
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.DLL_GetFullPathNameA
jmp 0x447ebb
xor eax, eax
jmp 0x447f28
lea edx, [ebp - 0x10c]
push edx
call fcn.004468c8
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x447edc
call fcn.0044a708
mov dword [eax], 0x22
xor eax, eax
jmp 0x447f28
test edi, edi
jne 0x447eff
mov edx, dword [ebp + 0x10]
push edx
call fcn.00446328
pop ecx
mov edi, eax
test eax, eax
jne 0x447eff
call fcn.0044a708
mov dword [eax], 8
xor eax, eax
jmp 0x447f28
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a6a0
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 0x44a702
call fcn.0044a650
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004468c8
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.004468c8
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 0x44a780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x467254], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44a85a
cmp dword [0x467250], 0
jne 0x44a85a
cmp dword [0x46745c], 0
je 0x44a814
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.0044a550
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44a7fa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0044a550
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44a7fa
lea ebx, [ebp - 0x84]
jmp 0x44a7fb
inc ebx
call fcn.0044a73c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44a895
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x467258
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004468c8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x46725b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44a895
cmp dword [0x467250], 0
je 0x44a874
cmp dword [0x467250], 0xffffffff
je 0x44a895
push esi
call dword [0x467250]
pop ecx
mov eax, dword [0x467254]
test eax, eax
je 0x44a895
cmp dword [0x467254], 0xffffffff
je 0x44a895
cmp byte [eax], 0
je 0x44a895
push esi
push eax
call fcn.0044a6a0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret