Function at 0x5de8c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x81da20
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 8]
test al, al
jne 0x5debc1
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0xfc]
mov edi, dword [ecx]
cmp edi, 1
jne 0x5de910
mov edx, dword [eax]
mov ecx, dword [eax + 4]
or edx, ecx
je 0x5de9c4
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov ebp, dword [esi + 0x1c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], eax
call fcn.00435900
push 4
mov dword [esp + 0xf0], 0
mov dword [esp + 0x34], ebp
mov byte [esp + 0x38], 0
call fcn.007d7320
add esp, 4
test eax, eax
je 0x5de953
mov dword [eax], 1
mov dword [esp + 0x38], eax
jmp 0x5de95b
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x68]
push edi
push ecx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xf8], 1
mov dword [esp + 0x20], 0x86a0d0
call fcn.005df1f0
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0xf0], 2
call dword [edx + 0x1c]
lea ecx, [esp + 0x14]
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0x14], vtable.WWLib::CHandle_1_.0
call fcn.005d6fb0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], vtable.WWLib::CBase_unsigned_long_int__1_.0
call fcn.00404f20
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test al, al
jne 0x5debc1
mov ecx, dword [esp + 0xf8]
lea eax, [esp + 0x10]
push 0
push eax
mov edx, dword [ecx]
mov eax, dword [esp + 0xfc]
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5deaec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebp, [esi + 4]
mov dword [esi + 0x18], eax
test ebp, ebp
je 0x5dea13
add ebp, 4
jmp 0x5dea15
xor ebp, ebp
push str.ReadFile__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5dea53
mov eax, dword [ebp + 4]
push edi
push str.ReadFile__
push eax
call fcn.004069b0
mov edx, dword [ebp + 4]
mov dword [ebp + 8], edi
add esp, 0xc
mov word [edx + edi*2], 0
lea edi, [edx + edi*2]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x5deaec
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0xf0], 3
call fcn.005daec0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf0], 5
call fcn.00404f20
mov edx, dword [esi]
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0xec], 6
call dword [edx + 0x10]
lea ecx, [esp + 0xd0]
mov dword [esp + 0xcc], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0x6c]
push 0x8c1f58
push edx
mov dword [esp + 0xf4], 0xffffffff
mov dword [esp + 0x74], 0x86a0c8
call fcn.007ac5c6
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov cl, byte [esp + 0x104]
test cl, cl
jne 0x5debba
mov ebp, dword [esi + 0x1c]
xor edi, edi
neg eax
adc edi, edi
lea ecx, [esp + 0x3c]
neg edi
mov ebx, eax
call fcn.00435900
push 4
mov dword [esp + 0xf0], 7
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x60], 0
call fcn.007d7320
add esp, 4
test eax, eax
je 0x5deb4c
mov dword [eax], 1
mov dword [esp + 0x60], eax
jmp 0x5deb54
mov dword [esp + 0x60], 0
push 1
push edi
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0xf8], 8
mov dword [esp + 0x48], 0x86a0d0
call fcn.005df1f0
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0xf0], 9
call dword [edx + 0x1c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0x3c], vtable.WWLib::CHandle_1_.0
call fcn.005d6fb0
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], vtable.WWLib::CBase_unsigned_long_int__1_.0
call fcn.00404f20
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret 0x14