Function at 0x45f4c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x53c016
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x58c584]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58c584]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
test esi, esi
je 0x45f87b
test edi, edi
je 0x45f871
test eax, eax
je 0x45f871
cmp dword [esp + 0xdc], 0
je 0x45f871
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f], 0
call fcn.00467ef0
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0xd0], 0
call fcn.0040d91a
add esp, 4
test al, al
lea ecx, [esp + 0x20]
sete bl
mov dword [esp + 0xcc], 0xffffffff
call fcn.0040ab15
test bl, bl
je 0x45f597
mov dword [esi + 0x118], 0xb
jmp 0x45f87b
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
mov dword [esi + 0x118], 0x63
call fcn.00467ef0
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0xd4], 1
call fcn.004ddc40
add esp, 8
lea ecx, [esp + 0x20]
mov ebp, eax
mov dword [esp + 0xcc], 0xffffffff
call fcn.0040ab15
push 0x54bf0c
push edi
call fcn.0050c190
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45f861
push ebx
push 1
lea ecx, [esp + 0x44]
push 0x84
push ecx
call fcn.0050dc3c
add esp, 0x10
cmp eax, 1
jne 0x45f848
mov edx, dword [esp + 0x3c]
cmp edx, dword [esi]
jne 0x45f82f
mov eax, dword [esp + 0xdc]
cmp eax, dword [esp + 0x4c]
jae 0x45f648
push ebx
mov dword [esi + 0x118], 0xc
call fcn.0050b919
add esp, 4
jmp 0x45f87b
mov ecx, dword [esp + 0x50]
add ecx, 0x84
cmp ebp, ecx
jne 0x45f816
lea ebp, [esi + 8]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45f662
sub eax, edx
push 0xffffffffffffffff
push eax
push ebp
call fcn.0046eaf0
add esp, 0xc
cmp eax, dword [esp + 0x48]
jne 0x45f7fd
mov edx, dword [esp + 0x50]
push edx
call fcn.0050ac47
mov edi, eax
add esp, 4
test edi, edi
je 0x45f7e1
mov eax, dword [esp + 0x50]
push ebx
push 1
push eax
push edi
call fcn.0050dc3c
add esp, 0x10
cmp eax, 1
jne 0x45f7bc
mov ecx, dword [esp + 0x50]
push 0xffffffffffffffff
push ecx
push edi
call fcn.0046eaf0
add esp, 0xc
cmp eax, dword [esp + 0x54]
jne 0x45f797
test byte [esp + 0x58], 2
je 0x45f6e9
mov eax, dword [esi + 0x128]
test eax, eax
je 0x45f6e9
mov edx, dword [esp + 0x50]
push ebp
push edx
push edi
call eax
add esp, 0xc
test byte [esp + 0x58], 1
je 0x45f715
mov eax, dword [esi + 0x120]
test eax, eax
je 0x45f715
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push edx
push edi
call eax
add esp, 0x10
test al, al
jne 0x45f728
jmp 0x45f719
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
push eax
push edi
push ebp
call fcn.0050bbc0
add esp, 0xc
mov ecx, dword [esp + 0x4c]
push 0xffffffffffffffff
push ecx
push ebp
call fcn.0046eaf0
add esp, 0xc
cmp eax, dword [esp + 0x44]
jne 0x45f797
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x108], edx
mov edx, dword [esp + 0x60]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x64]
push edi
mov dword [esi + 0x10c], ecx
mov dword [esi + 0x110], edx
mov dword [esi + 0x114], eax
mov byte [esp + 0x1b], 1
mov dword [esi + 0x118], 0
call fcn.0050ab6a
add esp, 4
push ebx
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
push edi
mov dword [esi + 0x118], 0xa
call fcn.0050ab6a
add esp, 4
push ebx
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
push edi
mov dword [esi + 0x118], 2
call fcn.0050ab6a
add esp, 4
push ebx
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
push ebx
mov dword [esi + 0x118], 9
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
push ebx
mov dword [esi + 0x118], 4
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
push ebx
mov dword [esi + 0x118], 8
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
push ebx
mov dword [esi + 0x118], 6
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
push ebx
mov dword [esi + 0x118], 2
call fcn.0050b919
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x45f87d
mov al, byte [esp + 0x17]
mov dword [esi + 0x118], 1
jmp 0x45f87d
mov dword [esi + 0x118], 7
xor al, al
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0050a878
add esp, 0xbc
ret