joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432ba8
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 + 0x210], 0
je 0x432bc4
cmp dword [esi + 4], 0
je 0x432bf1
test byte [ebx + 0x55], 1
jne 0x432be3
mov eax, ebx
call fcn.00431334
test eax, eax
jne 0x432be3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x432d01
mov edx, esi
mov eax, ebx
call fcn.004325e4
jmp 0x432d01
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x432cfa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00434b88
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.0042ef34
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00432ba8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00434b88
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432d01
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 0x439950
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45239c]
cmp byte [eax + 0xc], 0
je 0x439abd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x439ab6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x453af4], 0
jne 0x4399a4
push 0x439ac4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x439acc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453af4], eax
cmp dword [0x451d94], 0
jne 0x439a9f
push 0x439adc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x451d94], eax
cmp dword [0x451d94], 0
je 0x439a9f
push 0x439ae8
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453af8], eax
push 0x439af8
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453afc], eax
push 0x439b0c
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b00], eax
push 0x439b24
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b04], eax
push 0x439b3c
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b08], eax
push 0x439b50
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b0c], eax
push 0x439b68
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b10], eax
push 0x439b80
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b14], eax
push 0x439b9c
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b18], eax
push 0x439ba8
mov eax, dword [0x451d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x453b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439abd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43d980
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.00403ebc
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43d9ce
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.0040412c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441940
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441a73
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41a874]
call fcn.0041a944
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x441a49
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041a9e4
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.0040412c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x441a88
call fcn.004041c8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041aa48
lea ecx, [ebp - 4]
mov edx, 0x441ac4
mov eax, dword [ebp - 0xc]
call fcn.0041ac78
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040caa0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x441a2c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x441ad0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x451ea0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441a33
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x441b20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x441b67
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x441b4a
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x441b5b
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x441b67
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x44564c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4456a0]
test si, 4
je 0x445661
or bl, 1
test si, 8
je 0x44566b
or bl, 4
test si, 1
je 0x445675
or bl, 8
test si, 2
je 0x44567f
or bl, 0x10
test si, 0x10
je 0x445689
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445698
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4456a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4456e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4456be
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4456cd
or bl, 4
test esi, 0x20000000
je 0x4456d8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c754
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c766
add esp, 0xfffffff0
call fcn.0040345c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419424
mov eax, dword [0x452088]
mov dword [eax + 4], ebx
mov dword [eax], 0x44caf8
mov eax, dword [0x452094]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cb04
mov eax, ebx
call fcn.0044cb10
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4487e0
push eax
push 0
push 0
mov eax, dword [0x4521cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b43c]
call fcn.0041c8b4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b43c]
call fcn.0041c8b4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b43c]
call fcn.0041c8b4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044cf4c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce10
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce10
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ce10
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c8a3
call fcn.004034b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44cbf4
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 0x44cd9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44cd80
mov dl, 1
mov eax, dword [0x411714]
call fcn.00403120
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ebc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44cd6f
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.00439cac
test al, al
je 0x44cd62
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, 0x44cdb0
lea eax, [ebp - 0x254]
call fcn.004088cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44cd62
xor eax, eax
push ebp
push 0x44cd5b
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 0x44cde8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44cd44
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040412c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44cd44
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040412c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cd62
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44cc65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415374
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cda6
lea eax, [ebp - 0x260]
call fcn.00403ebc
ret

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

Disassembly:
push ecx
mov eax, dword [0x453b40]
cmp byte [eax + 0xad], 0
jne 0x44d795
cmp dword [0x453b58], 0
jne 0x44d756
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d6e0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x453b58], eax
cmp dword [0x453b54], 0
jne 0x44d771
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453b54], eax
cmp dword [0x453b5c], 0
jne 0x44d795
push esp
push 0
push 0
push 0x44d684
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x453b5c], eax
pop edx
ret
Function at 0x44d968
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d97f
add esp, 0xfffffff0
call fcn.0040345c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419424
mov eax, dword [0x4521b8]
cmp word [eax + 2], 0
jne 0x44d9a7
mov eax, dword [0x4521b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f3d4
mov eax, dword [0x452258]
cmp word [eax + 2], 0
jne 0x44d9c1
mov eax, dword [0x452258]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f5e0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4112f0]
call fcn.00403120
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41bc10]
call fcn.00421988
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44db70
mov eax, dword [0x4520e8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421d5c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44fd04
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4520e8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bf30
test eax, eax
je 0x44dac8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408300
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf64
test eax, eax
je 0x44dadc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040412c
push ebx
push 0x44ef34
call fcn.0041a58c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x451ff8]
cmp byte [eax], 0
jne 0x44db26
mov eax, ebx
call fcn.0044dcb4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0044fee0
mov eax, ebx
call fcn.00450a30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44db66
call fcn.004034b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44df34
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453b40]
cmp dword [eax + 0x30], 0
je 0x44dfde
cmp dword [ebx + 0x94], 0
jne 0x44dfd8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dec4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44dfd8
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 0x44df9e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dfd8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041366c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dfad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ecf8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x44ed2d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fac
jmp 0x44ed3a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f10
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4500c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450132
mov eax, esi
call fcn.00434e5c
test al, al
je 0x450132
mov eax, dword [ebx + 0x84]
call fcn.00434b88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450132
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x450126
push 0
mov eax, dword [ebx + 0x84]
call fcn.00434b88
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0042dc04
jmp 0x450132
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044ff00
pop esi
pop ebx
ret
Function at 0x403a84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x495020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403afc
xor eax, eax
push ebp
push 0x403af5
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 0x403b38
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 0x403afc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x495020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x495020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404820
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49804c], 0
je 0x404881
cmp word [0x498220], 0xd7b2
jne 0x404849
cmp dword [0x498228], 0
jbe 0x404849
mov eax, 0x49821c
call dword [0x498238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x495070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4048a8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x495030], 0
jne 0x40489d
push 0
push 0x495068
push 0x495070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4049dc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402af0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49804d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4049a4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406a08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406a6e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404ca8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004034e0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406a58
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a75
lea eax, [ebp - 0x10]
call fcn.00404a28
ret

Function at 0x40bfd8
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c011
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b18
jmp 0x40c01a
mov eax, ebx
mov edx, esi
call fcn.00404a7c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c024
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_1
test eax, eax
jle 0x40c045
mov al, byte [esp]
jmp 0x40c047
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c6dc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c544
mov eax, dword [0x4973d0]
cmp byte [eax], 0
je 0x40c758
mov eax, dword [0x497098]
call fcn.00403138
call fcn.00402c7c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409794
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c7a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c78e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49701c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x498668]
call fcn.00405e74
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d050
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d126
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404ac0
lea eax, [ebp - 8]
call fcn.00404f48
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ef8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d110
mov eax, ebx
call fcn.00402af0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d109
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ef8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d0f3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d138
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d0f3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d110
mov eax, dword [ebp - 0x10]
call fcn.00402b20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d12d
lea eax, [ebp - 8]
call fcn.00404a28
ret

Function at 0x40d700
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d764
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404ca8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409230
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d76b
lea eax, [ebp - 0xc]
call fcn.00404a28
ret

Function at 0x41e840
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041e698
dec esi
jne 0x41e862
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret