joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c5a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x44965e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x20]
call fcn.0040c4b0
mov esi, eax
push str.CCZipperObjectFactory::MakeObject
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.004010e0
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x34], 1
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x2c], 2
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40c61b
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 7
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.0040ed90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040ed90
xor eax, eax
cmp edi, 0x7a666474
je 0x40c69b
cmp edi, 0x7a666864
jne 0x40c6d1
push 0x24
call fcn.00428aa5
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x2c], 4
je 0x40c6cf
push eax
call fcn.0040c700
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
push 0x30
call fcn.00428aa5
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x2c], 3
je 0x40c6cf
push eax
call fcn.0040d040
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
Function at 0x40c7e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449300
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x4586f8
lea ecx, [esp + 0x28]
call fcn.004010e0
lea edi, [eax + 4]
mov dword [esp + 0x38], 0
mov eax, dword [edi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x40c841
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.00401c20
mov edi, dword [edi]
push edi
push 7
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed90
cmp dword [ebp + 8], 0
je 0x40c87f
mov eax, 0x68
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x10], 0
je 0x40c95c
mov edi, dword [ebp + 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call edx
test eax, eax
jne 0x40c8ad
cmp dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jg 0x40c8ca
mov eax, 0xc8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 0xc]
mov ebx, 1
mov eax, dword [0x467cf8]
mov ecx, dword [ebp + 0x14]
push eax
push ecx
push 0x7a666474
push edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], 0
call fcn.00416910
add esp, 0x18
test eax, eax
jne 0x40c8ad
mov edi, dword [esp + 0x14]
test edi, edi
je 0x40c942
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x10]
call fcn.0040cfc0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040c480
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x40c8c2
jmp 0x40c8a8
mov eax, 0x66
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
call eax
test eax, eax
jne 0x40c8ad
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jle 0x40c8a8
xor edi, edi
test edi, edi
jl 0x40c9b1
cmp ebx, dword [esi + 0x18]
jge 0x40c9b1
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + edi]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx + 0xc]
add ecx, edi
push eax
call edx
test eax, eax
jne 0x40c8ad
add ebx, 1
add edi, 0x30
cmp ebx, dword [esi + 0x18]
jl 0x40c97f
jmp 0x40c8a8
call fcn.00428da0
int3
Function at 0x40f3c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x446430
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 4]
mov eax, dword [eax - 0xc]
test eax, eax
lea edi, [ebp + 4]
jne 0x40f40f
mov eax, 0x64
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0x10
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x40f3f5
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x40f3f5
push ecx
push eax
call fcn.00432639
add esp, 8
test eax, eax
je 0x40f3f5
sub eax, dword [edi]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x40f3f5
mov edx, dword [edi]
cmp esi, dword [edx - 0xc]
jne 0x40f47a
mov ecx, dword [esp + 0x30]
push edi
add ecx, 4
call fcn.00401b30
mov ecx, dword [esp + 0x34]
push 0x4563c1
add ecx, 4
call fcn.00401a30
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0x10
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.004081f0
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 4]
mov ecx, dword [ecx - 0xc]
xor edx, edx
cmp dword [esp + 0x3c], edx
mov dword [esp + 0x28], 0
setne dl
sub eax, edx
sub eax, ecx
sub eax, esi
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.004082e0
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
add ecx, 4
push edx
mov byte [esp + 0x2c], 1
call fcn.00401b30
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x14]
add ecx, 4
push eax
call fcn.00401b30
mov eax, dword [esp + 0x14]
mov esi, vtable.CPString.0
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
mov dword [esp + 0x10], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f50f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f53b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0x10
Function at 0x40f660
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x45b0b8
push 0x432fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0x7530
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 1
mov edi, dword [ebp + 0xc]
push edi
mov ebx, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
call ebx
test eax, eax
jne 0x40f84c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x40f71b
mov edx, dword [ebp - 0x1c]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x40f71b
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push esi
push 1
push edi
call ebx
test eax, eax
jne 0x40f72f
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x4630d0
call fcn.00433138
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp - 0x24], ebx
cmp ebx, dword [ebp - 0x20]
jae 0x40f840
lea ecx, [ebx + ebx*8]
lea esi, [esi + ecx*4]
mov ecx, 9
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
push 0x24
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x40f78d
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
push 0x4630d0
call fcn.00433138
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
mov dword [ebp - 4], edi
lea edx, [ebp - 0x58]
push edx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40f708
lea esp, [esp]
cmp dword [ebp - 0x54], edi
je 0x40f810
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x1c]
push edx
push 0x24
lea eax, [ebp - 0x58]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40f766
cmp dword [ebp - 0x54], edi
je 0x40f810
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jbe 0x40f7b0
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x4630d0
call fcn.00433138
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call fcn.0040f834
add ebx, edi
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp - 0x28]
jmp 0x40f734
mov dword [ebp - 4], 0xfffffffe
call fcn.0040f866
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f990
Capabilities:
Delete service

Disassembly:
push 0xffffffffffffffff
push 0x4474c8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x40fa0a
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], 1
jle 0x40f9ea
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x24]
call fcn.00401c20
mov eax, dword [esp + 0x20]
push 0x10000
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40fa32
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ed90
mov eax, 0x64
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40fa51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x40fa0a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ed90
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x410790
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446680
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0040ed60
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0040ed60
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x34], 1
call edx
add eax, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0040ed90
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x1c]
push edx
call eax
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0040ed90
lea ecx, [esp + 0xc]
call fcn.0040f360
lea ecx, [esp + 0x14]
call fcn.0040f360
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x10]
cmp eax, dword [edx - 0xc]
jl 0x41088e
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.0040ed90
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040ed90
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
lea ecx, [esp + 0x10]
call fcn.00408170
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00406210
add esp, 8
lea ecx, [esp + 0x14]
movzx esi, al
mov byte [esp + 0x30], 0
call fcn.0040ed90
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040ed90
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4108f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4466d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0040ed60
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.0040ed60
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x30], 2
call edx
add eax, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.0040ed90
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x1c]
push edx
call eax
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.0040ed90
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx - 0xc]
mov eax, dword [edx - 0xc]
cmp ecx, eax
mov esi, dword [esp + 0x34]
jl 0x4109bf
push 0x4563c1
mov ecx, esi
call fcn.00401f20
jmp 0x4109cc
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.004082e0
lea ecx, [esp + 0x14]
mov dword [esp + 8], 1
mov byte [esp + 0x2c], 1
call fcn.0040ed90
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040ed90
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8

Function at 0x412770
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x412783
mov eax, 0x6a
pop esi
ret 8
mov ecx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push 1
push eax
push ecx
call fcn.00433b6f
add esp, 0x10
cmp eax, 1
je 0x4127bb
mov edx, dword [esi + 0x14]
push edx
call fcn.004338a4
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f5
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x4127d0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x4127df
mov eax, 0x6a
ret 8
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push 1
push eax
push ecx
call fcn.00433ce9
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8

Function at 0x4129c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x4129cf
mov eax, 0x1f4
ret 4
push eax
push 1
lea eax, [esp + 0xc]
push 2
push eax
call fcn.00433ce9
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 4

Function at 0x4129f0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x4129ff
mov eax, 0x1f4
ret 4
push eax
push 1
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00433ce9
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 4

Function at 0x412a20
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x412a2f
mov eax, 0x1f4
ret 8
push eax
push 1
lea eax, [esp + 0xc]
push 8
push eax
call fcn.00433ce9
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8
Function at 0x412a50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x412a5f
mov eax, 0x1f4
ret 4
push eax
push 1
lea eax, [esp + 0xc]
push 4
push eax
call fcn.00433ce9
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 4

Function at 0x412a80
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x412a8f
mov eax, 0x1f4
ret 8
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push 1
push eax
push ecx
call fcn.00433ce9
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8
Function at 0x412f80
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x446b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov esi, dword [esp + 0x448]
mov ebp, ecx
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x412fd5
mov eax, 0x1f4
jmp 0x413170
mov eax, dword [ebp]
mov edx, dword [eax + 0xa4]
call edx
test eax, eax
je 0x412fee
mov eax, 0x1f5
jmp 0x413170
lea ecx, [esi + 4]
push 0x4563c1
mov dword [esp + 0x1c], edi
xor bl, bl
mov dword [esp + 0x20], ecx
call fcn.00401a30
mov dword [esp + 0x14], edi
mov eax, dword [ebp]
mov edx, dword [eax + 0x9c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call edx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x413027
lea esi, [eax + 0x6a]
jmp 0x413063
push eax
push 1
lea eax, [esp + 0x38]
push 0x400
push eax
call fcn.00433b6f
add esp, 0x10
cmp eax, 1
je 0x413061
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004338a4
add esp, 4
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffe0b
add esi, 0x1f5
jmp 0x413063
xor esi, esi
mov edx, dword [ebp]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call edx
mov edi, dword [esp + 0x24]
sub edi, dword [esp + 0x20]
test esi, esi
mov ecx, 1
je 0x41308e
cmp esi, ecx
jne 0x41312b
cmp edi, 0x400
jge 0x41309a
mov dword [esp + 0x14], ecx
xor esi, esi
test edi, edi
jle 0x4130cc
cmp bl, 0xa
mov al, byte [esp + esi + 0x30]
je 0x4130bc
cmp bl, 0xd
je 0x4130c0
test al, al
je 0x4130c8
add esi, ecx
cmp esi, edi
mov bl, al
jl 0x4130a0
jmp 0x4130cc
cmp al, 0xd
jmp 0x4130c2
cmp al, 0xa
je 0x4130c8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + esi + 0x34], 0
call fcn.00401f20
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x448], 0
call fcn.00401e50
lea ecx, [esp + 0x28]
mov dword [esp + 0x440], 0xffffffff
call fcn.0040ed90
cmp dword [esp + 0x14], 0
je 0x413009
cmp esi, edi
jl 0x41312f
cmp dword [esp + 0x18], 0
je 0x41316e
add esi, 2
jmp 0x41313e
mov eax, esi
jmp 0x413170
cmp dword [esp + 0x18], 0
je 0x41313b
add esi, 2
jmp 0x41313e
add esi, 1
mov ebx, dword [ebp]
mov edx, ebx
mov eax, dword [edx + 0x94]
mov ecx, ebp
call eax
mov ecx, eax
mov eax, edx
mov dword [esp + 0x1c], eax
mov eax, edi
sub eax, esi
cdq
sub ecx, eax
mov eax, dword [esp + 0x1c]
sbb eax, edx
mov edx, dword [ebx + 0xa0]
push eax
push ecx
mov ecx, ebp
call edx
xor eax, eax
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.00431df7
add esp, 0x430
ret 4
Function at 0x413aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x447010
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
sub esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4563c1
mov dword [esp + 0x28], 0
call fcn.00401f20
mov ecx, esi
call fcn.0040a790
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.CPFPath.0
mov dword [esi + 4], eax
call fcn.00401b30
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x20]
mov dword [esi + 0x10], eax
mov dword [esp + 0x18], 0xffffffff
call fcn.0040ed90
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x14

Function at 0x414a40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x446ec0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x1c], 0
call eax
sub esp, 8
mov ecx, esp
mov dword [esp + 0xc], esp
lea edx, [esp + 0x28]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x28], 1
call fcn.004011f0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.0040ed90
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0040ed90
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret 0xc

Function at 0x414be0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x446f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x230]
neg eax
lea ecx, [esp + 0x14]
push ecx
sbb eax, eax
push 0
and eax, 9
push 0
add eax, 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x414c48
mov eax, 0x66
jmp 0x414c91
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0xc]
call fcn.004010e0
sub esp, 8
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov dword [esp + 0x234], 0
call fcn.00401050
mov ecx, esi
call fcn.00414440
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0xffffffff
call fcn.0040ed90
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00431df7
add esp, 0x224
ret 4
Function at 0x415270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4470a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.0040ed60
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00415160
mov edi, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00415050
push edi
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
mov byte [esp + 0x40], 2
call fcn.004011f0
add eax, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call fcn.00401b30
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.0040ed90
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.0040ed90
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0
call fcn.0040ed90
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx - 0xc]
mov eax, dword [eax - 0xc]
add ecx, 0xffffffff
cmp eax, ecx
jl 0x415353
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed90
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
sub esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00401050
mov ecx, dword [esp + 0x48]
call fcn.00414440
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ed90
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4