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

Disassembly:
push 0xffffffffffffffff
push 0x473d6b
mov eax, dword fs:[0]
push eax
mov eax, 0x4018
call fcn.00455e70
mov eax, dword [0x4968d4]
xor eax, esp
mov dword [esp + 0x4014], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4968d4]
xor eax, esp
push eax
lea eax, [esp + 0x402c]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [esp + 0x4040]
mov esi, dword [esp + 0x403c]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov eax, 0x47bd08
jne 0x42c427
mov eax, 0x47bd04
push eax
push esi
push ecx
push str.Tried_to_getting_file_from_http_server_by_socket_:_URL___s___LocalFile___s___Continue___s_
push 1
call fcn.0042b8f0
add esp, 0x14
mov byte [0x49c04c], bl
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x4034], ebx
call fcn.00432190
push 0x3fff
lea ecx, [esp + 0x2d]
push ebx
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x34], bl
call fcn.00455df0
add esp, 0xc
cmp edi, ebx
je 0x42c4bd
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42c4bd
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push edi
call ebp
cmp eax, ebx
jne 0x42c502
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push str.Couldnt_APIOpenFile_file_:__s
push 1
call fcn.0042b8f0
add esp, 0xc
call fcn.0042bc80
mov edi, eax
cmp edi, 0xffffffff
jne 0x42c519
push esi
push str.Failed_to_FileCreate_file_:__s
call fcn.0042bb70
push esi
push str.Failed_to_FileCreate_file_:__s
push 8
call fcn.0042b8f0
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x4034], 0xffffffff
call fcn.0042c360
mov eax, 1
jmp 0x42c6f7
push ebx
push edi
call ebp
push 2
push ebx
push 0xffffffffffffffff
sub eax, 1
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.00432950
test eax, eax
jne 0x42c53f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42c4e4
mov eax, dword [esp + 0x18]
add eax, eax
cdq
push ebx
mov ebp, eax
mov esi, edx
call fcn.0042bcf0
add esp, 4
cmp esi, edx
jl 0x42c594
jg 0x42c55d
cmp ebp, eax
jbe 0x42c594
push str.disk_is_full
call fcn.0042bb70
push str.disk_is_full
push 8
call fcn.0042b8f0
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x4034], 0xffffffff
call fcn.0042c360
mov eax, 5
jmp 0x42c6f7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x42c5aa
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], eax
push 0x4000
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.00432b40
mov esi, eax
cmp esi, ebx
jl 0x42c636
je 0x42c674
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42c5e2
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call eax
add esp, 8
push ebx
lea edx, [esp + 0x24]
push edx
push esi
lea eax, [esp + 0x34]
push eax
push edi
add ebp, esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42c602
cmp dword [esp + 0x20], 0xffffffff
jne 0x42c611
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
je 0x42c55d
cmp byte [0x49c04c], bl
jne 0x42c6c8
push 0x4000
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00432b40
mov esi, eax
cmp esi, ebx
jge 0x42c5c9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Disconnected_http_socket_connection
call fcn.0042bb70
push str.Disconnected_http_socket_connection
push 8
call fcn.0042b8f0
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x4034], 0xffffffff
call fcn.0042c360
mov eax, 4
jmp 0x42c6f7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42c68e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
je 0x42c55d
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42c6a1
mov edx, dword [esp + 0x18]
push edx
push ebp
call eax
add esp, 8
push str.Successed_to_download
push 1
call fcn.0042b8f0
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x4034], 0xffffffff
call fcn.0042c360
xor eax, eax
jmp 0x42c6f7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Canceled_downloading
push 1
call fcn.0042b8f0
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x4034], 0xffffffff
call fcn.0042c360
mov eax, 2
mov ecx, dword [esp + 0x402c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4014]
xor ecx, esp
call fcn.00454567
add esp, 0x4024
ret