Function at 0x4482f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45170c
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
push 0x4581e8
mov eax, dword [ebp + 8]
push eax
call fcn.0042aa0b
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x448366
mov eax, dword [ebp - 0x44]
jmp 0x4488c2
mov ecx, dword [ebp - 0x40]
push ecx
push 1
push 0x4c
lea edx, [ebp - 0x98]
push edx
call fcn.0042a92a
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
je 0x448392
mov dword [ebp - 4], 0xffffffff
jmp 0x4488ad
movsx eax, byte [ebp - 0x98]
cmp eax, 0x4c
je 0x4483aa
mov dword [ebp - 4], 0xffffffff
jmp 0x4488ad
mov ecx, dword [ebp - 0x84]
and ecx, 1
je 0x4483ff
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx + 0xa8]
push eax
call fcn.00447ab0
add esp, 4
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00447ad0
add esp, 8
mov edx, dword [ebp - 0x1a4]
mov dword [edx + 0xa8], eax
mov eax, dword [ebp - 0x1a4]
cmp dword [eax + 0xa8], 0
jne 0x4483ff
mov dword [ebp - 4], 0xffffffff
jmp 0x4488ad
mov ecx, dword [ebp - 0x84]
and ecx, 2
je 0x448670
mov edx, dword [ebp - 0x40]
push edx
call fcn.004479e0
add esp, 4
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x448435
mov dword [ebp - 4], 0xffffffff
jmp 0x4488ad
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0xa0]
cmp dword [ecx + 0xc], 0
je 0x4484ee
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [edx + 0xc]
cmp ecx, dword [eax]
jae 0x4484ee
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
add eax, dword [edx + 0xc]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 0xc], 0
je 0x4484ee
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xa4]
add eax, dword [ecx + 0xc]
add eax, dword [ebp - 0x9c]
push eax
lea edx, [ebp - 0xc0]
push edx
call fcn.00412b80
add esp, 8
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1ac]
push ecx
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x8c
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00403210
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x10], 0
je 0x448563
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [eax + 0x10]
cmp edx, dword [ecx]
jae 0x448563
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [eax + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00412b80
add esp, 8
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1b4]
push ecx
mov ecx, dword [ebp - 0x1a4]
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00403210
mov ecx, dword [ebp - 0x1a4]
call fcn.00403400
movzx edx, al
test edx, edx
je 0x4485ec
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x18], 0
je 0x4485ea
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx]
jae 0x4485ea
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
add edx, dword [ecx + 0x18]
push edx
lea eax, [ebp - 0xf8]
push eax
call fcn.00412b80
add esp, 8
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1bc]
push edx
mov ecx, dword [ebp - 0x1a4]
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.00403210
jmp 0x448661
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x18], 0
je 0x448661
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx]
jae 0x448661
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
add edx, dword [ecx + 0x18]
push edx
lea eax, [ebp - 0x114]
push eax
call fcn.00412b80
add esp, 8
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1c4]
push edx
mov ecx, dword [ebp - 0x1a4]
call fcn.004128d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.00403210
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004479c0
add esp, 4
mov ecx, dword [ebp - 0x1a4]
call fcn.00403400
movzx ecx, al
test ecx, ecx
je 0x4486fc
mov edx, dword [ebp - 0x84]
and edx, 1
je 0x4486fc
mov eax, dword [ebp - 0x1a4]
cmp dword [eax + 0xa8], 0
je 0x4486fc
mov ecx, dword [ebp - 0x84]
and ecx, 0x80
push ecx
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx + 0xa8]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.00447d20
add esp, 0xc
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x1a4]
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.00403210
mov ecx, dword [ebp - 0x84]
and ecx, 4
je 0x448761
mov edx, dword [ebp - 0x84]
and edx, 0x80
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00448090
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x1c
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.00403210
mov ecx, dword [ebp - 0x84]
and ecx, 8
je 0x4487c6
mov edx, dword [ebp - 0x84]
and edx, 0x80
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.00448090
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1dc]
push eax
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x38
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.00403210
mov ecx, dword [ebp - 0x84]
and ecx, 0x10
je 0x44882b
mov edx, dword [ebp - 0x84]
and edx, 0x80
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x184]
push ecx
call fcn.00448090
add esp, 0xc
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x54
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call fcn.00403210
mov ecx, dword [ebp - 0x84]
and ecx, 0x20
je 0x448890
mov edx, dword [ebp - 0x84]
and edx, 0x80
push edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00448090
add esp, 0xc
mov dword [ebp - 0x1e8], eax
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x70
call fcn.00403230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.00403210
mov dword [ebp - 0x44], 1
jmp 0x4488a6
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0
je 0x4488bf
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042aa90
add esp, 4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret 4