joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406400
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fcf0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x453d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push str.CErisProbe::CErisProbe__Start__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00406500
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x40645b
push eax
mov dword [eax], vtable.CErisDLL.0
call fcn.004164d1
add esp, 4
mov dword [esi + 0xc], edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CErisProbe::CErisProbe__Exit__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406490
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CErisProbe::Initialize__Start__n
call ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4064ab
cmp dword [eax + 4], 0
jne 0x4064b6
push str.CErisProbe::Initialize__Exit_with_false__n
call ebx
xor eax, eax
pop ebx
ret
push esi
mov esi, 0xffffff9b
call dword [0x45825c]
mov dword [edi + 4], eax
test eax, eax
je 0x4064ef
push 0
push eax
call dword [0x458260]
mov esi, eax
add esp, 8
test esi, esi
je 0x4064ef
mov eax, dword [edi + 4]
push eax
call dword [0x458288]
add esp, 4
mov dword [edi + 4], 0
push str.CErisProbe::Initialize__Exit__n
call ebx
xor eax, eax
test esi, esi
pop esi
sete al
pop ebx
ret
Function at 0x40bdd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x14]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREEPSONCXGA
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], vtable.Registry.0
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], 0x20019
je 0x40be5a
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push esi
push esi
push str.Accepted
push eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
test eax, eax
je 0x40be53
push eax
call ebx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], vtable.Registry.0
test eax, eax
je 0x40be68
push eax
call ebx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4124e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fa28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x453d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
xor esi, esi
mov dword [ebp + 0xc], esi
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp + 0xc], esi
push eax
cmp dword [edi + 8], esi
jne 0x412544
call fcn.00401f10
mov ecx, eax
mov eax, dword [ebp + 8]
add esp, 4
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00401f10
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x4125e3
mov eax, dword [edi + 4]
lea edx, [ebp + 0xc]
push edx
push esi
push esi
push esi
push str.UUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 0xc]
cmp eax, esi
jbe 0x4125d2
add eax, 2
push eax
call fcn.004164dc
mov esi, eax
add esp, 4
test esi, esi
je 0x4125d2
mov ecx, dword [ebp + 0xc]
add ecx, 2
push ecx
push 0
push esi
call fcn.00428e00
mov eax, dword [edi + 4]
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
push esi
push 0
push 0
push str.UUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4125c9
push esi
lea ecx, [ebp - 0x10]
call fcn.00401a60
mov ebx, dword [ebp - 0x10]
push esi
call fcn.004164d1
add esp, 4
lea esi, [ebx - 0x10]
push esi
call fcn.00401f10
add esp, 4
jmp 0x412677
add eax, 2
push eax
call fcn.004164dc
mov esi, eax
add esp, 4
test esi, esi
jne 0x41262b
lea esi, [ebx - 0x10]
push esi
call fcn.00401f10
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41269b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x41269b
mov ecx, dword [ebp + 0xc]
add ecx, 2
push ecx
push 0
push esi
call fcn.00428e00
mov eax, dword [edi + 4]
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
push esi
push 0
push 0
push str.UUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412665
push esi
lea ecx, [ebp - 0x10]
call fcn.00401a60
mov ebx, dword [ebp - 0x10]
push esi
call fcn.004164d1
lea esi, [ebx - 0x10]
push esi
call fcn.00401f10
add esp, 8
mov edi, dword [ebp + 8]
or edx, 0xffffffff
add eax, 0x10
mov dword [ebp - 4], edx
lea ecx, [esi + 0xc]
mov dword [edi], eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41269b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4126c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 8], 0
push esi
mov esi, eax
jne 0x4126d4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 4]
call fcn.004018e0
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov edx, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push str.UUID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412721
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4128f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440973
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x453d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
lea eax, [ebp + 8]
xor esi, esi
lea ecx, [ebx + 0x1c]
push eax
mov dword [ebp - 4], esi
call fcn.00401d40
lea edi, [ebx + 4]
call fcn.00412f90
mov eax, dword [ebx + 0x18]
cmp dword [eax - 0xc], esi
je 0x4129bc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4129bc
test al, 0x10
jne 0x4129bc
push 0x1c
mov byte [ebp - 4], 1
call fcn.004164a2
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, esi
je 0x412978
mov ecx, dword [ebx + 0x18]
push ecx
mov esi, eax
call fcn.00406370
mov edi, eax
xor esi, esi
jmp 0x41297a
xor edi, edi
mov dword [ebp - 4], esi
cmp edi, esi
je 0x4129bc
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x4129ac
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push ebx
lea esi, [ebp - 0x24]
mov eax, edi
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], 0x1388
mov dword [edi], ecx
call fcn.00406600
mov ecx, edi
call fcn.00406400
push edi
call fcn.004164d1
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4129e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4131c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44093a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x453d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [0x458188], esi
call fcn.00413540
test eax, eax
je 0x41323f
push 0x44a5d0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x45828c], eax
test eax, eax
je 0x41323f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413253
push str.InitInstance_CreateMutex_ERROR_ALREADY_EXISTS__r_n
push 0x4582a0
call fcn.004024c0
mov eax, dword [0x45828c]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.InitInstance_CreateMutex_r_n
push 0x4582a0
call fcn.004024c0
add esp, 8
push 0
push esi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push 0x4580c0
push 0x458190
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x45829c], eax
test eax, eax
je 0x41323f
push 0x3b0
mov dword [ebp - 4], 0
call fcn.004164a2
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4132c3
push eax
call fcn.00413640
mov ecx, eax
jmp 0x4132c5
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41323f
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
mov dword [0x458294], ecx
call eax
mov ecx, dword [0x45829c]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x36ee80
push 0x64
push ecx
call esi
mov edx, dword [0x45829c]
push 0
push 0x493e0
push 0xc8
push edx
call esi
mov eax, dword [0x45829c]
push 0
push 0xea60
push 0x12c
push eax
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413540
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push str.IsLaunchMonExe_r_n
push 0x4582a0
call fcn.004024c0
add esp, 8
xor ebx, ebx
push str.kernel32
xor edi, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x41359f
push esi
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 8], ebx
cmp esi, ebx
je 0x413599
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 8]
pop esi
jmp 0x4135a1
xor eax, eax
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
lea ecx, [ebp - 4]
push ecx
add eax, 0x100
or eax, 0x20019
push eax
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4135e3
push str.Error_RegOpenKeyEx_r_n
push 0x4582a0
call fcn.004024c0
add esp, 8
jmp 0x413603
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push str.EPPCCMON
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413603
lea edi, [eax + 1]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x413611
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp edi, ebx
setne dl
push edx
push str.IsLaunchMonExe__d__r_n
push 0x4582a0
call fcn.004024c0
add esp, 0xc
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413ed0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x413eb2
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp fcn.00413ed0
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x413f2e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x413f15
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x413f1e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x413f28
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x413f0a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x413e94
xchg byte [edi - 1], cl
invalid
invalid
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x413f7b
dec eax
je 0x413f72
sub eax, 3
je 0x413f69
mov dword [ebp - 4], 0x40
jmp 0x413f98
mov dword [ebp - 4], 4
jmp 0x413f7e
mov dword [ebp - 4], 0x20
jmp 0x413f7e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x413fca
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x413f4a
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004137db
mov dword [edi + 0x75ffa51c], ecx
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x413fd6
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4184a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4184cd
cmp dword [edi + 0x54], 0
jne 0x4184cd
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004219db
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041846a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41dc8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41dcd3
call fcn.004219db
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41dcd3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41dcef
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041d804
mov esi, eax
test edi, edi
je 0x41dced
test ebx, ebx
je 0x41dced
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x420063
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x453d50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4200fb
push 0x443da4
push 4
push eax
call fcn.00426f26
push eax
call fcn.00401000
add esp, 0x10
push ebx
push edi
call fcn.00427019
mov edi, dword [eax]
call fcn.00427019
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00426fb3
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00427019
cmp dword [eax], ebx
je 0x420112
call fcn.00427019
push dword [eax]
call fcn.00416bfb
pop ecx
jmp 0x420119
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4200a6
jmp 0x4201a0
call fcn.00427019
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x42019c
cmp dword [ebp - 0x234], esi
jae 0x42019c
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00428e00
add esp, 0xc
push 0x443b04
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x42018b
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42018b
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42018b
push ebx
push ebx
push esi
jmp 0x420194
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42019e
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00425035
leave
ret

Function at 0x425035
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453d50]
jne 0x42503f
repz ret
jmp fcn.0042ae81
Function at 0x434f94
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042a7e5
and dword [ebp - 4], 0
cmp dword [0x45800c], 0
mov ebx, eax
jne 0x435045
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4350f6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4350f6
push eax
call fcn.0042a773
mov dword [esp], 0x445328
push edi
mov dword [0x45800c], eax
call esi
push eax
call fcn.0042a773
mov dword [esp], 0x445314
push edi
mov dword [0x458010], eax
call esi
push eax
call fcn.0042a773
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x458014], eax
call esi
push eax
call fcn.0042a773
pop ecx
mov dword [0x45801c], eax
test eax, eax
je 0x435045
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042a773
pop ecx
mov dword [0x458018], eax
mov eax, dword [0x458018]
cmp eax, ebx
je 0x43509d
cmp dword [0x45801c], ebx
je 0x43509d
push eax
call fcn.0042a7ee
push dword [0x45801c]
mov esi, eax
call fcn.0042a7ee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43509d
test edi, edi
je 0x43509d
call esi
test eax, eax
je 0x435094
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x435094
test byte [ebp - 0xc], 1
jne 0x43509d
or dword [ebp + 0x10], 0x200000
jmp 0x4350d6
mov eax, dword [0x458010]
cmp eax, ebx
je 0x4350d6
push eax
call fcn.0042a7ee
pop ecx
test eax, eax
je 0x4350d6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4350d6
mov eax, dword [0x458014]
cmp eax, ebx
je 0x4350d6
push eax
call fcn.0042a7ee
pop ecx
test eax, eax
je 0x4350d6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45800c]
call fcn.0042a7ee
pop ecx
test eax, eax
je 0x4350f6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4350f8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
mov eax, dword [0x438120]
mov ecx, dword [str.nqV4Lunt2r3PbIdY5tpugMlmMtt877R49lae12SBrqyAL7QNfSnfH8]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.00404690
mov edx, dword [0x438120]
mov edi, eax
mov eax, dword [str.nqV4Lunt2r3PbIdY5tpugMlmMtt877R49lae12SBrqyAL7QNfSnfH8]
push edx
push eax
add edi, 0x1eef1416
call fcn.00404690
mov ecx, dword [0x438120]
mov edx, dword [str.nqV4Lunt2r3PbIdY5tpugMlmMtt877R49lae12SBrqyAL7QNfSnfH8]
mov ebx, eax
push ecx
push edx
add ebx, 0x1eef1452
call fcn.00404690
mov ecx, dword [str.nqV4Lunt2r3PbIdY5tpugMlmMtt877R49lae12SBrqyAL7QNfSnfH8]
mov ebp, eax
mov eax, dword [0x438120]
add ebp, 0x1eef13f2
push eax
push ecx
call fcn.00404690
mov edx, dword [0x438120]
add eax, 0x1eef13f6
mov dword [esp + 0x30], eax
mov eax, dword [str.nqV4Lunt2r3PbIdY5tpugMlmMtt877R49lae12SBrqyAL7QNfSnfH8]
push edx
push eax
call fcn.00404690
mov ecx, dword [0x438120]
mov edx, dword [str.nqV4Lunt2r3PbIdY5tpugMlmMtt877R49lae12SBrqyAL7QNfSnfH8]
add eax, 0x1eef13fa
push ecx
push edx
mov dword [esp + 0x44], eax
call fcn.00404690
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
add eax, 0x1eef13fe
add esp, 0x30
mov ecx, dword [edi + esi]
mov dword [esp + 0x1c], 0
add ecx, ebx
mov ecx, dword [ecx + esi]
add ecx, esi
mov edi, dword [ecx + edx]
mov edx, dword [esp + 0x14]
mov ebx, dword [ecx + eax]
mov ebp, dword [ecx + ebp]
mov edx, dword [ecx + edx]
add edi, esi
add edx, esi
add ebx, esi
test ebp, ebp
jbe 0x404887
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x438120]
push ecx
mov eax, dword [eax]
add eax, esi
push eax
call fcn.00404690
mov ecx, dword [esp + 0x28]
add esp, 8
cmp eax, ecx
je 0x404887
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jb 0x40484f
cmp dword [esp + 0x1c], ebp
jne 0x404897
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dx, word [ebx + eax*2]
mov eax, dword [edi + edx*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x40e511
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x438f90
cmp edx, dword [eax]
je 0x40e533
add eax, 8
inc ecx
cmp eax, 0x439020
jl 0x40e524
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x438f90]
jne 0x40e661
mov eax, dword [0x43a86c]
cmp eax, 1
je 0x40e63b
test eax, eax
jne 0x40e564
cmp dword [0x438684], 1
je 0x40e63b
cmp edx, 0xfc
je 0x40e661
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e59b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040e6a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a250
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40e5de
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a250
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42f01c
push edi
call fcn.00410450
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040e6a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040e6b0
lea eax, [ebp - 0xa0]
push 0x42effc
push eax
call fcn.0040e6b0
push dword [esi + 0x438f94]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040e6b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00411721
add esp, 0x2c
pop edi
jmp 0x40e661
lea eax, [ebp + 8]
lea esi, [esi + 0x438f94]
push 0
push eax
push dword [esi]
call fcn.0040a250
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret