Function at 0x416290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x76c500]
xor eax, ebp
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0x4000
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cfe98
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4162de
mov eax, 0xfffffffe
jmp 0x41675c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
je 0x4162f2
jmp 0x4162f4
jmp 0x416300
mov edx, dword [ebp + 0xc]
push edx
call fcn.004e5f47
add esp, 4
lea eax, [ebp - 0x8c]
push eax
call fcn.004ce010
add esp, 4
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ca890
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x416347
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004cfd5f
add esp, 4
mov eax, 0xffffff9b
jmp 0x41675c
mov edx, dword [ebp + 8]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0
je 0x41635b
jmp 0x41635d
jmp 0x41638f
mov eax, dword [ebp + 0x10]
push eax
call fcn.004d39b6
add esp, 4
test eax, eax
je 0x41638f
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004ccaf0
add esp, 8
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cfd5f
add esp, 4
or eax, 0xffffffff
jmp 0x41675c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x10], 0
jmp 0x4163b6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx]
jge 0x416724
cmp dword [ebp - 0x40], 0
jne 0x416724
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x41643b
jmp 0x416444
mov dword [ebp - 0x18], 0
jmp 0x416467
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00478ec0
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.00416210
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x24], 0
je 0x416492
cmp dword [ebp - 0x40], 0
jne 0x416492
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00416080
add esp, 0x14
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x4164ae
mov ecx, dword [ebp - 0x3c]
movsx edx, byte [ecx]
cmp edx, 0x2f
jne 0x4164b9
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x416498
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
push 8
push 0xfffffffffffffff1
push 0
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x34]
neg edx
sbb edx, edx
and edx, 8
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004cb9e0
add esp, 0x44
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x41651e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cfd5f
add esp, 4
mov eax, 0xffffff9b
jmp 0x41675c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x9c], ecx
cmp dword [ebp - 0x9c], 0
je 0x416532
jmp 0x41656b
push 0x50eeb0
mov edx, dword [ebp - 4]
push edx
call fcn.0040cab0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x416569
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cfd5f
add esp, 4
mov eax, 0xffffff9b
jmp 0x41675c
jmp 0x4165a2
push 0x50eeb4
mov ecx, dword [ebp - 4]
push ecx
call fcn.004d0f8b
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4165a2
mov dword [ebp - 0x40], 0xffffffff
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cfd5f
add esp, 4
mov eax, 0xffffff9b
jmp 0x41675c
cmp dword [ebp - 0x40], 0
jne 0x4166e8
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x4165c7
jmp 0x4165e2
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040d440
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x4165fb
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d2e5e
add esp, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jge 0x416665
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 0
je 0x416617
jmp 0x41663f
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040d870
add esp, 4
test eax, eax
jne 0x41663d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004cfd5f
add esp, 4
mov eax, 0xffffff9a
jmp 0x41675c
jmp 0x416665
mov edx, dword [ebp - 0x20]
push edx
call fcn.004d3494
add esp, 4
test eax, eax
jne 0x416665
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cfd5f
add esp, 4
mov eax, 0xffffff9a
jmp 0x41675c
cmp dword [ebp - 8], 0
jle 0x41669e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004cbb80
add esp, 0xc
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jge 0x41669e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004cfd5f
add esp, 4
mov eax, 0xffffff99
jmp 0x41675c
cmp dword [ebp - 0x40], 0
jne 0x4166ae
cmp dword [ebp - 8], 0
jg 0x4165ac
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0xa8], 0
je 0x4166c2
jmp 0x4166d6
cmp dword [ebp - 0x14], 0
je 0x4166d4
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040d790
add esp, 4
jmp 0x4166e8
cmp dword [ebp - 0x20], 0
je 0x4166e8
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004d0e5b
add esp, 4
cmp dword [ebp - 0x40], 0
jge 0x4166f7
mov dword [ebp - 0x40], 0xffffffff
jmp 0x41671f
mov edx, dword [ebp - 0x44]
push edx
call fcn.004cc5d0
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x41671f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cfd5f
add esp, 4
mov eax, 0xfffffffb
jmp 0x41675c
jmp 0x4163ad
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004ccaf0
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41674e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004cfd5f
add esp, 4
mov eax, 0xfffffffb
jmp 0x41675c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004cfd5f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.004d0170
mov esp, ebp
pop ebp
ret