Function at 0x435570
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x55df7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4dc
push ebx
push ebp
push esi
xor ebx, ebx
mov eax, 0xf
push edi
mov esi, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x4f4], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
push ebx
push 0x59d68c
lea ecx, [esp + 0x88]
mov byte [esp + 0x4fc], 3
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00405de0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esi + 0x48]
mov byte [esp + 0x4fc], 4
call fcn.00435430
mov ecx, eax
call fcn.00434290
mov edi, 0x10
mov byte [esp + 0x4f4], 3
cmp dword [esp + 0x94], edi
jb 0x435648
mov edx, dword [esp + 0x80]
push edx
call fcn.0043e38e
add esp, 4
mov eax, dword [esp + 0x4fc]
cmp dword [eax + 0x14], edi
jb 0x435656
mov eax, dword [eax]
push 0x5705a0
push eax
call fcn.0053f9d8
add esp, 8
mov dword [esi + 0x58], eax
cmp eax, ebx
jne 0x4356c8
cmp dword [esp + 0x48], edi
jb 0x43567e
mov eax, dword [esp + 0x34]
push eax
call fcn.0043e38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x4356a2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043e38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x4356c1
mov edx, dword [esp + 0x50]
push edx
call fcn.0043e38e
add esp, 4
xor al, al
jmp 0x435b80
push 2
push 0xffffffffffffffea
push eax
call fcn.0053f8a0
add esp, 0xc
test eax, eax
je 0x43573d
mov ecx, esi
call fcn.004351a0
cmp dword [esp + 0x48], edi
jb 0x4356f3
mov eax, dword [esp + 0x34]
push eax
call fcn.0043e38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x435717
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043e38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x4356c1
mov edx, dword [esp + 0x50]
push edx
call fcn.0043e38e
add esp, 4
xor al, al
jmp 0x435b80
mov eax, dword [esi + 0x58]
push eax
push 1
lea ecx, [esp + 0xac]
push 0x16
push ecx
call fcn.0053f600
add esp, 0x10
cmp eax, 1
je 0x4357cb
mov ecx, esi
call fcn.004351a0
lea ecx, [esp + 0x6c]
call fcn.0040e570
cmp dword [esp + 0x48], edi
jb 0x43577d
mov edx, dword [esp + 0x34]
push edx
call fcn.0043e38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x4357a1
mov eax, dword [esp + 0x18]
push eax
call fcn.0043e38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x4356c1
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0043e38e
add esp, 4
xor al, al
jmp 0x435b80
cmp dword [esp + 0xa4], 0x6054b50
je 0x43580a
mov ecx, esi
call fcn.004351a0
lea ecx, [esp + 0x6c]
call fcn.0040e570
lea ecx, [esp + 0x34]
call fcn.00438270
lea ecx, [esp + 0x18]
call fcn.00438270
lea ecx, [esp + 0x50]
call fcn.00438270
xor al, al
jmp 0x435b80
mov edx, dword [esp + 0xb4]
mov eax, dword [esi + 0x58]
push ebx
push edx
push eax
call fcn.0053f8a0
add esp, 0xc
test eax, eax
jne 0x4357d8
xor ecx, ecx
mov dword [esp + 0x7c], ebx
cmp cx, word [esp + 0xae]
jae 0x435b1f
mov edx, dword [esi + 0x58]
push edx
push 1
lea eax, [esp + 0xc4]
push 0x2e
push eax
call fcn.0053f600
add esp, 0x10
cmp eax, 1
jne 0x435b9b
cmp dword [esp + 0xbc], 0x2014b50
jne 0x4357d8
mov ax, word [esp + 0xd8]
mov ecx, 0x400
cmp ax, cx
ja 0x4357d8
mov edx, ecx
cmp word [esp + 0xda], dx
ja 0x4357d8
cmp word [esp + 0xdc], cx
ja 0x4357d8
mov edx, dword [esi + 0x58]
push edx
movzx eax, ax
push 1
push eax
lea ecx, [esp + 0xf8]
push ecx
call fcn.0053f600
movzx edx, word [esp + 0xe8]
add esp, 0x10
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x58]
call fcn.00405de0
cmp dword [esp + 0x64], edi
mov edi, dword [esp + 0x50]
mov byte [esp + 0x17], 0x2f
mov byte [esp + 0x10], 0x5c
jae 0x4358e9
lea edi, [esp + 0x50]
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x54]
call fcn.00421b90
lea edx, [esp + 0x17]
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.00421b60
mov eax, dword [esi + 0x58]
movzx ecx, word [esp + 0xea]
push eax
push 1
push ecx
lea edx, [esp + 0x108]
push edx
call fcn.0053f600
mov eax, dword [esi + 0x58]
movzx ecx, word [esp + 0xfc]
push eax
push 1
push ecx
lea edx, [esp + 0x118]
push edx
call fcn.0053f600
mov edi, dword [esp + 0x90]
add esp, 0x30
dec edi
push edi
lea ecx, [esp + 0x54]
call fcn.00417f50
cmp byte [eax], 0x2f
jne 0x4359b1
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x58]
call fcn.00405ee0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.004332f0
add esp, 8
lea edx, [esp + 0x6c]
push edx
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x4fc], 5
call fcn.00435430
mov ecx, eax
call fcn.00434290
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.00438270
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.004332f0
add esp, 8
push eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x4f8], 6
call fcn.00434430
mov edx, dword [esp + 0xe6]
lea ecx, [esp + 0x80]
mov dword [eax], edx
mov byte [esp + 0x4f4], 3
call fcn.00438270
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1c], 0x2f
call fcn.0041f3a0
mov edi, eax
cmp edi, 0xffffffff
jne 0x435a32
push 0x59d68c
lea ecx, [esp + 0x1c]
call fcn.004086c0
push edi
push ebx
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x40]
call fcn.00405be0
jmp 0x435aa6
push edi
push ebx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x5c]
call fcn.00420400
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4f8], 7
call fcn.00407150
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.00438270
push 0xffffffffffffffff
inc edi
push edi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x5c]
call fcn.00420400
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4f8], 8
call fcn.00407150
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.00438270
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.004332f0
add esp, 8
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x4fc], 9
call fcn.00433250
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f4], 3
call fcn.00438270
mov eax, dword [esp + 0x9c]
cmp eax, dword [esi + 0x4c]
je 0x435b01
lea ecx, [esp + 0x34]
push ecx
lea ecx, [eax + 0x28]
call fcn.0040e420
mov eax, dword [esp + 0x7c]
movzx edx, word [esp + 0xae]
inc eax
mov dword [esp + 0x7c], eax
mov edi, 0x10
cmp eax, edx
jb 0x435837
lea ecx, [esp + 0x6c]
call fcn.0040e570
cmp dword [esp + 0x48], edi
jb 0x435b3b
mov eax, dword [esp + 0x34]
push eax
call fcn.0043e38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x435b5f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043e38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x435b7e
mov edx, dword [esp + 0x50]
push edx
call fcn.0043e38e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e8
ret 4
mov ecx, esi
call fcn.004351a0
lea ecx, [esp + 0x6c]
call fcn.0040e570
cmp dword [esp + 0x48], edi
jb 0x435bbe
mov eax, dword [esp + 0x34]
push eax
call fcn.0043e38e
add esp, 4
mov esi, 0xf
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x435be2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043e38e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x64], edi
jb 0x4356c1
mov edx, dword [esp + 0x50]
push edx
call fcn.0043e38e
add esp, 4
xor al, al
jmp 0x435b80