joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412602
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x10]
push 0x419
push dword [ebp + 0xc]
call esi
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x41d
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret

Function at 0x4135a0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
push edi
push dword [ebx + 0x38]
call fcn.004134c2
pop ecx
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4136e1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0x30]
jne 0x4136e1
push dword [ebx + 0x24]
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_GetSubMenu]
xor edi, edi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x4136e1
push esi
push 1
pop esi
mov ecx, ebx
push esi
mov dword [ebx + 0x14], esi
push dword [ebx + 0x24]
call fcn.00413225
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], edi
push dword [ebx + 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.004131f0
mov eax, dword [ebp - 0x1c]
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebx + 0x2c]
call esi
lea eax, [ebp - 0x1c]
push 2
push eax
push edi
push dword [ebx + 0x2c]
call esi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x14
mov dword [0x433004], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
push eax
push esi
push 0x4136e5
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x433008], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x2c]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x140
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
cmp eax, esi
je 0x4136b6
push 0xaffe0000
push eax
push 0x111
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebx + 0x10], 0xffffffff
push esi
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.00413225
push dword [0x433008]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x433008], esi
mov dword [0x433004], esi
mov dword [ebx + 0x18], esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x414305
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 8], 0xffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
xor edi, edi
call ebx
test eax, eax
jle 0x414346
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 9
je 0x414343
push dword [ebp + 0x10]
add dword [ebp - 4], 2
inc edi
call ebx
cmp edi, eax
jl 0x41432a
jmp 0x414346
mov dword [ebp - 8], edi
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esi + 0x48], 0
jne 0x414389
push str.NULL_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 6
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetCurrentObject]
test eax, eax
je 0x414389
lea ebx, [esi + 0x50]
push ebx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push ebx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4cc]
mov ebx, 0x100000
neg eax
sbb eax, eax
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
and eax, 0xfff00000
add eax, ebx
or al, 0x24
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x4143e6
mov ecx, dword [esi + 0x4cc]
neg ecx
sbb ecx, ecx
and ecx, 0xfff00000
add ecx, ebx
or ecx, 0x26
push ecx
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ecx + eax*2 + 2]
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call edi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401029
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [str.B_ym]
and dword [ebp - 8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x440ef4]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
call fcn.00401022
mov eax, dword [0x440ef8]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x440efc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, dword [0x245e8cc]
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x18]
cmp eax, 0xfa9
jne 0x40109f
mov dword [0x245e8c8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ad
and dword [0x245e354], 0
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, ecx
sub edi, eax
cmp dword [0x245e8cc], 0xc
mov dword [0x245e8c4], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010fd
lea eax, [ebp - 0x28]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
lea eax, [ebp - 0x828]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x1c]
add ecx, edi
xor eax, ecx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401076
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret

Function at 0x40113b
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x245e8cc]
mov ecx, dword [0x245e358]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4011f6
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x245e8cc], 0x959
jne 0x4011e5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.zewaxuwawazuwuyuvivi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401029
add ebx, 8
dec edi
jne 0x401163
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401496
Capabilities:
Clear file content
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
xor esi, esi
cmp dword [0x245e8cc], 0x400
push edi
jne 0x4014f3
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.0040162d
push esi
push esi
call fcn.00401763
push esi
call fcn.00401d81
push esi
push esi
call fcn.00401bcc
push esi
call fcn.00401e17
push esi
push esi
call fcn.00401667
add esp, 0x24
xor edi, edi
cmp edi, 0x16d2a
jge 0x40150b
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x401530
inc edi
cmp edi, 0x3011b
jl 0x4014f5
mov eax, dword [0x44133c]
mov dword [0x245e8cc], eax
call fcn.004011f9
mov edi, 0x3078f
cmp dword [0x245e8cc], 0x51f
jne 0x40155e
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x401544
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x405e1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440678]
jne 0x405e25
repz ret
jmp fcn.00407c5a
Function at 0x407460
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x440678]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404a33
and dword [ebp - 0x14], 0
cmp dword [0x44be90], 0
mov dword [ebp - 0x18], eax
jne 0x407513
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4075bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4075bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44be90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44be94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44be98], eax
call edi
push eax
call esi
mov dword [0x44bea0], eax
test eax, eax
je 0x407513
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44be9c], eax
mov eax, dword [0x44be9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40756c
cmp dword [0x44bea0], ecx
je 0x40756c
push eax
call esi
push dword [0x44bea0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40756c
test ebx, ebx
je 0x40756c
call edi
test eax, eax
je 0x407563
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407563
test byte [ebp - 8], 1
jne 0x40756c
or dword [ebp + 0x10], 0x200000
jmp 0x40759f
mov eax, dword [0x44be94]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40759f
mov eax, dword [0x44be98]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44be90]
call esi
test eax, eax
je 0x4075bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4075bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405e1b
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x60e63963
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3e9f43c5
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00
Function at 0x404750
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406554
test esi, esi
jne 0x404786
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.004066ac
jmp 0x4047a4
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404694
mov edi, eax
test esi, esi
je 0x4047a4
cmp dword [ebx], 0
je 0x4047a4
dec esi
jmp 0x40478d
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4047b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x44b008], 0x8088405
inc edx
mov dword [ebx + 0x44b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4055c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405878
mov byte [esp], al
cmp byte [esp], 0
jne 0x405754
test edi, edi
je 0x405754
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40568b
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405666
cmp edi, 0xffffffff
je 0x405627
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405627
mov byte [esp], 0
jmp 0x405754
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405666
test ebx, ebx
jne 0x40565c
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402694
test eax, eax
jne 0x40565c
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405754
call 0x4058bc
dec ebp
test ebp, ebp
jg 0x40560c
cmp edi, 0xffffffff
je 0x40568b
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405689
mov byte [esp], 0
jmp 0x405754
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4055d6
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402694
cmp ebx, eax
jne 0x40568b
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004057c4
mov edx, eax
mov ebx, dword [0x4508f0]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4056f2
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4056f0
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4056f2
xor edi, edi
cmp byte [esp], 0
je 0x40571b
mov ebx, dword [esi]
test bl, 1
jne 0x405734
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402694
cmp ebx, eax
jne 0x4056f8
mov byte [esp + 1], 1
jmp 0x405734
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402694
cmp ebx, eax
jne 0x40571b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4056a5
cmp byte [esp], 0
je 0x405754
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4062bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x450050], 0
je 0x406323
cmp word [0x45033c], 0xd7b2
jne 0x4062e5
cmp dword [0x450344], 0
jbe 0x4062e5
mov eax, 0x450338
call dword [0x450354]
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
mov eax, 0x406350
call fcn.00406ce4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44b032], 0
jne 0x40633f
push 0
push 0x44b9ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x408614
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408779
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406554
cmp si, word [0x44b9f8]
jb 0x4086ac
cmp si, word [0x44bbf8]
ja 0x4086ac
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4086ac
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x44b9f8]
jae 0x408686
mov edi, ebx
dec edi
jmp 0x4086a7
cmp si, word [ebx*8 + 0x44b9f8]
jbe 0x408696
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4086a7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x44b9fc]
call fcn.00408524
jmp 0x4086ac
cmp edi, dword [ebp - 8]
jae 0x408670
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40875b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40875b
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407044
push dword [ebp - 0x160]
push 0x408794
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407044
push dword [ebp - 0x164]
push 0x4087a4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407044
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040727c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408780
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004065b4
ret
Function at 0x40892c
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 0x408a2f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x452b80
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x452b98]
jne 0x408978
mov eax, esi
mov edx, 0x452b9a
mov ecx, 0x55
call fcn.00407044
push 0x452b80
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408a19
push 0x452b80
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406554
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089e7
cmp byte [0x452b7c], 0
je 0x4089ac
mov edx, esi
mov eax, ebx
call fcn.00408810
jmp 0x4089e7
mov edx, esi
mov eax, ebx
call fcn.00408614
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4089e7
cmp dword [esi], 0
je 0x4089d0
mov eax, esi
mov edx, 0x408a48
call fcn.0040719c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408614
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040719c
push 0x452b80
call sub.kernel32.dll_EnterCriticalSection
mov word [0x452b98], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406fb0
push eax
push 0x452b9a
call sub.kernel32.dll_lstrcpynW
push 0x452b80
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a36
lea eax, [ebp - 4]
call fcn.00406554
ret