Function at 0x435fb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca56d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x50d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push ecx
call fcn.00436230
mov eax, dword [edi + 0x10]
test eax, eax
je 0x436003
lea ecx, [esi + 4]
cmp ecx, edi
je 0x436003
cmp dword [edi + 0x14], 8
jb 0x435ffc
mov edi, dword [edi]
push eax
push edi
call fcn.00409630
cmp dword [esi + 0x18], 8
lea ebx, [esi + 4]
mov dword [ebp - 0x54], ebx
mov eax, ebx
jb 0x436013
mov eax, dword [ebx]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x5c], 0x4ecff0
mov dword [ebp - 0x58], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
je 0x436191
xor bl, bl
nop word [eax + eax]
push 0x10000
push dword [esi + 0x1c]
call dword [0x4d954c]
add esp, 8
mov dword [esi + 0x20], eax
push 0
test eax, eax
je 0x436177
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push ecx
push 0x10000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436163
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4360bc
push 0
push eax
push dword [esi + 0x1c]
cmp eax, 0x10000
movzx ebx, bl
mov ecx, 1
cmovb ebx, ecx
call dword [0x4d956c]
add esp, 0xc
test eax, eax
je 0x4360e2
test bl, bl
je 0x436050
cmp byte [esi + 0x25], 0
jne 0x43610d
mov ecx, dword [ebp - 0x54]
push 0
push str.__xml_...___
push 0
push 0
call fcn.004097f0
push eax
push 0xfdf1
push 0x74
jmp 0x436201
lea eax, [ebp - 0x64]
xorps xmm0, xmm0
push eax
push dword [esi + 0x1c]
movlpd qword [ebp - 0x64], xmm0
call dword [0x4d9568]
mov eax, dword [ebp - 0x64]
add esp, 8
cmp eax, 2
je 0x4360bc
cmp eax, 3
jne 0x4361c1
jmp 0x4360bc
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x436125
push eax
call dword [0x4d9558]
add esp, 4
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x5c], 0x4ecff0
test edi, edi
je 0x436145
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00498bc4
mov esp, ebp
pop ebp
ret 0xc
push 0
lea ecx, [esi + 4]
call fcn.004097f0
push eax
push 0xfdf3
push 0x48
jmp 0x4361a2
push 0xfdf0
push 0x43
lea eax, [ebp - 0x4c]
push 0x4ed350
push eax
call fcn.0046e340
add esp, 0x14
jmp 0x4361b3
push 0
mov ecx, ebx
call fcn.004097f0
push eax
push 0xfdf4
push 0x3b
lea eax, [ebp - 0x4c]
push 0x4ed350
push eax
call fcn.0046e340
add esp, 0x18
push 0x50aa90
lea eax, [ebp - 0x4c]
push eax
call fcn.0049b004
push dword [esi + 0x1c]
call dword [0x4d9564]
push dword [esi + 0x1c]
mov ebx, eax
call dword [0x4d9560]
push dword [esi + 0x1c]
mov edi, eax
call dword [0x4d9554]
push eax
call dword [0x4d9550]
mov ecx, dword [ebp - 0x54]
add esp, 0x10
mov esi, eax
call fcn.004097f0
push 0
push esi
push edi
push ebx
push eax
push 0xfdf1
push 0x66
lea eax, [ebp - 0x4c]
push 0x4ed350
push eax
call fcn.0046e340
add esp, 0x24
lea eax, [ebp - 0x4c]
push 0x50aa90
push eax
call fcn.0049b004
int3