Function at 0x528650
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x539768
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x581094]
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 0x528942
cmp eax, edi
je 0x528942
cmp ecx, edi
je 0x528942
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.00462530
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 4], 1
call fcn.0040c607
add esp, 4
test al, al
lea ecx, [ebp - 0x44]
sete bl
mov byte [ebp - 4], 0
call fcn.00409819
test bl, bl
je 0x52870e
mov dword [0x587cc0], 0xb
jmp 0x52894c
push 0x542c2c
push esi
call fcn.00504520
mov ebx, eax
add esp, 8
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x5288f3
push 2
push 0
push ebx
call fcn.00503b68
add esp, 0xc
push ebx
call fcn.00505a20
add esp, 4
push 0
push 0
push ebx
mov esi, eax
call fcn.00503b68
add esp, 0xc
push ebx
push 1
lea edx, [ebp]
push 0x84
push edx
call fcn.00504f93
add esp, 0x10
cmp eax, 1
jne 0x5288e0
mov ecx, dword [ebp]
mov eax, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x5288cd
mov edx, dword [ebp + 0x14]
add edx, 0x84
cmp esi, edx
jne 0x5288ba
lea esi, [eax + 8]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x528792
sub eax, edx
push 0xffffffffffffffff
push eax
push esi
call fcn.00469160
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x5288a7
mov eax, dword [ebp + 0x14]
push eax
call fcn.00502fd7
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x528894
mov ecx, dword [ebp + 0x14]
push ebx
push 1
push ecx
push edi
call fcn.00504f93
add esp, 0x10
cmp eax, 1
jne 0x5288e0
mov edx, dword [ebp + 0x14]
push 0xffffffffffffffff
push edx
push edi
call fcn.00469160
add esp, 0xc
cmp eax, dword [ebp + 0x18]
jne 0x52887e
test byte [ebp + 0x1c], 2
je 0x52880e
mov eax, dword [ebp + 0x14]
push esi
push eax
push edi
call fcn.004594c0
add esp, 0xc
test byte [ebp + 0x1c], 1
mov edx, dword [ebp - 0x14]
je 0x52882b
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x10]
push ecx
push edx
push eax
push edi
call fcn.00459360
add esp, 0x10
jmp 0x528839
mov ecx, dword [ebp + 0x10]
push ecx
push edi
push edx
call fcn.00503f50
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
push ecx
call fcn.00469160
add esp, 0xc
cmp eax, dword [ebp + 8]
jne 0x52887e
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 [0x587cc0], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
mov dword [0x587cc0], 0xa
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
mov dword [0x587cc0], 9
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
mov dword [0x587cc0], 4
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
mov dword [0x587cc0], 8
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
mov dword [0x587cc0], 6
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
mov dword [0x587cc0], 2
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
mov dword [0x587cc0], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x528923
test ebx, ebx
je 0x528930
push ebx
call fcn.00503ca9
add esp, 4
test edi, edi
je 0x52893d
push edi
call fcn.00502efa
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x52894e
mov dword [0x587cc0], 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.00502c08
add ebp, 0x88
mov esp, ebp
pop ebp
ret