joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417080
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xa30
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0xa2c], eax
mov eax, dword [esp + 0xa34]
push ebx
push esi
mov esi, dword [esp + 0xa40]
push edi
push 0x104
lea ecx, [esp + 0x118]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.004413c0
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
add esp, 0xc
push 0x104
lea edx, [esp + 0x118]
push edx
call edi
push str.SpoolDriversCOLOR
lea eax, [esp + 0x118]
push 0x104
push eax
call fcn.00442464
push 0x104
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004413c0
add esp, 0x18
push 0x104
lea edx, [esp + 0x14]
push edx
call edi
push str.SpoolDriversW32X86
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.00442464
add esp, 0xc
push str.MSCMS.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x417202
push ebp
push str.UninstallColorProfileA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x4171fa
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4171fa
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x224]
push 0x45ce28
push edx
call edi
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x644]
push 0x45ce28
push ecx
call edi
mov ecx, dword [esp + 0x30]
push esi
call fcn.0040db10
add esp, 0x24
test eax, eax
je 0x4171e0
lea edx, [esp + 0x21c]
push edx
call fcn.00416e70
add esp, 4
push 1
lea eax, [esp + 0x220]
push eax
push 0
call ebp
test eax, eax
jne 0x4171e0
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x62c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x417164
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
mov ecx, dword [esp + 0xa38]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044027a
add esp, 0xa30
ret
Function at 0x41dc20
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push edi
xor edi, edi
test eax, eax
je 0x41dc6f
push esi
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x41dc4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41dc59
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop edi
ret 4
cmp eax, 5
jne 0x41dc75
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 2
pop edi
ret 4
mov eax, edi
pop edi
ret 4
pop esi
mov eax, edi
pop edi
ret 4

Function at 0x41dd90
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
cmp edi, ebx
mov esi, ecx
jne 0x41ddd0
mov edi, dword [esi + 0x3e0]
cmp edi, ebx
je 0x41ddc8
call fcn.004316f5
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x3e4]
cmp eax, ebx
je 0x41ddc8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x3e4], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4
mov eax, dword [esi + 0x3e4]
cmp eax, ebx
je 0x41dde7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x3e4], ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x41de33
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x3e4], eax
je 0x41de28
call fcn.004316f5
mov eax, dword [eax + 8]
mov dword [esi + 0x3e0], eax
mov esi, dword [esi + 0x3e4]
call fcn.004316f5
pop edi
mov dword [eax + 0xc], esi
pop esi
mov eax, ebx
pop ebx
ret 4
pop edi
pop esi
mov eax, 0x21
pop ebx
ret 4
pop edi
pop esi
mov eax, 0x20
pop ebx
ret 4

Function at 0x41de40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x310
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push esi
mov esi, dword [esp + 0x320]
test esi, esi
push edi
mov edi, dword [esp + 0x320]
mov ebx, 1
je 0x41de72
test edi, edi
jne 0x41de79
xor eax, eax
jmp 0x41df1b
cmp dword [ecx + 0x3bc], 0
je 0x41de99
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0xc]
push ecx
jmp 0x41deef
push 0x104
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00443a8a
push 0
push 0
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0044387c
add esp, 0x28
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov edx, dword [esp + 0x328]
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x45ccb8
push edx
push esi
call fcn.004437cf
add esp, 0x14
test eax, eax
jl 0x41de72
mov eax, ebx
mov ecx, dword [esp + 0x318]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044027a
add esp, 0x310
ret 0xc
Function at 0x422cb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x220
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
push esi
push edi
lea edx, [esp + 8]
push edx
push 0xf003f
xor esi, esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x238]
push esi
push ecx
push eax
lea edi, [esi + 1]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422dcc
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
nop
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x20], 0x208
call fcn.004413c0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push ecx
call ebx
add esi, 1
test eax, eax
je 0x422d4b
cmp eax, 0x103
je 0x422da0
xor edi, edi
jmp 0x422d96
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
call fcn.004227b0
test eax, eax
jne 0x422d00
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0040ce00
add esp, 8
cmp eax, 1
jne 0x422da5
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x422d94
cmp eax, 2
je 0x422d94
xor edi, edi
mov eax, 0x103
xor esi, esi
test eax, eax
je 0x422d00
jmp 0x422da5
mov edi, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, edi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
call fcn.0044027a
add esp, 0x220
ret 8
cmp eax, 2
je 0x422db1
xor eax, eax
jmp 0x422db3
Function at 0x431e04
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x431e0d
xor eax, eax
jmp 0x431e76
cmp dword [esp + 8], 0
jne 0x431e19
call fcn.00430460
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00444dfe
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x431e54
push dword [esi + 0x10]
call fcn.00444b04
test eax, eax
pop ecx
jne 0x431e54
mov esi, dword [esi + 0xc]
call fcn.004442a1
push esi
push dword [eax]
push 1
call fcn.00431c79
push dword [esi + 0x10]
call fcn.00444b33
test eax, eax
pop ecx
je 0x431e73
push dword [esi + 0x10]
call fcn.00444a58
push eax
call fcn.00401000
pop ecx
pop ecx
jmp 0x431e42
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x431e7f
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x431e89
call fcn.00430460
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00444f78
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x431eb6
mov esi, dword [esi + 0xc]
call fcn.004442a1
push esi
push dword [eax]
push 1
call fcn.00431c79
pop esi
ret 8

Function at 0x43738e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4373d1
call fcn.004316f5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4373d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4373ec
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00436f45
test ebx, ebx
mov esi, eax
je 0x4373ea
test edi, edi
je 0x4373ea
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x438b47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x45a94b
call fcn.004440be
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004316f5
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x438b92
call fcn.004316f5
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x438ba3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x438bb0
or eax, 0xffffffff
jmp 0x438d0c
mov ecx, esi
call fcn.00438699
mov dword [ebp - 0x14], eax
call fcn.004349df
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x438c2e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x438c2e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x438c2e
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041da00
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x438c2e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x438c2e
mov ecx, ebx
call fcn.004382f0
test eax, eax
je 0x438c2e
push 0
mov ecx, ebx
call fcn.0043830b
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00436361
push dword [ebp - 0x14]
call fcn.00434937
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0043894f
xor edi, edi
cmp eax, edi
je 0x438c8b
test byte [esi + 0x3c], 0x10
je 0x438c75
push 4
pop edi
mov ecx, esi
call fcn.00438230
test ax, 0x100
je 0x438c6b
push 5
pop edi
push edi
mov ecx, esi
call fcn.004344ff
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x438c8b
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00438372
or dword [ebp - 4], 0xffffffff
jmp 0x438cb6
cmp dword [ebp - 0x28], edi
je 0x438cc4
push 1
mov ecx, ebx
call fcn.0043830b
cmp dword [ebp - 0x2c], edi
je 0x438cd4
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x438ced
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x438ced
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004386d3
cmp dword [esi + 0x58], edi
je 0x438d09
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0044412a
ret
Function at 0x438d76
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x438d96
cmp dword [edi + 0x54], 0
jne 0x438d96
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004316f5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00438d3d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x43a51a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x46be4c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x43a55a
push 0x45fd40
push 4
push eax
call fcn.004423ff
push eax
call fcn.00401000
add esp, 0x10
jmp 0x43a56c
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x43a5da
push edi
call fcn.0044428e
mov edi, dword [eax]
call fcn.0044428e
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004424f1
add esp, 0x18
mov ebx, eax
call fcn.0044428e
cmp dword [eax], 0
je 0x43a5ba
call fcn.0044428e
push dword [eax]
call fcn.00430640
pop ecx
jmp 0x43a5c1
call fcn.0044428e
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x43a5da
cmp ebx, esi
jae 0x43a5da
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x43a5dc
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044027a
leave
ret
Function at 0x43c083
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43c0b1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43c0cf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043bfed
jmp 0x43c0cf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43c0cf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043bfed
test edi, edi
mov eax, edi
jne 0x43c0b9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46f280]
test ecx, ecx
je 0x43c192
jmp 0x43c082
ret 8

Function at 0x44027a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46be4c]
jne 0x440284
repz ret
jmp fcn.00448ae8
Function at 0x444b62
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x444b9f
cmp dword [ebp + 0x14], edi
je 0x444b9f
cmp ecx, edi
jne 0x444ba6
call fcn.0044428e
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00442bb6
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x444bba
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x444bdb
cmp ebx, 0xffffffff
je 0x444bca
push ebx
push edi
push ecx
call fcn.004413c0
add esp, 0xc
cmp esi, edi
je 0x444b87
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x444b87
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x444bf7
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x444bfe
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x444cef
test word [esi + 0xc], 0x10c
je 0x444c52
mov eax, dword [esi + 4]
test eax, eax
je 0x444c52
jl 0x444d50
cmp ebx, eax
mov edi, ebx
jb 0x444c23
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x444cf7
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00440f45
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x444ce7
cmp ebx, dword [ebp - 0xc]
jb 0x444cbf
cmp dword [ebp - 0xc], 0
je 0x444c7c
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x444c71
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x444c78
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x444c87
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x444c87
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x444d23
push eax
push dword [ebp - 8]
push esi
call fcn.004447b7
pop ecx
push eax
call fcn.0045155c
add esp, 0xc
test eax, eax
je 0x444d62
cmp eax, 0xffffffff
je 0x444d50
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x444ce7
push esi
call fcn.00450e7b
cmp eax, 0xffffffff
pop ecx
je 0x444d54
cmp dword [ebp - 4], 0
je 0x444d23
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x444c06
mov eax, dword [ebp + 0x14]
jmp 0x444ba1
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x444d0e
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004413c0
add esp, 0xc
call fcn.0044428e
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x444b97
cmp dword [ebp + 0xc], 0xffffffff
je 0x444d39
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004413c0
add esp, 0xc
call fcn.0044428e
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x444b97
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x444ba1
or dword [esi + 0xc], 0x10
jmp 0x444d54
Function at 0x4488e3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46c1f8]
je 0x4488fe
inc edi
cmp edi, 0x17
jb 0x4488ef
cmp edi, 0x17
jae 0x448a7e
push ebp
push 3
call fcn.00452553
cmp eax, 1
pop ecx
je 0x448a4a
push 3
call fcn.00452553
test eax, eax
pop ecx
jne 0x448932
cmp dword [0x46bf38], 1
je 0x448a4a
cmp ebx, 0xfc
je 0x448a7d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46f6f8
push ebp
call fcn.004423ff
add esp, 0xc
test eax, eax
je 0x448968
push esi
push esi
push esi
push esi
push esi
call fcn.00442aba
add esp, 0x14
push 0x104
mov esi, 0x46f711
push esi
push 0
mov byte [0x46f815], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4489ac
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004423ff
add esp, 0xc
test eax, eax
je 0x4489ac
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00442aba
add esp, 0x14
push esi
call fcn.00444170
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4489f1
push esi
call fcn.00444170
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46fa0c
push 0x4608f4
sub ecx, eax
push ecx
push eax
call fcn.004435e7
add esp, 0x14
test eax, eax
je 0x4489f1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00442aba
add esp, 0x14
jmp 0x4489f3
xor esi, esi
push 0x4608f0
push ebx
push ebp
call fcn.00442464
add esp, 0xc
test eax, eax
je 0x448a13
push esi
push esi
push esi
push esi
push esi
call fcn.00442aba
add esp, 0x14
push dword [edi*8 + 0x46c1fc]
push ebx
push ebp
call fcn.00442464
add esp, 0xc
test eax, eax
je 0x448a35
push esi
push esi
push esi
push esi
push esi
call fcn.00442aba
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00452396
add esp, 0xc
jmp 0x448a7d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x448a7d
cmp ebp, 0xffffffff
je 0x448a7d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46c1fc]
push dword [esi]
call fcn.00444170
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x452396
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00449bdf
xor ebx, ebx
cmp dword [0x46ffd8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45246c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45254c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x461320
push edi
call esi
cmp eax, ebx
je 0x45254c
push eax
call fcn.00449b71
mov dword [esp], 0x461310
push edi
mov dword [0x46ffd8], eax
call esi
push eax
call fcn.00449b71
mov dword [esp], 0x4612fc
push edi
mov dword [0x46ffdc], eax
call esi
push eax
call fcn.00449b71
mov dword [0x46ffe0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00446f32
test eax, eax
pop ecx
pop ecx
je 0x45243a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00442aba
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45246c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00449b71
cmp eax, ebx
pop ecx
mov dword [0x46ffe8], eax
je 0x45246c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00449b71
pop ecx
mov dword [0x46ffe4], eax
mov eax, dword [0x46ffe4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4524f1
cmp dword [0x46ffe8], ecx
je 0x4524f1
push eax
call fcn.00449be8
push dword [0x46ffe8]
mov esi, eax
call fcn.00449be8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4524f1
cmp edi, ebx
je 0x4524f1
call esi
cmp eax, ebx
je 0x4524be
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4524be
test byte [ebp - 0x18], 1
jne 0x4524f1
lea eax, [ebp - 0x10]
push eax
call fcn.00446f69
test eax, eax
pop ecx
je 0x4524d9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00442aba
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4524e8
or dword [ebp + 0x10], 0x200000
jmp 0x45252c
or dword [ebp + 0x10], 0x40000
jmp 0x45252c
mov eax, dword [0x46ffdc]
cmp eax, dword [ebp - 8]
je 0x45252c
push eax
call fcn.00449be8
cmp eax, ebx
pop ecx
je 0x45252c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45252c
mov eax, dword [0x46ffe0]
cmp eax, dword [ebp - 8]
je 0x45252c
push eax
call fcn.00449be8
cmp eax, ebx
pop ecx
je 0x45252c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ffd8]
call fcn.00449be8
cmp eax, ebx
pop ecx
je 0x45254c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45254e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4562da
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46be4c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045626f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004413c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x456329
cmp dword [ebp - 0x1c], 5
jb 0x456341
jmp 0x45633d
cmp dword [ebp - 0x10], 1
jne 0x456341
cmp dword [ebp - 0x1c], 4
ja 0x45633d
jne 0x456341
cmp dword [ebp - 0x18], 0
jbe 0x456341
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x461bc0
call fcn.00456143
test eax, eax
jge 0x456362
mov byte [0x46d240], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044027a
add ebp, 0x78
leave
ret