Function at 0x5744a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58aed9
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x5ed130]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1bc], ecx
push 0
push 0x80
push 3
push 0
push 1
push accept
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5749d9
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call fcn.0043d429
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00428d20
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408f90
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041f960
mov byte [eax], 0
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x3a4
call fcn.0041e6b0
lea ecx, [ebp - 0xc4]
call fcn.00434c30
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x24]
call fcn.00430080
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00408f90
push eax
lea ecx, [ebp - 0x148]
call fcn.00401580
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00434cb0
mov byte [ebp - 0x129], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x148]
call fcn.00401600
movzx edx, byte [ebp - 0x129]
test edx, edx
je 0x5749af
lea ecx, [ebp - 0xc8]
call fcn.0041b6d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.0041b710
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1bc]
add eax, 0x3bc
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x24]
call fcn.00431560
mov dword [ebp - 0x124], eax
jmp 0x57464c
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
cmp edx, dword [ebp - 0x124]
jae 0x57497e
lea eax, [ebp - 0x164]
push eax
push 0x5dd34c
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.004307d0
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00401620
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x164]
call fcn.00401600
push str.clueType
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x180]
push edx
push str.clueCode
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.004307d0
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1cc]
call fcn.00401700
push eax
lea ecx, [ebp - 0xc8]
call fcn.00584400
push eax
lea edx, [ebp - 0x19c]
push edx
call fcn.0057fa90
add esp, 8
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.00401620
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x19c]
call fcn.00401600
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.00401600
lea edx, [ebp - 0x1b8]
push edx
push str.numType
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.004307d0
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
call fcn.00401700
push eax
call fcn.0044464c
add esp, 4
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x1b8]
call fcn.00401600
push str.isPhoto
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
test eax, eax
setne dl
mov byte [ebp - 0xdc], dl
push str.isCut
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
test eax, eax
setne cl
mov byte [ebp - 0xdb], cl
push str.isSound
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
test eax, eax
setne al
mov byte [ebp - 0xda], al
push str.freCutPhone
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
mov word [ebp - 0xd8], ax
push str.freCutScreen
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
mov word [ebp - 0xd6], ax
push str.soundRecodCut
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
mov word [ebp - 0xd4], ax
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x1bc]
add ecx, 0x3a4
call fcn.0041e630
movzx edx, word [ebp - 0xd4]
push edx
movzx eax, byte [ebp - 0xda]
push eax
movzx ecx, word [ebp - 0xd6]
push ecx
movzx edx, byte [ebp - 0xdb]
push edx
movzx eax, word [ebp - 0xd8]
push eax
movzx ecx, byte [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0xf8]
call fcn.00401700
push eax
mov eax, dword [ebp - 0x100]
push eax
call fcn.00569e00
add esp, 4
push eax
lea ecx, [ebp - 0x11c]
call fcn.00401700
push eax
push 0x5dd3b8
mov ecx, dword [0x5f9318]
push ecx
call fcn.00567c70
push eax
call fcn.005679e0
add esp, 0x34
jmp 0x57463d
mov edx, dword [ebp - 0x1bc]
add edx, 0x3bc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.0041b740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.0041b6f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004305b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.0040af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041b650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0043dd0c
mov esp, ebp
pop ebp
ret 4