Function at 0x431980
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472cb0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x680
mov eax, dword [0x496534]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebx + 8]
push 0x208
mov dword [ebp - 0x694], eax
lea eax, [ebp - 0x460]
push 0
push eax
mov dword [ebp - 0x678], 4
mov dword [ebp - 0x67c], 0xffffffff
call fcn.0044f210
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x208
push 0
push eax
call fcn.0044f210
add esp, 0xc
lea eax, [ebp - 0x50]
push 0x34
push 0
push eax
call fcn.0044f210
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0x670], xmm0
push 0x3e8
push dword [0x49c3f8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x431d26
mov dword [ebp - 4], eax
mov eax, dword [0x49c3fc]
test eax, eax
je 0x431a5b
xor edx, edx
div dword [0x49c400]
mov dword [0x49c3fc], edx
push ecx
lea eax, [ebp - 0x460]
push eax
call fcn.00431d50
test eax, eax
jne 0x431a87
push 0x493240
lea eax, [ebp - 0x680]
mov dword [ebp - 0x680], 0x80004005
push eax
call fcn.0044f8e6
push dword [0x49c3fc]
lea eax, [ebp - 0x460]
push eax
push str._sDebugLog__04d.txt
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.004305f0
add esp, 0x14
test eax, eax
jns 0x431acc
push 0x493240
lea eax, [ebp - 0x684]
mov dword [ebp - 0x684], 0x80004005
push eax
call fcn.0044f8e6
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x67c], esi
cmp esi, 0xffffffff
jne 0x431b13
push 0x493240
lea eax, [ebp - 0x688]
mov dword [ebp - 0x688], 0x80004005
push eax
call fcn.0044f8e6
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x431b47
push eax
lea eax, [ebp - 0x678]
mov word [ebp - 0x674], 0xfeff
push eax
push 2
lea eax, [ebp - 0x674]
push eax
push esi
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [0x49c404], eax
jae 0x431c5b
push 0x200
lea eax, [ebp - 0x660]
push 0
push eax
call fcn.0044f210
mov eax, dword [0x49c3fc]
xor edx, edx
inc eax
add esp, 0xc
div dword [0x49c400]
lea eax, [ebp - 0x660]
push edx
push 0x4857d8
push 0x100
push eax
mov dword [0x49c3fc], edx
call fcn.00409370
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x49c3fc]
lea eax, [ebp - 0x460]
mov dword [ebp - 0x67c], 0xffffffff
push eax
push str._sDebugLog__04d.txt
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.004305f0
add esp, 0x14
test eax, eax
jns 0x431bf6
push 0x493240
lea eax, [ebp - 0x68c]
mov dword [ebp - 0x68c], 0x80004005
push eax
call fcn.0044f8e6
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x67c], esi
cmp esi, 0xffffffff
jne 0x431c3d
push 0x493240
lea eax, [ebp - 0x690]
mov dword [ebp - 0x690], 0x80004005
push eax
call fcn.0044f8e6
push 0
lea eax, [ebp - 0x678]
mov word [ebp - 0x674], 0xfeff
push eax
push 2
lea eax, [ebp - 0x674]
push eax
push esi
call edi
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x662]
push eax
movzx eax, word [ebp - 0x664]
push eax
movzx eax, word [ebp - 0x666]
push eax
movzx eax, word [ebp - 0x668]
push eax
movzx eax, word [ebp - 0x66a]
push eax
movzx eax, word [ebp - 0x66e]
push eax
movzx eax, word [ebp - 0x670]
push eax
push str._04d__02d__02d__02d:_02d:_02d:_04d
lea eax, [ebp - 0x50]
push 0x1a
push eax
call fcn.004305f0
add esp, 0x28
mov dword [ebp - 0x678], 0
lea eax, [ebp - 0x678]
push 0
push eax
push 0x32
lea eax, [ebp - 0x50]
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x678]
push eax
mov eax, dword [ebx + 0xc]
add eax, eax
push eax
push dword [ebp - 0x694]
push esi
call edi
push 0
lea eax, [ebp - 0x678]
push eax
push 4
push 0x487e2c
push esi
call edi
jmp 0x431d0e
cmp esi, 0xffffffff
je 0x431d1a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x49c3f8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044ae75
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8