Function at 0x5d7c00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x667fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x24]
call fcn.005d9850
xor ebp, ebp
mov dword [esp + 0x7c], ebp
mov eax, vtable.StringConvertor.0
mov dword [esp + 0x14], eax
mov byte [esp + 0x7c], 1
cmp dword [esi + 0x1c], ebp
lea edi, [ebp + 0xc]
jg 0x5d7c8f
jl 0x5d7c60
cmp dword [esi + 0x18], edi
jae 0x5d7c8f
xor ecx, ecx
cmp dword [esi + 0x14], ebp
sete cl
lea ecx, [ecx + ecx + 1]
mov esi, ecx
mov byte [esp + 0x7c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.005d9870
mov eax, esi
jmp 0x5d7f29
mov ecx, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea edx, [esp + 0x24]
push edx
push edi
lea eax, [esp + 0x4c]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.005d9880
test eax, eax
je 0x5d7d5f
xor eax, eax
add edi, 8
cmp eax, dword [esi + 0x1c]
jg 0x5d7ec2
jl 0x5d7cd9
cmp edi, dword [esi + 0x18]
ja 0x5d7eb6
mov eax, dword [esi + 0x10]
push ebp
lea ecx, [esp + 0x24]
push ecx
push 8
lea edx, [esp + 0x58]
push edx
push eax
call ebx
push 4
lea ecx, [esp + 0x50]
push str.fmt
push ecx
call fcn.006282cf
add esp, 0xc
test eax, eax
jne 0x5d7d1c
mov ecx, dword [esi + 0x10]
push ebp
lea edx, [esp + 0x24]
push edx
push 0x10
lea eax, [esp + 0x60]
push eax
push ecx
call ebx
mov byte [esp + 0x3c], 1
add edi, dword [esp + 0x50]
xor eax, eax
cmp eax, dword [esi + 0x1c]
jg 0x5d7eea
jl 0x5d7d36
cmp edi, dword [esi + 0x18]
ja 0x5d7ede
mov edx, dword [esi + 0x10]
push ebp
push ebp
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
lea eax, [esp + 0x50]
push str.data
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
jne 0x5d7cc0
push 4
lea ecx, [esp + 0x50]
push str.data
push ecx
call fcn.006282cf
add esp, 0xc
test eax, eax
jne 0x5d7f06
cmp byte [esp + 0x3c], al
je 0x5d7f06
lea ecx, [esp + 0x24]
call fcn.005d9920
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x7c], 2
fld dword [esp + 0x38]
lea edx, [esp + 0x18]
push edx
call fcn.00622e26
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0043fa40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [0x75ef14]
push ecx
push edx
push eax
lea edi, [esi + 8]
push edi
call fcn.00402f60
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebp
mov word [esp + 0x68], cx
mov byte [esp + 0x7c], 3
mov edx, dword [0x75dd28]
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.00401970
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov byte [esp + 0x7c], 4
mov eax, dword [esp + 0x64]
cmp eax, ebp
jne 0x5d7e17
lea eax, [esp + 0x68]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push eax
push ebp
push 0xfde9
call ebx
mov ebp, eax
test ebp, ebp
jle 0x5d7e6a
push ebp
lea ecx, [esp + 0x20]
call fcn.00402840
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x5d7e48
lea ecx, [esp + 0x68]
push 0
push 0
push ebp
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esi + 0xc], 1
call fcn.00405900
mov byte [esp + 0x7c], 3
lea ecx, [esp + 0x1c]
call fcn.00402560
mov byte [esp + 0x7c], 2
lea ecx, [esp + 0x64]
call fcn.00401210
mov byte [esp + 0x7c], 1
lea ecx, [esp + 0x18]
call fcn.00402560
mov byte [esp + 0x7c], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.005d9870
xor eax, eax
jmp 0x5d7f29
cmp eax, dword [esi + 0x1c]
jl 0x5d7eef
jg 0x5d7ec2
cmp edi, dword [esi + 0x18]
jbe 0x5d7eef
cmp dword [esi + 0x14], ebp
je 0x5d7eef
mov esi, 1
mov byte [esp + 0x7c], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
jmp 0x5d7c77
cmp eax, dword [esi + 0x1c]
jl 0x5d7eef
jg 0x5d7eea
cmp edi, dword [esi + 0x18]
jbe 0x5d7eef
cmp dword [esi + 0x14], ebp
jne 0x5d7ec7
mov esi, 3
mov byte [esp + 0x7c], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
jmp 0x5d7c77
mov byte [esp + 0x7c], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.005d9870
mov eax, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00620b8d
add esp, 0x6c
ret