joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401203
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x66db68
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [ecx + 0x48]
test edx, edx
je 0x40128b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.WINMM.dll_waveInStop]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInReset]
mov dword [ebp - 8], 0
jmp 0x40124d
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jge 0x40126f
push 0x20
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4 + 0x34]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
jmp 0x401244
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WINMM.dll_waveInClose]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0x20]
xor eax, eax
mov al, byte [edx + 0x49]
test eax, eax
je 0x4012e5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.WINMM.dll_waveOutReset]
mov dword [ebp - 0xc], 0
jmp 0x4012b6
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x4012d8
push 0x20
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx*4 + 0x34]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
jmp 0x4012ad
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x44]
push ecx
call dword [sym.imp.WINMM.dll_waveOutClose]
mov dword [ebp - 4], 0
jmp 0x4012f7
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 2
jge 0x401363
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4 + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00614345
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx*4 + 0x34]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00614345
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4 + 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00614345
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4 + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00614345
add esp, 4
jmp 0x4012ee
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x40149a
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x4014b4
xor al, al
jmp 0x4015d8
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00401df7
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 0x24]
push edx
push 0x401f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x30], eax
push 0x20000
push 0
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x18
push eax
call dword [sym.imp.WINMM.dll_waveInOpen]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401519
xor al, al
jmp 0x4015d8
mov dword [ebp - 0xc], 0
jmp 0x40152b
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 2
jge 0x401598
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 + 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + edx*4 + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4 + 0x34]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 + 0x34]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 + 0x34]
mov dword [ecx + 0x14], 0
push 0x20
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 + 0x34]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
jmp 0x401522
push 0x20
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 + 0x34]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.WINMM.dll_waveInStart]
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x48], 1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x408d08
Capabilities:
Get hostname
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], 0x100
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp - 0x128]
add ecx, 0xc8
call fcn.00618f07
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x11c]
push ecx
push 0x6d7150
mov edx, dword [ebp - 0x128]
add edx, 0xc8
push edx
call fcn.00610e57
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x128]
call fcn.00409760
mov esp, ebp
pop ebp
ret 4
Function at 0x40a2a2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov dword [ebp - 0x2c], ecx
push 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xb8]
add ecx, 0x24
call fcn.0040410e
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 4]
xor edi, edi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor edx, edx
mov ecx, 0x20
call fcn.004ad750
or esi, eax
or edi, edx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x68], esi
mov dword [ecx + 0x6c], edi
mov ecx, dword [ebp - 0x2c]
call fcn.0040a45b
mov edx, dword [ebp - 0x2c]
add edx, 0x68
mov eax, dword [ebp - 0x2c]
add eax, 0x60
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40a32e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x40a343
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0xffffffff
je 0x40a343
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [edx + 0x70]
test eax, eax
je 0x40a350
mov ecx, dword [ebp - 0x2c]
call fcn.0040a566
jmp 0x40a455
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x5c
call fcn.006191ae
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x40a384
jmp 0x40a455
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], 9
mov ecx, 0x2000
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 0
push 0x2000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx], 0x80
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call fcn.004ac230
add esp, 0xc
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
add eax, 5
push eax
call fcn.004ac230
add esp, 0xc
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
jbe 0x40a44b
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xb8]
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0xbc]
call fcn.00416bf7
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a58f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push 0
mov ecx, dword [ebp - 0x138]
add ecx, 0x5c
call fcn.006191ae
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x40a665
mov eax, dword [ebp + 8]
push eax
push 0x6d7e54
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004ad479
add esp, 0xc
push 0x30
push 0x6d7e78
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp - 0x138]
call fcn.00616a5b
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x130], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00618d7e
mov eax, dword [ebp - 0x130]
jmp 0x40a7aa
mov dword [ebp - 0x20], 0xffffffff
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov edx, dword [ebp - 0x10]
imul edx, ecx
add edx, dword [ebp - 0x24]
xor eax, eax
mov ecx, dword [ebp - 0x138]
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
call fcn.00403370
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x138]
push 0
push 0x400
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [eax + 0x60]
push edx
call fcn.004ad6a0
push eax
push str._dKB
lea eax, [ebp - 0x1c]
push eax
call fcn.00610e57
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00403580
push eax
push 0x3e8
mov ecx, dword [ebp - 0x138]
call fcn.00618240
mov dword [ebp - 0x14], 9
mov ecx, dword [ebp - 0x14]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004ac1d0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0x7f
push 4
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
call fcn.004ac230
add esp, 0xc
push 4
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 5
push edx
call fcn.004ac230
add esp, 0xc
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0xb8]
push eax
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx + 0xbc]
call fcn.00416bf7
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x134], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00618d7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00618d7e
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40af90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40afa8
mov dword [ebp + 0xc], 0x80
jmp 0x40afb0
mov eax, dword [ebp + 0xc]
or al, 0x80
mov dword [ebp + 0xc], eax
push 0x4010
push 0x160
lea ecx, [ebp - 0x160]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x15c]
mov esp, ebp
pop ebp
ret
Function at 0x40d7a9
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639164
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
mov dword [ebp - 0x364], ecx
mov dword [ebp - 0x154], 0
push 0x104
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.004ac1d0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + eax - 1]
cmp eax, 0x5c
je 0x40d810
mov dword [ebp - 0x154], 0x6d866c
jmp 0x40d81a
mov dword [ebp - 0x154], 0x76bb60
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s.
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40d85e
xor al, al
jmp 0x40d93e
movsx eax, byte [ebp - 0x124]
cmp eax, 0x2e
jne 0x40d86f
jmp 0x40d919
mov ecx, dword [ebp - 0x150]
and ecx, 0x10
test ecx, ecx
je 0x40d8b7
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x6d8678
lea edx, [ebp - 0x35c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x35c]
push eax
mov ecx, dword [ebp - 0x364]
call fcn.0040d7a9
jmp 0x40d919
lea ecx, [ebp - 0x360]
call fcn.00403370
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_s_s
lea ecx, [ebp - 0x360]
push ecx
call fcn.00610e57
add esp, 0x14
lea edx, [ebp - 0x360]
push edx
mov ecx, dword [ebp - 0x364]
add ecx, 0xb4
call fcn.00411a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x360]
call fcn.00618d7e
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d85e
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40daa0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6391c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xdb5], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xb4
call fcn.00411a90
push 1
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0040dc2c
mov dword [ebp - 4], 0
push 0x76bb64
lea edx, [ebp - 0x10]
push edx
call fcn.004076d0
and eax, 0xff
test eax, eax
je 0x40db16
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00618d7e
jmp 0x40dc1e
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00610aaf
add eax, 1
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00610a37
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x9bc
call fcn.00618eb7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00618d7e
lea ecx, [ebp - 0x10]
call fcn.00403580
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
test eax, eax
je 0x40dbaf
lea ecx, [ebp - 0x10]
call fcn.00403540
sub eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.004114a0
movsx eax, al
cmp eax, 0x5c
je 0x40db9a
push 0x6d8688
lea ecx, [ebp - 0x10]
call fcn.0061915a
push 0
lea ecx, [ebp - 0x10]
call fcn.006191ae
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040d7a9
jmp 0x40dbc1
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xb4
call fcn.00411a30
mov ecx, dword [ebp - 0x18]
add ecx, 0xb4
call fcn.00418700
test eax, eax
je 0x40dbfd
push 0x30
push 0x6d868c
push 0x6d8694
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00618d7e
jmp 0x40dc1e
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0040d94e
mov ecx, dword [ebp - 0x18]
call fcn.0040e14c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00618d7e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40f9fe
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov dword [ebp - 0x2c], ecx
push 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x9a8]
add ecx, 0x24
call fcn.0040410e
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 4]
xor edi, edi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor edx, edx
mov ecx, 0x20
call fcn.004ad750
or esi, eax
or edi, edx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x90], esi
mov dword [ecx + 0x94], edi
mov ecx, dword [ebp - 0x2c]
call fcn.0040f324
mov edx, dword [ebp - 0x2c]
add edx, 0x90
mov eax, dword [ebp - 0x2c]
add eax, 0x88
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40fa95
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x40faad
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40faa1
cmp dword [ebp - 0x14], 0xffffffff
je 0x40faad
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dl, byte [ecx + 0x66]
test edx, edx
je 0x40faba
mov ecx, dword [ebp - 0x2c]
call fcn.0040efea
jmp 0x40fb99
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], 9
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov eax, 0x32000
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0
push 0x32000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov byte [ecx], 0xb
push 4
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
add eax, 1
push eax
call fcn.004ac230
add esp, 0xc
push 4
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
add edx, 5
push edx
call fcn.004ac230
add esp, 0xc
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0
jbe 0x40fb8f
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
push 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x9a8]
push eax
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x9ac]
call fcn.00416bf7
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414f19
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639bfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x114]
add ecx, 4
call fcn.00403580
push eax
push 0x100
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp + 0x14]
call fcn.00403580
push eax
lea ecx, [ebp + 0x10]
call fcn.00403580
push eax
lea ecx, [ebp + 0xc]
call fcn.00403580
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00618dec
mov edx, dword [ebp - 0x110]
or edx, 1
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00618d7e
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00618d7e
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00618d7e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x414fdf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639c1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00403580
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403580
push eax
lea ecx, [ebp + 8]
call fcn.00403580
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00618d7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00618d7e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41505d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x639c42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00403370
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
push 0x6db188
lea ecx, [ebp - 0x110]
push ecx
call fcn.00610e57
add esp, 0xc
mov ecx, dword [ebp - 0x118]
add ecx, 4
call fcn.00403580
push eax
push 0x100
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x110]
call fcn.00403580
push eax
lea ecx, [ebp + 0xc]
call fcn.00403580
push eax
lea ecx, [ebp + 8]
call fcn.00403580
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x10c]
push eax
call fcn.004adadc
add esp, 4
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00618d7e
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00618d7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00618d7e
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc