joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446244
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46c75c]
cmp dword [eax + 0x30], 0
je 0x4462ee
cmp dword [ebx + 0x94], 0
jne 0x4462e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4461d4
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4462e8
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 0x4462ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4462e8
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.00409ba4
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4462bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x446dcc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x446e01
push 0x100
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.00427d38
jmp 0x446e0e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00427c9c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x447ed4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x447f15
mov eax, esi
call fcn.00455c8c
test al, al
je 0x447f15
mov eax, dword [ebx + 0x84]
call fcn.00455988
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x447f15
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455988
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x44cee8
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 - 9]
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
cmp dword [0x46c800], 0
je 0x44d037
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46ba58]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44d037
mov eax, dword [0x46c804]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46c800]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44d006
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46c800]
call fcn.00409ba4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44cffe
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44cffe
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44cffe
mov eax, dword [ebp - 0x14]
call fcn.00455988
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44cffe
push ebp
call fcn.0044cea4
pop ecx
test al, al
jne 0x44cffe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44cfba
mov eax, dword [ebp - 0x14]
call fcn.0045451c
dec eax
jle 0x44cffe
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00427310
cmp byte [ebp - 1], 0
je 0x44cffe
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x44cffe
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46c804]
call fcn.0044c66c
inc edi
dec ebx
jne 0x44cf4d
mov eax, dword [0x46c804]
cmp dword [eax + 8], 0
jle 0x44d01e
mov eax, dword [0x46c804]
call fcn.0044c6fc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44d037
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044cd0c
pop ecx
test al, al
jne 0x44d037
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 0x4505e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x450630
mov eax, esi
call fcn.0043e368
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x450630
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x450630
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x45076f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x450670
cmp eax, 0x108
ja 0x450670
mov eax, esi
call fcn.0043e368
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x450766
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x45076f
jmp 0x450766
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45074f
cmp eax, 0x20a
ja 0x45074f
test byte [esi + 0x50], 0x80
jne 0x4506a2
sub eax, 0x203
je 0x45069f
sub eax, 3
je 0x45069f
sub eax, 3
jne 0x4506a2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4506b6
dec eax
je 0x4506cb
dec eax
je 0x4506e8
dec eax
je 0x4506cb
jmp 0x4506ef
mov ecx, ebx
mov eax, dword [0x46ba58]
mov eax, dword [eax]
mov edx, esi
call fcn.00447d8c
jmp 0x450766
cmp byte [esi + 0x5d], 1
jne 0x4506e1
mov eax, esi
mov si, 0xffed
call fcn.00427310
jmp 0x45076f
or word [esi + 0x54], 1
jmp 0x450766
and word [esi + 0x54], 0xfffe
jmp 0x450766
mov eax, dword [0x46c7bc]
cmp byte [eax + 0x20], 0
je 0x450766
mov eax, dword [0x46c7bc]
cmp dword [eax + 0x1c], 0
je 0x450766
mov eax, dword [ebx]
mov edx, dword [0x46c7bc]
cmp eax, dword [edx + 0x1c]
jne 0x450766
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0043e2ac
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00427310
jmp 0x45076f
cmp eax, 0xb00b
jne 0x450766
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044ef20
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453bb8
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 + 0x1f8], 0
je 0x453bd4
cmp dword [esi + 4], 0
je 0x453c01
test byte [ebx + 0x55], 1
jne 0x453bf3
mov eax, ebx
call fcn.0045287c
test eax, eax
jne 0x453bf3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x453d11
mov edx, esi
mov eax, ebx
call fcn.004536d8
jmp 0x453d11
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 0x453d0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00455988
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.00450518
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00453bb8
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.00455988
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453d11
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 0x45a064
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46b894]
cmp byte [eax + 0xc], 0
je 0x45a1d1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a1ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46c810], 0
jne 0x45a0b8
push 0x45a1d8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x45a1e0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c810], eax
cmp dword [0x4683a4], 0
jne 0x45a1b3
push 0x45a1f0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4683a4], eax
cmp dword [0x4683a4], 0
je 0x45a1b3
push 0x45a1fc
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c814], eax
push 0x45a20c
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c818], eax
push 0x45a220
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c81c], eax
push 0x45a238
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c820], eax
push 0x45a250
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c824], eax
push 0x45a264
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c828], eax
push 0x45a27c
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c82c], eax
push 0x45a294
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c830], eax
push 0x45a2b0
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c834], eax
push 0x45a2bc
mov eax, dword [0x4683a4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c838], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a1d1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45f34c
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 0x45f3ae
call fcn.0045f2fc
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0045b64c
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.0045b64c
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 0x45f42c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x469f8c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x45f506
cmp dword [0x469f88], 0
jne 0x45f506
cmp dword [0x46a16c], 0
je 0x45f4c0
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.0045f1fc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x45f4a6
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0045f1fc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x45f4a6
lea ebx, [ebp - 0x84]
jmp 0x45f4a7
inc ebx
call fcn.0045f3e8
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x45f541
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x469f90
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0045b64c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x469f93
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x45f541
cmp dword [0x469f88], 0
je 0x45f520
cmp dword [0x469f88], 0xffffffff
je 0x45f541
push esi
call dword [0x469f88]
pop ecx
mov eax, dword [0x469f8c]
test eax, eax
je 0x45f541
cmp dword [0x469f8c], 0xffffffff
je 0x45f541
cmp byte [eax], 0
je 0x45f541
push esi
push eax
call fcn.0045f34c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fcd8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x46d09c], 0
jne 0x45fd59
cmp dword [0x46d0bc], 0
jne 0x45fd08
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x46d0bc], eax
test eax, eax
jne 0x45fd08
push str.GetEnvironmentStrings_failed
call fcn.0045f558
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x46d0bc]
jmp 0x45fd1c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0045b64c
pop ecx
mov edi, eax
test eax, eax
jne 0x45fd14
lea edi, [ebp + 1]
push edi
call fcn.0045af20
pop ecx
mov ebx, eax
mov dword [0x46d0a0], ebx
test ebx, ebx
jne 0x45fd46
xor eax, eax
jmp 0x45fe1c
push edi
mov edx, dword [0x46d0bc]
push edx
push ebx
call fcn.0045b4cc
add esp, 0xc
jmp 0x45fd79
xor esi, esi
mov ebx, dword [0x46d09c]
jmp 0x45fd73
push eax
call fcn.0045b64c
pop ecx
test eax, eax
jne 0x45fd6f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x45fd63
lea ebx, [esi + 4]
push 4
mov dword [0x46d0a4], ebx
inc ebx
push ebx
call fcn.0045a9f8
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x45fd9c
xor eax, eax
jmp 0x45fe1c
cmp dword [0x46d09c], 0
jne 0x45fdcd
xor esi, esi
mov ebx, dword [0x46d0a0]
mov eax, dword [esp]
mov ebp, eax
jmp 0x45fdbe
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0045b64c
pop ecx
mov edi, eax
test eax, eax
jne 0x45fdb4
jmp 0x45fdfe
xor esi, esi
mov ebx, dword [0x46d09c]
mov eax, dword [esp]
mov edi, eax
jmp 0x45fdf8
push eax
call fcn.0045b64c
pop ecx
test eax, eax
je 0x45fded
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x45fdf1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x45fddc
mov eax, dword [0x46d09c]
test eax, eax
je 0x45fe0e
push eax
call fcn.0045af30
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x46d09c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404548
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406804
test esi, esi
jne 0x404580
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406940
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405dc8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ae050], 0
je 0x405e29
cmp word [0x4ae32c], 0xd7b2
jne 0x405df1
cmp dword [0x4ae334], 0
jbe 0x405df1
mov eax, 0x4ae328
call dword [0x4ae344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x405e54
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ab030], 0
jne 0x405e45
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fb4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4ab034], 0
je 0x405fda
mov edx, esi
mov eax, ebx
call dword [0x4ab034]
jmp 0x405fe9
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4ae051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405f7c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4085cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408733
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406804
cmp si, word [0x4ab7dc]
jb 0x408666
cmp si, word [0x4ab9dc]
ja 0x408666
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408666
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4ab7dc]
jae 0x408640
mov edi, ebx
dec edi
jmp 0x408661
cmp si, word [ebx*8 + 0x4ab7dc]
jbe 0x408650
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408661
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4ab7e0]
call fcn.004084dc
jmp 0x408666
cmp edi, dword [ebp - 0xc]
jae 0x40862a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408715
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408715
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004069ec
push dword [ebp - 0x164]
push 0x408750
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004069ec
push dword [ebp - 0x168]
push 0x408760
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004069ec
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40873a
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004067fc
ret
Function at 0x4088ec
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4089f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b0b58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4b0b70]
jne 0x408938
mov eax, esi
mov edx, 0x4b0b74
mov ecx, 0x55
call fcn.004069ec
push 0x4b0b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4089db
push 0x4b0b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406804
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089a9
cmp byte [0x4b0b54], 0
je 0x40896e
mov edx, esi
mov eax, ebx
call fcn.004087cc
jmp 0x4089a9
mov edx, esi
mov eax, ebx
call fcn.004085cc
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4089a9
cmp dword [esi], 0
je 0x408992
mov eax, esi
mov edx, 0x408a0c
call fcn.00406c00
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004085cc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406c00
push 0x4b0b58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4b0b70], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406890
push eax
push 0x4b0b74
call sub.kernel32.dll_lstrcpynW
push 0x4b0b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4089f8
lea eax, [ebp - 4]
call fcn.004067f4
ret
Function at 0x4090e0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.004067ec
mov eax, dword [ebp - 0x21c]
call fcn.004067ec
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x40927f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406804
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406890
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x409180
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x409192
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x40917d
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40924b
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x4091bb
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00408c30
cmp dword [ebp - 0x220], 0
je 0x4091f3
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00408fd4
pop ecx
mov ebx, eax
jmp 0x40924b
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.004088ec
mov eax, dword [ebp - 0x224]
call fcn.00408fd4
pop ecx
mov ebx, eax
test bl, bl
jne 0x40923e
cmp byte [0x4b0b54], 0
jne 0x40923e
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.004088ec
mov eax, dword [ebp - 0x228]
call fcn.00408fd4
pop ecx
mov ebx, eax
test bl, bl
jne 0x40924b
push ebp
call fcn.00409084
pop ecx
mov ebx, eax
test bl, bl
je 0x409261
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004069ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409286
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.004067fc
ret

Function at 0x4099f8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret