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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54899c
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x672114]
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
mov dword [ebp - 0x290], ecx
mov eax, dword [0x674ab8]
test eax, eax
jne 0x456ba2
push 0x304
call fcn.00474152
add esp, 4
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x456b94
mov ecx, eax
call fcn.00430f40
jmp 0x456b96
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x674ab8], eax
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, eax
call fcn.00431aa0
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x26c]
push 0
cmovae eax, dword [ebp - 0x26c]
push 0x80
push 4
push 0
push 1
push connect
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x288], eax
cmp eax, 0xffffffff
je 0x456d98
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
call fcn.00402160
lea eax, [ebx + 1]
push eax
call fcn.004741dd
mov edi, eax
add esp, 4
mov dword [ebp - 0x28c], edi
test edi, edi
je 0x456d65
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov ecx, 0x3d
mov byte [ebp - 4], 2
mov esi, str.XEl7zAD8Bpj6r30Ez4jLU6GfnQB1TcPZIQuFjVRaPkNZA7Ke8MaFIMy2GcBQn8NSh9Ed2RekFvhKgtFWpIC4P8mnGC5NsTiyeGXARTImvOb7h0TeHrl5NBMCud7n6rJtxzevWi0BmPr9UMyr8Yz6CWTGqh6F3la8Kx5NKKIaGDulxkjwS85upemK01UxFBy9aSM154qRVtuMsr9REBuM0faFJw78wagddG9f9D5f6VHB0pal7I7hv
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x254]
movsw word es:[edi], word [esi]
call fcn.004057d0
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x29c]
call fcn.00408170
mov eax, dword [ebp - 0x240]
cmp eax, 0x10
jb 0x456c9b
inc eax
lea ecx, [ebp - 0x254]
push eax
push dword [ebp - 0x254]
call fcn.00408010
lea eax, [ebx + 1]
push eax
push 0
push dword [ebp - 0x28c]
call fcn.004f0ae0
add esp, 0xc
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov ecx, 0x4c
mov byte [ebp - 4], 4
mov esi, str.7PBIf1Yng2dsdIBdmprf1m4SlWixxn1lgVazfvxRDEawHlkZqIknEGOd0N9cGgN17zdQmao80Fc312vi7UTlkVwDYm8TYQuB2B4whL5JGbFqJoIDbhemPVmVwYQmbcSnB53ph3lE9ZeEvFcRogf1LPNaoo3ENrZaoyri8f6iVXfUpOiexgxXbzZ94qOo8WV5cqaaAqCQcbig3yxNeu9HTnIKDspIUcmu3QgodiEIvjdkEW7rBSCyTx9wjhjH2BD4f9gXr32P4RopsTFuX1IXaAU0E5emzK0qFIYy8saoxMOnRTpZr
lea edi, [ebp - 0x23c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x284]
movsw word es:[edi], word [esi]
call fcn.004057d0
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x248]
call fcn.00408170
mov eax, dword [ebp - 0x270]
cmp eax, 0x10
jb 0x456d2b
inc eax
lea ecx, [ebp - 0x284]
push eax
push dword [ebp - 0x284]
call fcn.00408010
mov edi, dword [ebp - 0x28c]
lea eax, [ebp - 0x2a0]
mov esi, dword [ebp - 0x288]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x248]
call fcn.00405a70
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 1
call fcn.00405a70
jmp 0x456d6b
mov esi, dword [ebp - 0x288]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x100000
jle 0x456d98
call fcn.00402160
mov ecx, dword [ebp - 0x290]
cmp dword [ecx + 0x28], 8
lea eax, [ecx + 0x14]
jb 0x456d90
mov eax, dword [eax]
push ebx
push edi
push eax
call fcn.00458b40
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x456db6
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.00402750
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.00474193
mov esp, ebp
pop ebp
ret