Function at 0x53d600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5526cf
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00538eb0
add esp, 8
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.005392d0
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
push 0x56fd1c
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.004021d0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00403640
add esp, 0xc
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 3
push 0x56fd10
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004021d0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00408b90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00408b90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00408b90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00408b90
lea ecx, [ebp - 0x1c]
call fcn.00406440
push eax
call dword [0x55e52c]
test eax, eax
jne 0x53d70d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408b90
jmp 0x53d8a5
lea ecx, [ebp - 0x1c]
call fcn.00406440
push eax
call fcn.00536a90
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
shr edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dd71e
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x53d896
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.0050cad0
add esp, 0xc
mov dword [ebp - 0x20], 0
push 0x56fd30
lea ecx, [ebp - 0x1c]
call fcn.00406440
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0050d005
add esp, 0xc
test eax, eax
jne 0x53d884
cmp dword [ebp - 0x20], 0
je 0x53d884
mov edx, dword [ebp - 0x20]
push edx
push 1
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0050db98
add esp, 0x10
mov edx, dword [ebp - 0x18]
add edx, 2
mov dword [ebp - 0x28], edx
xor eax, eax
mov word [ebp - 0x22], ax
cmp dword [ebp - 0x28], 0
je 0x53d878
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx]
test edx, edx
je 0x53d878
mov eax, dword [ebp - 0x28]
mov cx, word [eax]
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push str.AREA
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00408e80
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x53d827
xor edx, edx
mov eax, dword [ebp - 0x28]
mov word [eax], dx
mov ecx, dword [ebp - 0x28]
add ecx, 4
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x44]
call fcn.004039f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
call fcn.004039f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0053ca40
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
call fcn.00408b90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.00408b90
jmp 0x53d7cb
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0050d5e7
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004dd713
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret