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

Disassembly:
push 0x600
mov eax, 0x543084
call fcn.00506b61
mov dword [ebp - 0x60c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x600], esi
call fcn.00476b16
push eax
lea ecx, [ebp - 0x3b8]
call fcn.004746ad
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00476b98
mov ecx, eax
call fcn.00474e8b
test al, al
je 0x4b29a9
mov dword [ebp - 0x5f4], ebx
mov dword [ebp - 0x5f0], ebx
mov dword [ebp - 0x5ec], ebx
push 0x44
pop ecx
mov esi, str.NeBE4Md93M93Qsu0SAUnPFKfZ0X5JFQjI5vfMUlEeldpVJTUdWvsrSCzK8b43yZE66q6YGEd5nByDldaW1NHOpi9xPgw3n0jRIyifEDXwh3qs8txIQD85UoEWjGH2xfzWL8FHCWIrFOUJevI6U4lXviWfXBSudAng9QcdIi0MVWxBJz1qfQq4zTIsjZdsuUYU44LILYFVDVh2cNZrhQQ5wUVhGrixIymFQXIk5STtZk45aVLKTltv74kIMPUBrBl1UODoIJbEEkbDvv
mov byte [ebp - 4], 1
lea edi, [ebp - 0x200]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x334]
call fcn.00405820
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5f4]
call fcn.00407e30
push ebx
push 1
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 1
call fcn.0046d37e
push dword [ebp - 0x600]
lea ecx, [ebp - 0x3b8]
call fcn.004748eb
push ebx
push 0x80
push 3
push ebx
push 1
push connect
lea ecx, [ebp - 0x3b8]
call fcn.004ca09e
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b2930
lea ecx, [ebp - 0x5f4]
call fcn.0046d3d0
lea ecx, [ebp - 0x3b8]
call fcn.004747e9
jmp 0x4b2a91
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x4b2959
lea ecx, [ebp - 0x5f4]
call fcn.0046d3d0
lea ecx, [ebp - 0x3b8]
call fcn.004747e9
jmp 0x4b2a8f
and dword [ebp - 0x5fc], 0
push ebx
call fcn.0046831d
pop ecx
push 0
mov esi, eax
mov dword [ebp - 0x5f8], eax
lea eax, [ebp - 0x5fc]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5fc], ebx
je 0x4b2999
push esi
call fcn.00468326
pop ecx
jmp 0x4b293e
lea ecx, [ebp - 0x5f4]
call fcn.0046d3d0
jmp 0x4b2a7c
call fcn.00471acc
call fcn.00476b98
push eax
lea ecx, [ebp - 0x3b8]
call fcn.004748ce
call fcn.00476d6b
test al, al
je 0x4b29cf
call fcn.00476c1b
jmp 0x4b29e6
push 2
push ebx
lea ecx, [ebp - 0x3b8]
call fcn.004ca09e
push eax
call fcn.0049aa77
add esp, 0xc
mov edi, eax
test edi, edi
je 0x4b2920
lea eax, [ebp - 0x5e8]
push eax
lea eax, [ebp - 0x608]
push eax
push 1
push esi
push edi
call fcn.0049a4b8
add esp, 0x14
test eax, eax
jne 0x4b2920
mov ebx, dword [ebp - 0x3bc]
test ebx, ebx
je 0x4b2949
push ebx
call fcn.0046831d
push 3
mov esi, eax
push ebx
push esi
push dword [ebp - 0x608]
mov dword [ebp - 0x5f8], esi
push edi
call fcn.0049ae37
add esp, 0x18
test eax, eax
je 0x4b2a6c
cmp eax, 0x600
je 0x4b2a6c
push esi
call fcn.00468326
pop ecx
call fcn.00476d6b
test al, al
jne 0x4b2949
push edi
call fcn.0049a312
pop ecx
jmp 0x4b2949
call fcn.00476d6b
test al, al
jne 0x4b2a7c
push edi
call fcn.0049a312
pop ecx
lea ecx, [ebp - 0x3b8]
call fcn.004747e9
test esi, esi
jne 0x4b2b98
xor ebx, ebx
mov dword [ebp - 0x5f4], ebx
mov dword [ebp - 0x5f0], ebx
mov dword [ebp - 0x5ec], ebx
push 0x46
pop ecx
mov esi, str.LQfUVpOa1jIgPb5NVDpYcUZR2G9bX9t2qfq5r7I6xz5kzijw3UTwZkuYyWYpulfov021Eb5vU2owjg4aea1TQCmUrV7NiqzCHfK6HKiDDp60zValFSd6h5c64XHZoXlDuQSZLvLGsJgtKhhor9eteZ3mV0T5aQ1fLPHzS8hqNnY24NklaEJdhrOOlYMqoDTCn9Srr95VIVnl1HJwRuKmb3p9rWHISKJgiCYgrYlQEd6HHIQAZ1CCjJdBCYUd4Hg17oI1YHwZCRWf3woUlhmgO0Bw
mov dword [ebp - 4], 3
lea edi, [ebp - 0x31c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x334]
movsb byte es:[edi], byte [esi]
call fcn.00405820
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x5f4]
call fcn.00407e30
push ebx
push 1
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 3
call fcn.0046d37e
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push dword [ebp - 0x600]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b2b25
lea ecx, [ebp - 0x5f4]
call fcn.0046d3d0
jmp 0x4b2b91
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x4b2b18
and dword [ebp - 0x604], 0
call fcn.00402160
push ebx
call fcn.0046831d
pop ecx
push 0
mov esi, eax
mov dword [ebp - 0x5f8], eax
lea eax, [ebp - 0x604]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x604], ebx
je 0x4b2b7e
push esi
call fcn.00468326
xor esi, esi
pop ecx
mov dword [ebp - 0x5f8], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f4]
call fcn.0046d3d0
test esi, esi
jne 0x4b2b98
xor eax, eax
jmp 0x4b2c2d
xor eax, eax
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 0x5f0], eax
mov dword [ebp - 0x5ec], eax
push 0x37
pop ecx
mov esi, str.yvYw1vC2ApE7UAv8ewq1sSjnDiGEPe2fFuS3C2w0tkxSXwjxwFBCegfVSIqYMHyYxRPKQUdeuF0z7yODwm2Dz9qzJ1totETsXL3m8TINXntCuC2zwl2jMGeIYQpWjKmAfV6zzdQIzMuGMm7y5nAfwjiVzQozoI0Tnk620Ppia79dENebaPvCWgqeMrvR6JoZN8sgDDuSrfZwc4NDfUL2t94ZMQ3JyT
mov dword [ebp - 4], 5
lea edi, [ebp - 0xf0]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x334]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00405820
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x5f4]
call fcn.00407e30
push 0
push 1
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 5
call fcn.0046d37e
mov edi, dword [ebp - 0x5f8]
mov ecx, dword [ebp - 0x60c]
push ebx
push edi
call fcn.004b2c35
push 1
push edi
mov esi, eax
call fcn.004682c2
pop ecx
pop ecx
lea ecx, [ebp - 0x5f4]
call fcn.0046d3d0
mov eax, esi
call fcn.00506b0b
ret 4