joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401434
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401446
mov eax, dword [0x4e008b]
shl eax, 2
mov dword [0x4e008f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004d5b54
pop edx
call fcn.004d5ab8
call fcn.004d5b94
push 0
call fcn.004d6fa0
pop ecx
push 0x4e0034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4e0093], eax
push 0
jmp fcn.004dadd0

Function at 0x401a9c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401ac1
xor eax, eax
jmp 0x401adc
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
mov esi, eax
test esi, esi
jne 0x401ad4
mov esi, 1
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x401ae0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov ecx, 0x11
push esi
push edi
lea edi, [ebp - 0x44]
mov esi, 0x4e0210
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x44], 0x44
mov word [ebp - 0x14], 0
xor eax, eax
xor edx, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 1
lea edi, [ebp - 0x54]
mov ecx, 4
mov esi, 0x4e0254
lea eax, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
push eax
lea edx, [ebp - 0x44]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateProcessA
cmp dword [ebp + 0x10], 0
je 0x401b5d
push 0xffffffffffffffff
mov edx, dword [ebp - 0x54]
push edx
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401b68
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401b97
xor eax, eax
jmp 0x401be6
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
push esi
call sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push esi
call sub.KERNEL32.DLL_LoadResource
mov edi, eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.KERNEL32.DLL_SizeofResource
push 0
lea edx, [ebp - 8]
push edx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
push edi
call sub.KERNEL32.DLL_FreeResource
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x405de0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc08
xor ecx, ecx
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x405eb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00461d5c
mov eax, dword [sym.Project1.exe__Winskindata_Win32PlatformIsUnicode]
cmp byte [eax], 0
je 0x405e61
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.004620bc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00461ee8
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00461ed8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00461ee8
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
call fcn.004620bc
jmp 0x405e97
lea eax, [ebp - 0x3f1]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_SendMessageA
lea edx, [ebp - 0x3f8]
lea eax, [ebp - 0x3f1]
call fcn.0044f448
mov edx, dword [ebp - 0x3f8]
mov eax, dword [ebp - 8]
call fcn.00461ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405eb7
lea eax, [ebp - 0x3f8]
call fcn.00461640
ret

Function at 0x405ebc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc0c
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3f1]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_SendMessageA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3f1]
call fcn.0044f448
mov esp, ebp
pop ebp
ret
Function at 0x406150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x40625b
lea eax, [ebp - 0x10d]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [ebp - 0x10d]
call fcn.00490450
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 8]
mov dx, word [edx + 4]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Winskinform_TWinSkinForm_FindButtonFromAccel_qqrus
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4061d6
mov al, byte [0x406260]
cmp al, byte [ebp - 0xd]
jne 0x4061d6
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Winskinform_TWinSkinForm_ClickButton_qqrp20Winskinform_TMenuBtn
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x31], 1
jmp 0x40625b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x161], 2
jne 0x40620a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + 4]
mov eax, dword [sym.Project1.exe__Winskindlg_SkinManager]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.004a5c18
test eax, eax
jne 0x40625b
jmp 0x406253
mov eax, dword [0x4e5770]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x128]
je 0x406253
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
test byte [eax + 0x2ec], 8
jne 0x406253
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + 4]
mov eax, dword [0x4e5770]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.004a5c18
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d85c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xe4], 0
jne 0x40d956
mov eax, dword [ebp - 4]
cmp dword [eax + 0x11c], 0
je 0x40d900
lea eax, [ebp - 0xc]
push eax
call sub.USER32.DLL_GetCursorPos
lea eax, [ebp - 0x18]
push eax
mov cx, word [ebp - 8]
mov dx, word [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Winskinform_TWinSkinForm_GetWinXY_qqrss
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
add eax, 0xc
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
jne 0x40d900
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00460abc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
push eax
call sub.KERNEL32.DLL_IsBadReadPtr
test eax, eax
jne 0x40d8f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x11c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x40d956
mov eax, dword [ebp - 4]
cmp dword [eax + 0x16c], 0
je 0x40d956
lea eax, [ebp - 0xc]
push eax
call sub.USER32.DLL_GetCursorPos
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
add eax, 0x64
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
jne 0x40d956
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
call sym.Project1.exe__Winsubclass_TSkinControl_MouseLeave_qqrv
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x16c], edx
mov esp, ebp
pop ebp
ret
Function at 0x40dc98
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x40dcd6
cmp eax, dword [esp]
pop edx
pop eax
jae 0x40dd27
jmp 0x40dcda
pop edx
pop eax
jge 0x40dd27
mov eax, dword [sym.Project1.exe__Winskindlg_SkinManager]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
mov dword [ebp - 0x10], 2
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call sym.Project1.exe__Winskinform_TWinSkinForm_CreateSysmenu2_qqrv
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf4], 0
je 0x40dd55
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x40dd55
mov eax, dword [ebp - 4]
cmp dword [eax + 0x11c], 0
je 0x40dd55
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.0049cc04
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x12c]
push eax
call sub.USER32.DLL_PostMessageA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41868c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc08
xor ecx, ecx
mov dword [ebp - 0x3f8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41875c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00461d5c
mov eax, dword [sym.Project1.exe__Winskindata_Win32PlatformIsUnicode]
cmp byte [eax], 0
je 0x41870d
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
call fcn.004620bc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00461ee8
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00461ed8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_GetWindowTextW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00461ee8
mov edx, eax
dec edx
mov eax, dword [ebp - 8]
call fcn.004620bc
jmp 0x418743
lea eax, [ebp - 0x3f1]
push eax
push 0x3e8
push 0xd
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_SendMessageA
lea edx, [ebp - 0x3f8]
lea eax, [ebp - 0x3f1]
call fcn.0044f448
mov edx, dword [ebp - 0x3f8]
mov eax, dword [ebp - 8]
call fcn.00461ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418763
lea eax, [ebp - 0x3f8]
call fcn.00461640
ret

Function at 0x41c22c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41c2c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c0], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2b4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c0]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Winsubclass_TWMediaPlayer_SetPosition_qqrp20Controls_TWinControl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c0]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c2ca
lea eax, [ebp - 0x10]
call fcn.00461640
ret
Function at 0x42326c
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call sub.USER32.DLL_IsWindow
test eax, eax
jne 0x4232b0
jmp 0x423392
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call sub.USER32.DLL_GetWindowLongA
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x419
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
mov dword [ebp - 0xc], eax
test dword [ebp - 0x10], 2
jbe 0x423309
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
cmp dword [eax + 0x168], 0
je 0x423309
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
jmp 0x42332a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
cmp dword [eax + 0x164], 0
je 0x42332a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 0x164]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42334b
mov eax, dword [ebp - 0xc]
push eax
push 2
push 5
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Winsubclass_TSkinControl_DrawSkinMap1_qqruirx11Types_TRectp16Graphics_TBitmapii
jmp 0x423392
mov dl, 1
mov eax, dword [0x484100]
call fcn.00486004
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00486a98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
call fcn.00485b94
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00486708
mov eax, dword [ebp - 0x14]
call fcn.00460af4
mov esp, ebp
pop ebp
ret

Function at 0x426510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
call fcn.004ab290
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x271], 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a496c
pop ecx
pop ebp
ret
Function at 0x434688
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4347fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4347e1
lea eax, [ebp - 0x111]
push eax
push 0x100
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x111]
call fcn.0044f448
mov dl, 1
mov eax, dword [sym.Project1.exe__Skinread_TSkinReader_]
call sym.Project1.exe__Skinread_TSkinReader__bctr_qqrv
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x440d88]
call fcn.00460ac4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call sym.Project1.exe__Skinread_TSkinReader_Loadfromstream_qqrp21Classes_TMemoryStream
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4347db
mov dl, 1
mov eax, dword [sym.Project1.exe__Winskinini_TQuickIni_]
call sym.Project1.exe__Winskinini_TQuickIni__bctr_qqrv
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x434814
call sym.Project1.exe__Skinread_TSkinReader_readIni_qqrx17System_AnsiStringp21Classes_TMemoryStreamr17System_AnsiString
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00461944
xor eax, eax
push ebp
push 0x4347d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call sym.Project1.exe__Winskinini_TQuickIni_LoadFromStream_qqrp15Classes_TStream
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Winskindata_TSkinData_LoadFromIni_qqr17System_AnsiString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4347db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00460af4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00460af4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00460af4
ret
mov al, byte [ebp - 0x11]
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434803
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00461664
ret
Function at 0x44be4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e5bd0
cmp dword [edi], 0
jne 0x44bec8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4e5bcc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e0f78
mov ecx, 2
call fcn.0045fe34
mov edx, 0x44be24
lea eax, [esi + 5]
call fcn.0044be44
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044be44
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x44be9d
mov dword [0x4e5bcc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x451cdc
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 0x451d15
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00461730
jmp 0x451d1e
mov eax, ebx
mov edx, esi
call fcn.00461694
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x451d28
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 0x451d49
mov al, byte [esp]
jmp 0x451d4b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4523d0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x452248
mov eax, dword [0x4e5754]
cmp byte [eax], 0
je 0x45243d
mov eax, dword [0x4e5758]
call fcn.004601f4
call fcn.0045fda0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0044f250
push eax
lea eax, [esp + 0x50]
push eax
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 0x452484
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x452473
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e5610]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e59e0]
call fcn.00462e90
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret
Function at 0x4531a8
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 0x45320c
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004618a8
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0044ed04
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453213
lea eax, [ebp - 0xc]
call fcn.00461640
ret

Function at 0x460964
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e14b8]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4609fc
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4609dc
xor eax, eax
push ebp
push 0x4609d5
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 0x460a18
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 0x4609dc
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4e14b8]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e14b8], ax
mov esp, ebp
pop ebp
ret

Function at 0x4614c4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e5f4c], 0
je 0x461525
cmp word [0x4e6120], 0xd7b2
jne 0x4614ed
cmp dword [0x4e6128], 0
jbe 0x4614ed
mov eax, 0x4e611c
call dword [0x4e6138]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
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 0x46154c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4e14c8], 0
jne 0x461541
push 0
push 0x4e1520
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret