joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4113c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45ef80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
xor esi, esi
push ebp
mov dword [esp + 0x30], esi
call fcn.004115c0
mov dword [esp + 0x20], esi
mov eax, dword [eax]
push 0x46c468
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00444319
add esp, 0xc
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00406ed0
cmp dword [esp + 0x28], esi
je 0x4114d1
lea esi, [esp + 0x14]
call fcn.00410370
mov dword [esp + 0x20], 1
push eax
lea edx, [esp + 0x14]
push 0x46c488
push edx
call fcn.00406220
mov byte [esp + 0x2c], 2
push 0x46c484
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00406150
mov byte [esp + 0x38], 3
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
push ecx
push eax
call fcn.0044436c
add esp, 0x20
mov byte [esp + 0x20], 2
lea ecx, [esp + 0xc]
call fcn.00406ed0
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x10]
call fcn.00406ed0
mov dword [esp + 0x20], 0xffffffff
mov ecx, esi
call fcn.00406ed0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push edx
push ecx
call fcn.0044436c
mov edx, dword [esp + 0x30]
push edx
push 0x46883c
call fcn.0044436c
mov eax, dword [esp + 0x38]
push eax
call fcn.0044448f
add esp, 0x14
mov ecx, dword [ebp]
test ecx, ecx
je 0x4114e3
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x411cd0
Capabilities:
Check os version
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x45ef2c
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x491104]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00406fc0
mov dword [esp + 0x140], 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x1c], 5
jne 0x411e6f
cmp dword [esp + 0x20], 0
jne 0x411e6f
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x411e6f
lea ecx, [esp + 8]
push ecx
call fcn.00410440
add esp, 4
mov byte [esp + 0x140], 1
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], 0
jl 0x411e5e
push 0x46c1d8
push eax
call fcn.0044298b
add esp, 8
test eax, eax
je 0x411e5e
mov ecx, dword [esp + 8]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x411e5e
cmp dword [ecx - 0xc], 0
jge 0x411db2
push 0x80070057
call fcn.00406f30
movzx eax, word [ecx]
lea esi, [esp + 8]
call fcn.00411f50
push 0x46c80c
mov ecx, esi
call fcn.00405f20
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test al, 4
je 0x411e5e
push str.invalid_installer_environment
lea ecx, [esp + 0x14]
call fcn.00406e00
mov byte [esp + 0x140], 2
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004160f0
add esp, 8
mov byte [esp + 0x140], 3
push eax
mov ecx, edi
call fcn.00406800
mov byte [esp + 0x140], 2
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov byte [esp + 0x140], 1
lea ecx, [esp + 0x10]
call fcn.00406ed0
mov byte [esp + 0x140], 0
mov ecx, esi
call fcn.00406ed0
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00406ed0
xor al, al
jmp 0x411e85
mov byte [esp + 0x140], 0
lea ecx, [esp + 8]
call fcn.00406ed0
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00406ed0
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00442851
add esp, 0x13c
ret

Function at 0x412c10
Capabilities:
Resume thread

Disassembly:
mov dword [esi], vtable.CWaitIndicator.0
call fcn.0042ea20
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x20]
push 0
call fcn.00430303
push 0
push 4
push 0
push 0
push 0x46cb20
call fcn.004300d7
mov dword [esi + 4], eax
test eax, eax
je 0x412c59
mov edx, dword [esp + 4]
mov ecx, eax
call fcn.00412bd0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
ret 4
Function at 0x412c80
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esi], vtable.CWaitIndicator.0
test eax, eax
je 0x412d55
mov eax, dword [eax + 0x30]
push ebx
push ebp
push edi
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [esi + 4]
call fcn.00412bf0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
push 0x5ff
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x1c]
push edx
push 1
call ebp
cmp eax, 1
jne 0x412d43
push eax
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x412cf0
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebx
push 1
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x412d20
jmp 0x412cf0
test eax, eax
jne 0x412cf0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
call fcn.0042ea20
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x20]
push 1
call fcn.00430303
call fcn.0042ea20
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x20]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop esi
add esp, 0x20
ret
Function at 0x4161d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a7f9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x20]
push eax
push esi
mov dword [esp + 0x10], 0
call fcn.004163d0
add esp, 8
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
push eax
push str.__1_
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.0040faa0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
push str.__2_
mov ecx, esi
call fcn.0040faa0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
push eax
push str.__3_
mov ecx, esi
call fcn.0040faa0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
push eax
push str.__4_
mov ecx, esi
call fcn.0040faa0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
push str.__5_
mov ecx, esi
call fcn.0040faa0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4163d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45cb81
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x2c], esi
mov ecx, ebp
mov dword [esp + 0x18], esi
call fcn.00406fc0
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
push ebp
push eax
mov ecx, 0x4957a0
mov dword [esp + 0x20], 1
call fcn.004384b1
test eax, eax
jne 0x416436
push esi
mov ecx, ebp
call fcn.00406800
mov ebx, 0x3e8
mov edi, ebx
xor ecx, ecx
mov eax, edi
mov edx, 2
add ebx, 0x3e8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042d950
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 1
mov edx, dword [0x4957c0]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
push edx
push edi
push esi
push eax
push ecx
push str.texts
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x1c], eax
test esi, esi
jne 0x416497
xor eax, eax
jmp 0x4164af
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4164a0
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebp
call fcn.00406cd0
dec edi
cmp dword [esp + 0x1c], edi
sete byte [esp + 0x17]
mov byte [esp + 0x2c], 0
push esi
call fcn.0042d945
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x41643b
push 0x4692ac
push 0x47cef4
mov ecx, ebp
call fcn.0040faa0
push 0x46883c
push 0x47ceec
mov ecx, ebp
call fcn.0040faa0
push 0x47cf44
push 0x47cf48
mov ecx, ebp
call fcn.0040faa0
push 0x46c1d4
push 0x47cf50
mov ecx, ebp
call fcn.0040faa0
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x416660
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45cb31
mov eax, dword fs:[0]
push eax
sub esp, 0x7e4
mov eax, dword [0x491104]
xor eax, esp
mov dword [esp + 0x7e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x7f8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80c]
mov ebp, dword [esp + 0x808]
mov esi, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.00406fc0
xor ebx, ebx
mov dword [esp + 0x800], ebx
lea ecx, [esp + 0x14]
call fcn.00406fc0
mov byte [esp + 0x800], 1
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x3e8
lea ecx, [esp + 0x2c]
push ecx
push ebx
push 0x4765d0
push str.settings
call edi
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416700
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.00406cd0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x416851
push 0x47cfa4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00406150
add esp, 0xc
mov byte [esp + 0x800], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00406800
mov byte [esp + 0x800], 1
lea ecx, [esp + 0x1c]
call fcn.00406ed0
mov eax, dword [esi]
push eax
push 0x3e8
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x46cd40
push str.settings
call edi
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416786
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00406cd0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x416851
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00406510
mov esi, dword [esi]
push esi
push 0x3e8
lea edx, [esp + 0x2c]
push edx
push ebx
push 0x47cfac
push str.settings
call edi
lea eax, [esp + 0x24]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4167e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406cd0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x416851
push 0x46cd40
push eax
call fcn.00442ec2
add esp, 8
cmp eax, ebx
je 0x416851
mov ecx, dword [esp + 0x14]
push 0x4765d0
push ecx
call fcn.00442ec2
add esp, 8
cmp eax, ebx
je 0x416851
mov eax, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.0042f1dc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0042f1dc
mov byte [esp + 0x800], bl
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov dword [esp + 0x800], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00406ed0
mov ecx, dword [esp + 0x7f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7e0]
xor ecx, esp
call fcn.00442851
add esp, 0x7f0
ret
Function at 0x4168a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45eea2
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x491104]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push edi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
call fcn.00410440
mov dword [esp + 0x284], 0
push str.resources_
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00406150
add esp, 0x10
mov byte [esp + 0x280], 2
lea ecx, [esp + 0x10]
call fcn.00406ed0
lea ecx, [esp + 0x18]
call fcn.00406fc0
mov bl, 3
mov byte [esp + 0x280], bl
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push str._s.lng
push eax
call fcn.004066b0
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x416980
mov byte [esp + 0x280], 2
lea ecx, [esp + 0x18]
call fcn.00406ed0
mov dword [esp + 0x280], edi
lea ecx, [esp + 0x14]
call fcn.00406ed0
xor al, al
jmp 0x416a60
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00406150
add esp, 0xc
mov byte [esp + 0x280], 4
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
call fcn.0042f1dc
mov byte [esp + 0x280], bl
lea ecx, [esp + 0x10]
call fcn.00406ed0
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x416a32
jmp 0x4169d0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00406150
add esp, 0xc
mov byte [esp + 0x280], 5
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
call fcn.0042f1dc
mov byte [esp + 0x280], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416a22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4169d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x280], 2
lea ecx, [esp + 0x18]
call fcn.00406ed0
mov dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov al, 1
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00442851
mov esp, ebp
pop ebp
ret
Function at 0x422620
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d271
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x491104]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00406730
mov dword [esp + 0x280], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4226a2
push 0x104
lea ecx, [esp + 0x18]
call fcn.00406c20
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00442d0b
add esp, 8
test eax, eax
jl 0x4227bd
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x4227bd
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
push 3
mov word [edx + eax*2], cx
push 0x46b8e4
lea ecx, [esp + 0x1c]
call fcn.00406510
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
sete bl
cmp esi, 0xffffffff
je 0x422781
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x1c]
call fcn.00406e00
mov byte [esp + 0x280], 1
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x4227bd
movzx eax, word [eax]
mov ecx, 0x2e
cmp cx, ax
sete bl
mov byte [esp + 0x280], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42276a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42277a
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
test eax, eax
jne 0x422710
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov al, bl
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00442851
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00406f30
int3

Function at 0x422dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c709
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
push 0x47f7ac
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00406150
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x34]
push edx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004060a0
mov byte [esp + 0x30], 2
push 0x47f7a8
push eax
push esi
call fcn.00406150
add esp, 0x24
mov dword [esp + 8], 1
mov byte [esp + 0x18], 1
lea ecx, [esp + 0x24]
call fcn.00406ed0
mov byte [esp + 0x18], 0
lea ecx, [esp + 0xc]
call fcn.00406ed0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc
Function at 0x4293d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45c680
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esp, [esp]
mov eax, dword [esi]
push eax
call ebp
test eax, eax
jne 0x429476
push esi
lea eax, [esp + 0x10]
push 0x481a48
push eax
call fcn.00406220
add esp, 0xc
mov dword [esp + 0x18], 0
mov eax, dword [eax]
push 0
push 5
push eax
call fcn.0042f5c8
cmp eax, 2
sete bl
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42945e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x429400
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x10
ret
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x429490
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45e447
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
test byte [0x495890], 1
jne 0x4294f1
or dword [0x495890], 1
mov dword [esp + 0x24], 1
call fcn.0040b8a0
push 0x461c30
call fcn.00443d06
add esp, 4
mov byte [esp + 0x24], bl
mov ecx, esi
call fcn.00406fc0
mov dword [esp + 0x24], ebx
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x10], 1
jge 0x429529
push 0x104
mov ecx, esi
call fcn.00406c20
mov eax, dword [esi]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp eax, ebx
jne 0x429544
xor eax, eax
jmp 0x429556
push ecx
push eax
call fcn.00442d0b
add esp, 8
cmp eax, ebx
jl 0x4295e2
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4295e2
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
push 0x49588c
mov word [ecx + eax*2], dx
lea eax, [esp + 0x1c]
push str.KlaesInst
push eax
call fcn.00406220
add esp, 0xc
mov dword [esp + 0x24], 2
push 0x46c1d4
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00406150
add esp, 0xc
mov byte [esp + 0x24], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00406510
mov byte [esp + 0x24], 2
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.00406ed0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 4
push 0x80070057
call fcn.00406f30
int3
Function at 0x42a000
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45f620
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00410960
add esp, 4
mov dword [esp + 0x58], 0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
call fcn.00406730
mov byte [esp + 0x58], 1
mov edx, dword [esp + 4]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42a075
push 0x104
lea ecx, [esp + 8]
call fcn.00406c20
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00442d0b
add esp, 8
test eax, eax
jl 0x42a1f1
mov ecx, dword [esp + 4]
cmp eax, dword [ecx - 8]
jg 0x42a1f1
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 4]
xor edx, edx
mov word [ecx + eax*2], dx
lea ecx, [esp + 8]
call fcn.00406fc0
mov byte [esp + 0x58], 2
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42a0e7
push 0x104
lea ecx, [esp + 0xc]
call fcn.00406c20
mov edx, dword [esp + 8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00442d0b
add esp, 8
test eax, eax
jl 0x42a1f1
mov ecx, dword [esp + 8]
cmp eax, dword [ecx - 8]
jg 0x42a1f1
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 8]
xor edx, edx
mov word [ecx + eax*2], dx
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004060a0
add esp, 0xc
mov byte [esp + 0x58], 3
push eax
lea ecx, [esp + 8]
call fcn.00406800
mov byte [esp + 0x58], 2
lea ecx, [esp + 0x10]
call fcn.00406ed0
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.0040af60
add esp, 8
test al, al
je 0x42a1b4
push 0x3c
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00444db0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x24], str.open
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [esp + 0x58], 1
lea ecx, [esp + 8]
call fcn.00406ed0
mov byte [esp + 0x58], 0
lea ecx, [esp + 4]
call fcn.00406ed0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00406ed0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
add esp, 0x58
ret
push 0x80070057
call fcn.00406f30
int3