joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4e8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x484cb8]
cmp byte [eax + 0x95], 0
jne 0x42a55f
cmp dword [0x484cd4], 0
jne 0x42a51d
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x42a4a4
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x484cd4], eax
cmp dword [0x484cd0], 0
jne 0x42a538
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x484cd0], eax
cmp dword [0x484cd8], 0
jne 0x42a55f
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x42a444
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x484cd8], eax
pop ecx
pop ebp
ret

Function at 0x42a628
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0042a5c0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x42a649
xor eax, eax
call fcn.0042a5f8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ShowWindow
cmp byte [ebp - 9], 0
je 0x42a663
mov al, 1
call fcn.0042a5f8
mov esp, ebp
pop ebp
ret

Function at 0x42ac7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x484cb8]
cmp dword [eax + 0x24], 0
je 0x42ad43
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
jne 0x42ad3a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x42abfc
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp dword [eax + 8], 0
je 0x42ad3a
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x42acf7
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x42ad3a
mov dword [ebp - 0xc], eax
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0045876c
push eax
call sub.USER32.DLL_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x42ad0c
mov eax, dword [ebp - 4]
inc dword [eax + 0x84]
mov esp, ebp
pop ebp
ret

Function at 0x42b8c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
je 0x42b90d
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00470ef8
jmp 0x42b91b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
call fcn.00470e64
mov esp, ebp
pop ebp
ret
Function at 0x42cbbc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x42cc03
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.0043dfa4
test al, al
je 0x42cc03
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.0043dae0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42cc03
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.0043dae0
push eax
call sub.USER32.DLL_ShowWindow
pop ecx
pop ebp
ret

Function at 0x433060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
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 byte [ebp - 0x1d]
cmp dword [0x484d54], 0
sete al
or al, byte [ebp - 0x1d]
jne 0x4331af
mov eax, dword [0x484d58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x484d54]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x43317e
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x484d54]
call fcn.0045876c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x433172
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x433172
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x433172
mov eax, dword [ebp - 0x14]
call fcn.0043dae0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x433172
push ebp
call fcn.00433014
pop ecx
test al, al
jne 0x433172
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x43312e
mov eax, dword [ebp - 0x14]
call fcn.0043bcf8
dec eax
jle 0x433172
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.0047049c
cmp byte [ebp - 1], 0
je 0x433172
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x433172
mov edx, dword [ebp - 0x14]
mov eax, dword [0x484d58]
call fcn.00432588
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x4330c0
mov eax, dword [0x484d58]
cmp dword [eax + 8], 0
jle 0x433196
mov eax, dword [0x484d58]
call fcn.00432634
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4331af
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432e50
pop ecx
test al, al
jne 0x4331af
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 0x43a854
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, 0x84
jg 0x43a888
je 0x43a8eb
sub eax, 7
je 0x43a8a9
dec eax
je 0x43a8d9
sub eax, 0x17
je 0x43a9ad
jmp 0x43a9f7
add eax, 0xffffff00
sub eax, 9
jb 0x43a998
add eax, 0xffffff09
sub eax, 0xb
jb 0x43a951
jmp 0x43a9f7
mov eax, dword [ebp - 0x14]
call fcn.004215b4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43aa64
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x43aa6f
jmp 0x43aa64
mov eax, dword [ebp - 0x14]
test byte [eax + 0x44], 0x20
jne 0x43aa6f
jmp 0x43aa64
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00437310
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0xffffffff
jne 0x43aa6f
push 0
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.0046502c
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.0043566c
lea edx, [ebp - 0x124]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0043a6d8
test eax, eax
je 0x43aa6f
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 1
jmp 0x43aa6f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0043a794
test al, al
je 0x43aa64
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x43aa6f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0043dae0
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x43aa6f
mov eax, dword [ebp - 0x14]
call fcn.004366a0
test al, al
jne 0x43aa6f
jmp 0x43aa64
mov eax, dword [ebp - 0x14]
call fcn.0043dae0
mov ebx, eax
call sub.USER32.DLL_GetCapture
cmp ebx, eax
jne 0x43aa64
cmp dword [0x480b4c], 0
je 0x43aa64
mov eax, dword [0x480b4c]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x14]
jne 0x43aa64
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x480b4c]
call fcn.004371c4
jmp 0x43aa64
mov eax, dword [0x484d1c]
cmp byte [eax + 0x20], 0
je 0x43aa64
mov eax, dword [0x484d1c]
cmp dword [eax + 0x1c], 0
je 0x43aa64
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x484d1c]
cmp eax, dword [edx + 0x1c]
jne 0x43aa64
lea eax, [ebp - 0x11c]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.004214d0
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffb7
call fcn.0047049c
jmp 0x43aa6f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00437310
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b0b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e8], 0
je 0x43b0d1
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x43b106
mov eax, dword [ebp - 4]
test byte [eax + 0x45], 1
jne 0x43b0f6
mov eax, dword [ebp - 4]
call fcn.00439b68
test eax, eax
jne 0x43b0f6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43b230
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043ac2c
jmp 0x43b230
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x43b229
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0043dae0
push eax
call sub.USER32.DLL_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.004371c4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043b0b0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0043dae0
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b230
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.DLL_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x442f18
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4846f4]
cmp byte [eax + 8], 0
je 0x44308a
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x443083
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x484d60], 0
jne 0x442f71
push 0x443090
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 4], eax
push 0x443098
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d60], eax
cmp dword [0x480bac], 0
jne 0x44306c
push 0x4430a8
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x480bac], eax
cmp dword [0x480bac], 0
je 0x44306c
push 0x4430b4
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d64], eax
push 0x4430c4
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d68], eax
push 0x4430d8
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d6c], eax
push 0x4430f0
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d70], eax
push 0x443108
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d74], eax
push 0x44311c
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d78], eax
push 0x443134
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d7c], eax
push 0x44314c
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d80], eax
push 0x443168
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d84], eax
push 0x443174
mov eax, dword [0x480bac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x484d88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44308a
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret
Function at 0x447794
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x447879
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x484da0], 0
jne 0x44785b
lea eax, [ebp - 8]
mov edx, 0x447890
call fcn.00470ea8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0047127c
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44785b
mov eax, dword [ebp - 0xc]
call fcn.0046fab0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x447854
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0047127c
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x44783e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4478a0
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x44783e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [0x484da0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44785b
mov eax, dword [ebp - 0x14]
call fcn.0046fac8
ret
mov eax, dword [0x484da0]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447880
lea eax, [ebp - 8]
call fcn.00470e10
ret

Function at 0x45588c
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x484dc4], 0
jne 0x4558b2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4557ec
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x484dc4], eax
pop ebp
ret

Function at 0x45bc60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x45bc96
push ebp
call fcn.0045bbf0
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x45bcbc
push ebp
call fcn.0045bbf0
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.KERNEL32.DLL_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.0045b87c
mov esp, ebp
pop ebp
ret 4
Function at 0x467e28
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x467e59
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x467e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
jne 0x467e91
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x46a780
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x46a7c8
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.00470ef8
jmp 0x46a7d3
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00470e64
mov esp, ebp
pop ebp
ret 4

Function at 0x46a7dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x46a80a
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x46a810
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x46fd6c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46fda6
push 0x105
lea eax, [ebp - 0x111]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, dword [ebp - 8]
call fcn.00470ef8
jmp 0x46fdcf
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0046fca0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x46fdcf
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x46fdcf
dec dword [ebp - 4]
jmp 0x46fdae
mov esp, ebp
pop ebp
ret
Function at 0x4700e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x481044]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x47017c
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x47015c
xor eax, eax
push ebp
push 0x470155
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 0x470198
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 0x47015c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x481044]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x481044], ax
mov esp, ebp
pop ebp
ret
Function at 0x472a4c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x125]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0x472c24
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x472aab
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0x472c40
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x472b1f
xor eax, eax
push ebp
push 0x472b18
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16]
push eax
push 0
push 0
push ebp
lea eax, [ebp - 0x125]
call fcn.00472864
pop ecx
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x472b01
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16]
push eax
push 0
push 0
push 0x472c60
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472b1f
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0x11]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov dword [ebp - 8], eax
cmp byte [ebp - 0x125], 0
je 0x472c1d
cmp byte [ebp - 0x11], 0
jne 0x472b64
cmp byte [ebp - 0x16], 0
je 0x472c1d
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_lstrlenA
lea edx, [ebp - 0x125]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x472b80
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x2e
je 0x472b93
lea eax, [ebp - 0x125]
cmp eax, dword [ebp - 0x20]
jne 0x472b7d
lea eax, [ebp - 0x125]
cmp eax, dword [ebp - 0x20]
je 0x472c1d
inc dword [ebp - 0x20]
cmp byte [ebp - 0x16], 0
je 0x472bc7
lea eax, [ebp - 0x16]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x472c1d
cmp byte [ebp - 0x11], 0
je 0x472c1d
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x472c1d
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret