Function at 0x5b9cf0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x63e5f6
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x20]
call fcn.005bba30
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov eax, vtable.StringConvertor.0
mov dword [esp + 0x14], eax
mov byte [esp + 0x98], 1
cmp dword [esi + 0x1c], ebx
lea edi, [ebx + 0xc]
jg 0x5b9d8e
jl 0x5b9d59
cmp dword [esi + 0x18], edi
jae 0x5b9d8e
xor ecx, ecx
cmp dword [esi + 0x14], ebx
sete cl
lea ecx, [ecx + ecx + 1]
mov esi, ecx
mov byte [esp + 0x98], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.005bba50
mov eax, esi
jmp 0x5ba02c
mov ecx, dword [esi + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x48]
push eax
push ecx
call ebp
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.005bba60
test eax, eax
je 0x5b9e5f
nop
xor eax, eax
add edi, 8
cmp eax, dword [esi + 0x1c]
jg 0x5b9fb9
jl 0x5b9dd9
cmp edi, dword [esi + 0x18]
ja 0x5b9fad
mov eax, dword [esi + 0x10]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 8
lea edx, [esp + 0x54]
push edx
push eax
call ebp
push 4
lea ecx, [esp + 0x4c]
push str.fmt
push ecx
call fcn.005ffd4c
add esp, 0xc
test eax, eax
jne 0x5b9e1c
mov ecx, dword [esi + 0x10]
push ebx
lea edx, [esp + 0x20]
push edx
push 0x10
lea eax, [esp + 0x5c]
push eax
push ecx
call ebp
mov byte [esp + 0x38], 1
add edi, dword [esp + 0x4c]
xor eax, eax
cmp eax, dword [esi + 0x1c]
jg 0x5b9fe4
jl 0x5b9e36
cmp edi, dword [esi + 0x18]
ja 0x5b9fd8
mov edx, dword [esi + 0x10]
push ebx
push ebx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
lea eax, [esp + 0x4c]
push str.data
push eax
call fcn.005ffd4c
add esp, 0xc
test eax, eax
jne 0x5b9dc0
push 4
lea ecx, [esp + 0x4c]
push str.data
push ecx
call fcn.005ffd4c
add esp, 0xc
test eax, eax
jne 0x5ba003
cmp byte [esp + 0x38], al
je 0x5ba003
lea ecx, [esp + 0x20]
call fcn.005bbb00
fld dword [esp + 0x34]
lea edx, [esp + 0x6c]
push edx
call fcn.005fa886
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.0043abb0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [0x710814]
push ecx
push edx
push eax
lea ebp, [esi + 8]
push ebp
call fcn.00402f60
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov word [esp + 0x64], cx
mov byte [esp + 0x98], 2
mov edx, dword [0x70f730]
mov eax, dword [ebp]
push edx
push eax
lea ecx, [esp + 0x68]
call fcn.00401960
lea ecx, [esp + 0x18]
call fcn.004024e0
mov byte [esp + 0x98], 3
mov eax, dword [esp + 0x60]
cmp eax, ebx
jne 0x5b9f10
lea eax, [esp + 0x64]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xfde9
call ebx
mov edi, eax
test edi, edi
jle 0x5b9f63
push edi
lea ecx, [esp + 0x1c]
call fcn.00402830
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x5b9f41
lea ecx, [esp + 0x64]
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esi + 0xc], 1
call fcn.00405800
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x18]
call fcn.00402550
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x60]
call fcn.004011f0
mov byte [esp + 0x98], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.005bba50
xor eax, eax
jmp 0x5ba02c
cmp eax, dword [esi + 0x1c]
jl 0x5b9fe9
jg 0x5b9fb9
cmp edi, dword [esi + 0x18]
jbe 0x5b9fe9
cmp dword [esi + 0x14], ebx
je 0x5b9fe9
mov esi, 1
mov byte [esp + 0x98], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
jmp 0x5b9d73
cmp eax, dword [esi + 0x1c]
jl 0x5b9fe9
jg 0x5b9fe4
cmp edi, dword [esi + 0x18]
jbe 0x5b9fe9
cmp dword [esi + 0x14], ebx
jne 0x5b9fbe
mov esi, 3
mov byte [esp + 0x98], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
jmp 0x5b9d73
mov byte [esp + 0x98], 0
mov dword [esp + 0x14], vtable.StringConvertor.0
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.005bba50
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005f85e7
add esp, 0x88
ret