Function at 0x5302d0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x542268
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58c584]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x90]
mov eax, dword [ebp + 0x94]
mov ecx, dword [ebp + 0x98]
xor edi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
cmp esi, edi
je 0x5305c2
cmp eax, edi
je 0x5305c2
cmp ecx, edi
je 0x5305c2
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
call fcn.00467ef0
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 4], 1
call fcn.0040d91a
add esp, 4
test al, al
lea ecx, [ebp - 0x44]
sete bl
mov byte [ebp - 4], 0
call fcn.0040ab15
test bl, bl
je 0x53038e
mov dword [0x5932d8], 0xb
jmp 0x5305cc
push 0x54bf0c
push esi
call fcn.0050c190
mov ebx, eax
add esp, 8
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x530573
push 2
push 0
push ebx
call fcn.0050b7d8
add esp, 0xc
push ebx
call fcn.0050e6d0
add esp, 4
push 0
push 0
push ebx
mov esi, eax
call fcn.0050b7d8
add esp, 0xc
push ebx
push 1
lea edx, [ebp]
push 0x84
push edx
call fcn.0050dc3c
add esp, 0x10
cmp eax, 1
jne 0x530560
mov ecx, dword [ebp]
mov eax, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x53054d
mov edx, dword [ebp + 0x14]
add edx, 0x84
cmp esi, edx
jne 0x53053a
lea esi, [eax + 8]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x530412
sub eax, edx
push 0xffffffffffffffff
push eax
push esi
call fcn.0046eaf0
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x530527
mov eax, dword [ebp + 0x14]
push eax
call fcn.0050ac47
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x530514
mov ecx, dword [ebp + 0x14]
push ebx
push 1
push ecx
push edi
call fcn.0050dc3c
add esp, 0x10
cmp eax, 1
jne 0x530560
mov edx, dword [ebp + 0x14]
push 0xffffffffffffffff
push edx
push edi
call fcn.0046eaf0
add esp, 0xc
cmp eax, dword [ebp + 0x18]
jne 0x5304fe
test byte [ebp + 0x1c], 2
je 0x53048e
mov eax, dword [ebp + 0x14]
push esi
push eax
push edi
call fcn.0045ee80
add esp, 0xc
test byte [ebp + 0x1c], 1
mov edx, dword [ebp - 0x14]
je 0x5304ab
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x10]
push ecx
push edx
push eax
push edi
call fcn.0045ed20
add esp, 0x10
jmp 0x5304b9
mov ecx, dword [ebp + 0x10]
push ecx
push edi
push edx
call fcn.0050bbc0
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0046eaf0
add esp, 0xc
cmp eax, dword [ebp + 8]
jne 0x5304fe
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 4]
mov dword [eax + 0x108], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov dword [ebp - 0x1c], edx
mov dword [0x5932d8], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
mov dword [0x5932d8], 0xa
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
mov dword [0x5932d8], 9
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
mov dword [0x5932d8], 4
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
mov dword [0x5932d8], 8
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
mov dword [0x5932d8], 6
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
mov dword [0x5932d8], 2
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
mov dword [0x5932d8], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x5305a3
test ebx, ebx
je 0x5305b0
push ebx
call fcn.0050b919
add esp, 4
test edi, edi
je 0x5305bd
push edi
call fcn.0050ab6a
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x5305ce
mov dword [0x5932d8], 7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.0050a878
add ebp, 0x88
mov esp, ebp
pop ebp
ret