joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438c00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x438c2f
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00509a8b
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x4390c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548739
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x583008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x124]
call fcn.004063e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0x120]
mov byte [eax], 0
push 0x105
lea ecx, [ebp - 0x124]
call fcn.004064e0
push eax
push 0
push 0x550df8
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x124]
call fcn.004399a0
cmp dword [ebp + 0x10], 0
jne 0x439176
lea ecx, [ebp - 0x124]
call fcn.00406520
push eax
call fcn.0050870f
lea edx, [ebp - 0x124]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406400
mov eax, dword [ebp - 0x128]
or eax, 1
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.004064a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b97e
mov esp, ebp
pop ebp
ret
Function at 0x43a660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x583008]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x18], ax
mov ecx, 7
mov word [ebp - 0x16], cx
mov edx, 6
mov word [ebp - 0x14], dx
mov eax, 1
mov word [ebp - 0x12], ax
mov ecx, 2
mov word [ebp - 0x10], cx
mov edx, 5
mov word [ebp - 0xe], dx
mov eax, 4
mov word [ebp - 0xc], ax
mov ecx, 3
mov word [ebp - 0xa], cx
lea edx, [ebp + 0xc]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
jmp 0x43a6d3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x43a6fa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0x3c]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x3c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x3c]
mov dword [ebp + edx*4 - 0x38], ecx
jmp 0x43a6ca
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0x3c]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x3c], eax
mov dword [ebp - 4], 0
jmp 0x43a71d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 8
jge 0x43a742
mov eax, dword [ebp + 8]
push eax
push 1
push 2
mov ecx, dword [ebp - 4]
movsx edx, word [ebp + ecx*2 - 0x18]
mov eax, dword [ebp + edx*4 - 0x3c]
push eax
call fcn.0051eea2
add esp, 0x10
jmp 0x43a714
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 1
jmp 0x43a760
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x43a787
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x3c]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x3c], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0x3c]
mov dword [ebp + ecx*4 - 0x38], eax
jmp 0x43a757
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x3c]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x3c], edx
mov dword [ebp - 4], 0
jmp 0x43a7aa
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x43a7cf
mov edx, dword [ebp + 8]
push edx
push 1
push 2
mov eax, dword [ebp - 4]
movsx ecx, word [ebp + eax*2 - 0x18]
mov edx, dword [ebp + ecx*4 - 0x3c]
push edx
call fcn.0051eea2
add esp, 0x10
jmp 0x43a7a1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051b97e
mov esp, ebp
pop ebp
ret
Function at 0x43a7e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x583008]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov al, byte [0x55102c]
mov byte [ebp - 0x4c], al
xor ecx, ecx
mov dword [ebp - 0x4b], ecx
mov dword [ebp - 0x47], ecx
xor edx, edx
mov word [ebp - 0x1c], dx
mov eax, 7
mov word [ebp - 0x1a], ax
mov ecx, 6
mov word [ebp - 0x18], cx
mov edx, 1
mov word [ebp - 0x16], dx
mov eax, 2
mov word [ebp - 0x14], ax
mov ecx, 5
mov word [ebp - 0x12], cx
mov edx, 4
mov word [ebp - 0x10], dx
mov eax, 3
mov word [ebp - 0xe], ax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 1
jmp 0x43a863
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x43a88a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x40]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x40], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0x40]
mov dword [ebp + ecx*4 - 0x3c], eax
jmp 0x43a85a
mov dword [ebp - 4], 0
jmp 0x43a89c
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x43a8c1
mov edx, dword [ebp + 8]
push edx
push 1
push 2
mov eax, dword [ebp - 4]
movsx ecx, word [ebp + eax*2 - 0x1c]
mov edx, dword [ebp + ecx*4 - 0x40]
push edx
call fcn.0051f1c4
add esp, 0x10
jmp 0x43a893
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
fld qword [edx]
fstp qword [ecx]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 1
jmp 0x43a8ef
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 8
jge 0x43a916
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x40]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x40], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x40]
mov dword [ebp + eax*4 - 0x3c], edx
jmp 0x43a8e6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x40]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x40], ecx
mov dword [ebp - 4], 0
jmp 0x43a939
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x43a95e
mov ecx, dword [ebp + 8]
push ecx
push 1
push 2
mov edx, dword [ebp - 4]
movsx eax, word [ebp + edx*2 - 0x1c]
mov ecx, dword [ebp + eax*4 - 0x40]
push ecx
call fcn.0051f1c4
add esp, 0x10
jmp 0x43a930
mov edx, dword [ebp - 0x40]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
fld qword [ecx]
fstp qword [eax]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0051b97e
mov esp, ebp
pop ebp
ret
Function at 0x43a9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movsx eax, word [ebp + 0x10]
mov ecx, 0x3e8
sub ecx, eax
mov dword [ebp - 0x24], ecx
push 0
call fcn.0043abc0
add esp, 4
push eax
call fcn.0051d4d9
add esp, 4
call fcn.0051d4eb
cdq
idiv dword [ebp - 0x24]
mov word [ebp - 0x10], dx
cmp dword [ebp + 0xc], 0
jle 0x43aa21
fld1
fstp qword [ebp - 0x2c]
jmp 0x43aa2a
fld qword [0x54ead0]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fstp qword [ebp - 0x18]
push 0x551038
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 8]
push eax
call fcn.0051b92b
add esp, 0xc
test eax, eax
jne 0x43abac
mov ecx, dword [ebp - 8]
push ecx
push 1
push 2
lea edx, [ebp + 0x10]
push edx
call fcn.0051eea2
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
push 1
push 2
lea ecx, [ebp - 0x10]
push ecx
call fcn.0051eea2
add esp, 0x10
mov dword [ebp - 4], 0
jmp 0x43aa87
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movsx eax, word [ebp - 0x10]
cmp dword [ebp - 4], eax
jge 0x43aace
call fcn.0051d4eb
mov dword [ebp - 0xc], eax
call fcn.0051d4eb
imul eax, eax, 0x22
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.0051d4eb
imul eax, eax, 0x927
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
push 4
push 8
lea edx, [ebp - 0xc]
push edx
call fcn.0051eea2
add esp, 0x10
jmp 0x43aa7e
mov eax, dword [ebp - 8]
push eax
push 1
push 2
lea ecx, [ebp - 0x10]
push ecx
call fcn.0051eea2
add esp, 0x10
mov dword [ebp - 4], 0
jmp 0x43aaf4
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movsx eax, word [ebp + 0x10]
cmp dword [ebp - 4], eax
jge 0x43ab40
mov ecx, dword [ebp - 4]
shl ecx, 4
add ecx, dword [ebp + 0x14]
call fcn.004d3330
fld qword [ebp - 0x18]
fmul qword [eax]
fstp qword [ebp - 0x20]
mov ecx, dword [ebp - 4]
shl ecx, 4
add ecx, dword [ebp + 0x14]
call fcn.004d3340
sub esp, 8
fld qword [eax]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0x20]
fstp qword [esp]
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043a660
add esp, 0x14
jmp 0x43aaeb
movsx edx, word [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x43ab52
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3e8
jge 0x43ab99
call fcn.0051d4eb
mov dword [ebp - 0xc], eax
call fcn.0051d4eb
imul eax, eax, 0x22
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.0051d4eb
imul eax, eax, 0x927
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
push 4
push 8
lea edx, [ebp - 0xc]
push edx
call fcn.0051eea2
add esp, 0x10
jmp 0x43ab49
mov eax, dword [ebp - 8]
push eax
call fcn.0051b57d
add esp, 4
mov eax, 1
jmp 0x43abae
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x452300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54897f
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x583008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x58], 0
je 0x45235d
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0x551338
mov ecx, dword [ebp - 0x14]
add ecx, 0x80
call fcn.0043d090
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
push 0
mov ecx, dword [ebp - 0x14]
call fcn.00453630
mov edx, dword [ebp - 0x14]
mov dword [edx], vtable.RFKoll.1.0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx + 8], vtable.RFKoll.0
mov ecx, dword [ebp - 0x14]
fld qword [ebp + 8]
fstp qword [ecx + 0x30]
mov edx, dword [ebp - 0x14]
fld qword [ebp + 0x10]
fstp qword [edx + 0x38]
mov eax, dword [ebp - 0x14]
add eax, 0x40
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x20]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x24]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0x28]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 0x2c]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x14]
fld qword [ebp + 0x30]
fstp qword [eax + 0x58]
mov ecx, dword [ebp - 0x14]
fld qword [ebp + 0x38]
fstp qword [ecx + 0x60]
mov edx, dword [ebp - 0x14]
add edx, 0x68
mov eax, dword [ebp + 0x40]
mov dword [edx], eax
mov ecx, dword [ebp + 0x44]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0x48]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x4c]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x50]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x54]
mov dword [edx + 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x54
Function at 0x45ec10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548d6e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x583008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0045ea90
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0045f0d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004063e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0x5518e8
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00406ed0
add esp, 0x14
lea ecx, [ebp - 0x18]
call fcn.004063e0
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push str._s____s____s
lea edx, [ebp - 0x18]
push edx
call fcn.00406ed0
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00406400
mov dword [ebp - 0x2c], eax
call fcn.004f08a0
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x45ecff
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x14], eax
jmp 0x45ed25
lea ecx, [ebp - 0x20]
call fcn.00406520
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004064a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004064a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004064a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004064a0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4827b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549f82
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x583008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x60], 0
je 0x48282f
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x55331c
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x98], 0x5551cc
mov ecx, dword [ebp - 0x14]
add ecx, 0x60
call fcn.0043d090
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x90
call fcn.00453630
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax], vtable.._AURF__FJ___Anfangsberechnung_eckrad__QAEXXZ_.1.0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx], vtable.._AURF__FJ___Anfangsberechnung_eckrad__QAEXXZ_.0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
sub edx, 0x90
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax - 4], edx
mov edx, dword [ebp - 0x14]
fld qword [ebp + 8]
fstp qword [edx + 8]
mov eax, dword [ebp - 0x14]
fld qword [ebp + 0x10]
fstp qword [eax + 0x10]
mov ecx, dword [ebp - 0x14]
fld qword [ebp + 0x18]
fstp qword [ecx + 0x18]
mov edx, dword [ebp - 0x14]
fld qword [ebp + 0x20]
fstp qword [edx + 0x20]
mov eax, dword [ebp - 0x14]
fld qword [ebp + 0x28]
fstp qword [eax + 0x28]
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
mov edx, dword [ebp + 0x30]
mov dword [ecx], edx
mov eax, dword [ebp + 0x34]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x38]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x3c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0x40]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 0x44]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
mov edx, dword [ebp + 0x48]
mov dword [ecx], edx
mov eax, dword [ebp + 0x4c]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x50]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x54]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0x58]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 0x5c]
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x5c
Function at 0x4f9f50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x583008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x20]
call fcn.004063e0
mov dword [ebp - 4], 0
push 0x558c31
lea ecx, [ebp - 0x1c]
call fcn.00406420
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
jmp 0x4f9fb5
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x18
jg 0x4fa041
mov ecx, dword [ebp - 0x24]
add ecx, 0x43
push ecx
push 0x558c4c
lea edx, [ebp - 0x1c]
push edx
call fcn.00406ed0
add esp, 0xc
mov eax, dword [ebp - 0x24]
add eax, 3
push eax
call fcn.00520ac3
add esp, 4
cmp eax, 0xffffffff
je 0x4fa03c
push str.AUMENU_
lea ecx, [ebp - 0x1c]
call fcn.0045efb0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00406400
mov dword [ebp - 0x30], eax
call fcn.004f0c40
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4fa03c
mov eax, dword [ebp - 0x24]
add eax, 0x43
push eax
push str._c:_
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00406ed0
add esp, 0xc
mov dword [ebp - 0x18], 1
jmp 0x4fa041
jmp 0x4f9fac
cmp dword [ebp - 0x18], 0
jne 0x4fa058
push 0x558c64
lea edx, [ebp - 0x1c]
push edx
call fcn.00406ed0
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406520
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004064a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004064a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4fa0b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bc31
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x583008]
xor eax, ebp
mov dword [ebp - 0x44], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x14], 0x100
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x558c68
lea ecx, [ebp - 0x148]
call fcn.00406420
mov dword [ebp - 4], 0
movzx edx, byte [ebp - 0x144]
push edx
push 0
lea ecx, [ebp - 0x148]
call fcn.004110f0
lea ecx, [ebp - 0x148]
call fcn.00405f80
push 0x558c6c
lea ecx, [ebp - 0x148]
call fcn.0045efb0
lea ecx, [ebp - 0x3c]
call fcn.004063e0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.211223093231243231
call fcn.00406420
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x150]
push eax
call fcn.004fccc0
add esp, 8
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x164]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00408140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.004064a0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x148]
call fcn.00405ee0
lea ecx, [ebp - 0x2c]
call fcn.0050c519
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x148]
call fcn.00406520
push eax
lea ecx, [ebp - 0x2c]
call fcn.0050c5ae
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4fa222
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x154], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0050c53f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004064a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.004064a0
mov eax, dword [ebp - 0x154]
jmp 0x4fa2bd
lea ecx, [ebp - 0x2c]
call fcn.0050c389
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x34]
call fcn.00439810
lea ecx, [ebp - 0x2c]
call fcn.0050c3c5
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0050c436
lea ecx, [ebp - 0x34]
call fcn.004fd400
mov esi, eax
sub esi, 0x7bc
imul esi, esi, 0x22d
lea ecx, [ebp - 0x34]
call fcn.004fd440
imul eax, eax, 0x25
add esi, eax
lea ecx, [ebp - 0x34]
call fcn.004fd480
add esi, eax
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x2c]
call fcn.0050c2a3
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0050c53f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004064a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.004064a0
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.0051b97e
mov esp, ebp
pop ebp
ret
Function at 0x4ffe9f
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 0x4ffec3
cmp dword [edi + 0x54], 0
jne 0x4ffec3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004ff2dd
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004ffe60
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 0x50554a
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 0x505591
call fcn.004ff2dd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x505591
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x5055ad
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005050c4
mov esi, eax
test edi, edi
je 0x5055ab
test ebx, ebx
je 0x5055ab
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x506403
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x54c5be
call fcn.00520eb8
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x506428
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x50646e
lea ecx, [ebp - 0x10]
call fcn.004063e0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004fe095
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00406800
mov eax, esi
call fcn.00520f90
ret 8