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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ff30
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x20]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov cx, word [ebp - 0x1a]
cmp cx, word [esi + 0x26]
je 0x434fac
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x434f55
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
sub esp, 0x18
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], esp
mov eax, esp
je 0x434f74
mov dword [eax], vtable.std::tr1::_Impl_base2_bool__char_const___struct__WIN32_FIND_DATAA_const__.0
mov dword [eax], vtable.._AV___Impl_no_alloc2_U___Callable_obj_V_lambda0___A0xb05a00b3_errorlog_wxfw___0A__tr1_std___NPBDABU_WIN32_FIND_DATAA___tr1_std__.0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0x10], eax
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x434f82
mov eax, dword [eax]
push 0
push eax
call fcn.0040c250
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x20], edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
add esp, 0x20
mov dword [esi + 0x2c], edx
mov dword [esi + 0x1c], 0
cmp dword [esi], 0xffffffff
jne 0x434fbc
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00434260
mov ebx, dword [esi]
cmp ebx, 0xffffffff
je 0x435102
cmp dword [esi + 0x98], 0
mov dword [ebp - 0x5c], 0
je 0x435098
mov ecx, dword [esi + 0x68]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x434fe3
sub eax, edi
mov byte [ecx + eax - 2], dl
mov ecx, dword [esi + 0x68]
xor ebx, ebx
mov eax, ecx
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435007
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00401602
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [esi + 0x88]
mov dword [ebp - 4], ebx
call fcn.0040c450
mov edi, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x28], edi
jb 0x43504a
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004777ca
add esp, 4
push 2
push 0x4ae4e0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], 0
call fcn.00403571
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x44], edi
jae 0x435072
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x48]
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push edx
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x44], edi
jb 0x4350ba
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.004777ca
add esp, 4
jmp 0x4350ba
mov edx, dword [esi + 0x68]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4350a0
push 0
lea ecx, [ebp - 0x5c]
push ecx
sub eax, edi
push eax
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebx, ebx
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x435102
lea edx, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x64], eax
cmp eax, 0xffffffff
jne 0x4350e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x435102
mov eax, dword [ebp - 0x64]
xor ecx, ecx
shl edi, 0x14
cmp dword [ebp - 0x60], ecx
jb 0x435102
ja 0x4350f4
cmp eax, edi
jb 0x435102
inc dword [esi + 0x1c]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00434260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751f1
mov esp, ebp
pop ebp
ret