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

Disassembly:
sub esp, 0x124
push ebx
push ebp
mov ebp, dword [esp + 0x134]
push esi
mov eax, dword [esp + 0x134]
push edi
mov ebx, dword [ebp]
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push bind
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47443f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [esp + 0x20], eax
call fcn.0048ac32
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x474471
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
shl eax, 5
add eax, ebx
lea ebx, [eax + eax*2]
shl ebx, 3
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x4744ec
lea ecx, [eax + 0x64]
mov eax, ecx
shl eax, 5
add eax, ecx
mov ecx, dword [ebp + 0x28]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push ecx
call fcn.0048c170
mov edi, dword [ebp + 4]
mov esi, eax
mov edx, edi
mov ecx, 0x4d58
shl edx, 5
add edx, edi
xor eax, eax
add esp, 8
lea edx, [edx + edx*2]
lea edi, [esi + edx*8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x10]
add eax, 0x64
mov dword [ebp + 0x28], esi
mov dword [ebp + 4], eax
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp edi, edx
jae 0x474716
mov esi, dword [esp + 0x18]
mov al, byte [edi + esi]
cmp al, 0x3b
je 0x474524
cmp al, 0xd
je 0x474524
mov byte [esp + ecx + 0x30], al
inc edi
inc ecx
cmp edi, edx
mov dword [esp + 0x10], edi
jb 0x474502
jmp 0x47471a
cmp edi, edx
jae 0x47471a
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x47453d
cmp ecx, 8
jl 0x4746dc
cmp eax, 0xb
mov byte [esp + ecx + 0x30], 0
ja case.default.0x47454b
jmp dword [eax*4 + 0x474740]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004596c0
mov edx, dword [ebp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [edx + ebx + 0xf8], eax
jmp case.default.0x47454b
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004596c0
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [eax + ebx + 0xfc], ecx
jmp case.default.0x47454b
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x30]
add eax, ebx
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x4745a5
jmp case.default.0x47454b
lea edx, [esp + 0x30]
push edx
call fcn.0048c4a4
mov ecx, dword [ebp + 0x28]
add esp, 4
mov byte [ecx + ebx + 0x208], al
jmp case.default.0x47454b
lea edx, [esp + 0x30]
push edx
call fcn.0048c4a4
mov ecx, dword [ebp + 0x28]
add esp, 4
mov byte [ecx + ebx + 0x209], al
jmp case.default.0x47454b
lea edx, [esp + 0x30]
push edx
call fcn.0048c4a4
mov ecx, dword [ebp + 0x28]
add esp, 4
mov dword [ecx + ebx + 0x200], eax
jmp case.default.0x47454b
lea edx, [esp + 0x30]
push edx
call fcn.0048c4a4
mov ecx, dword [ebp + 0x28]
add esp, 4
mov dword [ecx + ebx + 0x204], eax
jmp case.default.0x47454b
mov edx, dword [ebp + 0x28]
lea ecx, [esp + 0x30]
lea edx, [edx + ebx + 0xf0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x474632
jmp case.default.0x47454b
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x30]
lea edx, [eax + ebx + 0x80]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x47464c
jmp case.default.0x47454b
lea ecx, [esp + 0x30]
push ecx
call fcn.00474340
mov edx, dword [ebp + 0x28]
add esp, 4
lea ecx, [esp + 0x30]
lea edx, [edx + ebx + 0xc0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x474673
jmp case.default.0x47454b
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x30]
lea edx, [eax + ebx + 0xd0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x47468d
jmp case.default.0x47454b
mov edx, dword [ebp + 0x28]
lea ecx, [esp + 0x30]
lea edx, [edx + ebx + 0xe0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4746a7
mov al, byte [edi + esi]
cmp al, 0x3b
jne 0x4746cb
mov eax, dword [esp + 0x20]
inc edi
inc eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], eax
jmp 0x4744f4
cmp al, 0xd
je 0x4746fb
inc dword [esp + 0x20]
jmp 0x4744f4
mov edx, dword [esp + 0x1c]
cmp edi, edx
jae 0x474499
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x10], edi
mov cl, byte [edi + eax - 1]
cmp cl, 0xa
jne 0x4746d8
jmp 0x474499
mov ecx, dword [esp + 0x14]
add edi, 2
inc ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
add ebx, 0x318
jmp 0x474499
mov esi, dword [esp + 0x18]
push esi
call fcn.0048ace4
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [ebp], eax
mov dword [ebp + 8], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x124
ret