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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563cec
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x2d14
push str.CGameProcess::OpenWhisperName
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.005454d0
add esp, 0xc
push 0x69df00
push 0x69dcf0
push str..king_saved
lea ecx, [ebp - 0x11c]
push ecx
call fcn.005456a9
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0xffffffff
je 0x431c05
push 0
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x431a19
mov byte [ebp - 0x13d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x13d]
jmp 0x431c5b
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
push edx
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 0
mov edx, dword [ebp - 0x13c]
push edx
call fcn.005454d0
add esp, 0xc
push 0
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x12c]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x130], 0
push 0x5b
mov edx, dword [ebp - 0x13c]
push edx
call fcn.004372e0
add esp, 8
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x130], 0
je 0x431be5
mov eax, dword [ebp - 0x130]
movsx ecx, byte [eax]
test ecx, ecx
je 0x431be5
cmp dword [ebp - 0x130], 0
je 0x431bca
cmp dword [ebp - 0x124], 0xa
jge 0x431bca
mov edx, dword [ebp - 0x130]
add edx, 1
mov dword [ebp - 0x130], edx
push 0x5d
mov eax, dword [ebp - 0x130]
push eax
call fcn.004372e0
add esp, 8
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x431bc5
mov ecx, dword [ebp - 0x128]
mov byte [ecx], 0
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x130]
push eax
call fcn.00545a90
add esp, 4
cmp eax, 0xe
jbe 0x431b71
mov ecx, dword [ebp - 0x130]
mov byte [ecx + 0xe], 0
mov edx, dword [ebp - 0x130]
push edx
push 0x104
mov eax, dword [ebp - 0x124]
imul eax, eax, 0x104
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 0x1119bc]
push edx
call fcn.005477d6
add esp, 0xc
mov eax, dword [ebp - 0x124]
add eax, 1
mov dword [ebp - 0x124], eax
push 0x5b
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004372e0
add esp, 8
mov dword [ebp - 0x130], eax
jmp 0x431aee
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
push eax
call fcn.00544d5d
add esp, 4
mov byte [ebp - 0x149], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x149]
jmp 0x431c5b
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa28
push 0
mov edx, dword [ebp - 0x150]
add edx, 0x1119bc
push edx
call fcn.005454d0
add esp, 0xc
mov byte [ebp - 0x14a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x14a]
jmp 0x431c5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret