joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..GlobalAvg7Rs
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x430ebb
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str.Avg7Rs
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x430f1c
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 0x5349a010
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x430eff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x430f10
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x430f32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jne 0x430f32
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret

Function at 0x430fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040540f
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 1], 0
push 0x20
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00405429
add esp, 8
test eax, eax
je 0x430fe6
mov byte [ebp - 1], 1
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
call fcn.0040565a
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4310a5
movzx edx, byte [ebp - 1]
test edx, edx
je 0x431025
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x22
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x431063
mov edx, dword [ebp - 0xc]
mov byte [edx], 0x22
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0x20
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040564f
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4310b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4310e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x431170
push 0
lea ecx, [ebp - 0x10]
push ecx
push 2
push 0x4524d0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x431118
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040540f
add esp, 4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
test edx, edx
je 0x431164
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040540f
add esp, 4
shl eax, 1
mov dword [ebp - 4], eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x10]
push edx
push 4
push 0x4524d4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x431102
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4312d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov byte [ebp - 0xd], 0
cmp dword [ebp + 8], 0
je 0x4313fa
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4313fa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x431315
mov eax, dword [ebp - 0xc]
and eax, 0x10
jne 0x43131c
xor al, al
jmp 0x431425
push str.NTOSKRNL.EXE
push 0x452420
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403650
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x431366
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x10
jne 0x431354
mov byte [ebp - 2], 1
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040564f
add esp, 4
push 0x452434
push str.System32
mov eax, dword [ebp + 8]
push eax
call fcn.00403650
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4313b0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 0x10
jne 0x43139e
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040564f
add esp, 4
push str.SYSTEM
push str.System32config
mov edx, dword [ebp + 8]
push edx
call fcn.00403650
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4313fa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x10
jne 0x4313e8
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040564f
add esp, 4
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x43141b
movzx edx, byte [ebp - 1]
test edx, edx
je 0x43141b
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x43141b
mov dword [ebp - 0x20], 1
jmp 0x431422
mov dword [ebp - 0x20], 0
mov al, byte [ebp - 0x20]
mov esp, ebp
pop ebp
ret

Function at 0x431fe0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x1000
mov eax, dword [ebp - 4]
push eax
push 8
call fcn.004011a0
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.Ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x432012
xor eax, eax
jmp 0x43205a
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0xb
call dword [sym.imp.Ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc0000004
je 0x43203d
cmp dword [ebp - 0xc], 0xc0000023
je 0x43203d
jmp 0x432057
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.004011a0
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.Ntdll.dll_RtlFreeHeap]
jmp 0x431fed
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4327b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push str.IDR_BINARY
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432879
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jb 0x432870
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432865
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43285a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00432390
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x432858
mov dword [ebp - 4], 0xb
jmp 0x432863
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x43286e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x432877
mov dword [ebp - 4], 0x138f
jmp 0x432882
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4328b2
cmp dword [ebp - 8], 0
je 0x4328a1
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [0x45a5e0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx edx, byte [ecx + 0x895]
test edx, edx
je 0x432935
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4328eb
jmp 0x432935
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00432560
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x432935
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x432923
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00405590
add esp, 8
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040564f
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x432940
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
push 0x100081
lea ecx, [ebp - 0xc]
push ecx
call fcn.0042e2c0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x432a08
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
ja 0x4329f5
jb 0x43299f
cmp dword [ebp - 0x20], 0x400000
jae 0x4329f5
mov ecx, dword [ebp - 0x20]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4329ec
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
je 0x4329e2
mov dword [ebp - 8], 0x1e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
jmp 0x4329f3
mov dword [ebp - 8], 8
jmp 0x4329fc
mov dword [ebp - 8], 0xdf
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x432a11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x432a41
cmp dword [ebp - 0x14], 0
je 0x432a30
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [0x45a5e0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x433190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x74], 0
je 0x4331b3
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x74]
jmp 0x4332b0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x70], 0
jne 0x4331c6
mov eax, 0xe8
jmp 0x4332b0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x70]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx*4 + 0x28]
cmp dword [ebp - 0x10], ecx
je 0x4331e2
mov eax, 0x57
jmp 0x4332b0
push 4
mov ecx, dword [ebp - 0x20]
call fcn.00432c60
movzx edx, al
test edx, edx
jne 0x4331fd
mov eax, 8
jmp 0x4332b0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
add ecx, dword [edx]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x20]
add edx, dword [eax + 0x28]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x4c494154
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
add ecx, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x70]
sub ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x70], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x70], 0
jne 0x4332ae
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x28]
sub eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x4332ae
mov eax, 0x70
jmp 0x4332b0
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x433730
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
add eax, 3
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0xc0000000
add ecx, 0x80000000
mov dword [ebp - 0x10], ecx
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0
push 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0xffffffff
jne 0x433792
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43387d
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x4337d6
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], 0
jne 0x4337c7
mov eax, 8
jmp 0x43387d
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x24], 0x1000
jmp 0x433871
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
or edx, dword [ebp - 4]
je 0x433801
cmp dword [ebp - 4], 0
ja 0x433801
cmp dword [ebp - 8], 0x1000000
jbe 0x433808
mov eax, 0xdf
jmp 0x43387d
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
jne 0x433836
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43387d
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x18], 0
jne 0x433862
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43387d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x433ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x4566e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x81c], ecx
mov dword [ebp - 0x818], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x810], 0xa0000000
push 0
push 0
push 3
push 0
push 0
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x433d6e
push 0
lea edx, [ebp - 0x818]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov eax, dword [ebp - 0x810]
push eax
push 3
push 0
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0xffffffff
je 0x433dca
push 0
lea eax, [ebp - 4]
push eax
push 0x400
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0x814]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x80c], 0xffffffff
je 0x433e1d
cmp dword [ebp - 0x814], 0xffffffff
je 0x433e1d
mov ecx, dword [ebp - 0x818]
cmp ecx, dword [ebp - 4]
jne 0x433e08
mov edx, dword [ebp - 0x818]
push edx
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x808]
push ecx
call fcn.00405c95
add esp, 0xc
test eax, eax
je 0x433e1d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x178]
or eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x178], eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403b8c
mov esp, ebp
pop ebp
ret 4
Function at 0x435200
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43522e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x435249
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 5
je 0x435243
cmp dword [ebp - 4], 6
jne 0x435247
mov al, 1
jmp 0x435249
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x435360
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4566e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0x80
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ecx, ecx
mov word [ebp - 0x112], cx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [ebp - 0xc]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
call fcn.00435250
add esp, 0xc
add eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0xffff
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00435250
add esp, 0xc
mov word [ebp - 0x11c], ax
lea edx, [ebp - 0xc]
push edx
push 0xffff
mov eax, dword [ebp - 0xc]
push eax
call fcn.00435250
add esp, 0xc
mov word [ebp - 0x120], ax
lea ecx, [ebp - 0xc]
push ecx
push 0xffff
mov edx, dword [ebp - 0xc]
push edx
call fcn.00435250
add esp, 0xc
mov word [ebp - 8], ax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00435250
add esp, 0xc
mov dword [ebp - 0x124], eax
lea edx, [ebp - 0xc]
push edx
push 0xffff
mov eax, dword [ebp - 0xc]
push eax
call fcn.00435250
add esp, 0xc
mov word [ebp - 0x10], ax
movzx ecx, word [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x124]
push edx
movzx eax, word [ebp - 8]
push eax
movzx ecx, word [ebp - 0x120]
push ecx
movzx edx, word [ebp - 0x11c]
push edx
mov eax, dword [ebp - 4]
push eax
push str._08X__04X__04X__04X__08X_04X
mov ecx, dword [ebp + 8]
push ecx
call fcn.004054ca
add esp, 0x20
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403b8c
mov esp, ebp
pop ebp
ret
Function at 0x435700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4566e4]
xor eax, ebp
mov dword [ebp - 8], eax
push 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
push 0x3ee
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x4357b7
push 0xff
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [0x45a808]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edx, [ebp - 0x210]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x435630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
je 0x4357f6
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x435813
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1402
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403b8c
mov esp, ebp
pop ebp
ret