Function at 0x41fea4
Capabilities:
Read file on windows

Disassembly:
push 0x16c
mov eax, 0x57d610
call fcn.00550e3c
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x596cbc
mov ecx, 0x5ff524
call fcn.0040332b
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x170], esp
lea eax, [ebp + 8]
push eax
call fcn.00401452
mov byte [ebp - 4], 3
lea eax, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 2
call fcn.0041c98a
pop ecx
pop ecx
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 8]
call fcn.004070db
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
lea ecx, [ecx - 0x10]
call fcn.004032e4
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
push 3
push dword [ebp + 8]
lea ecx, [ebp - 0xe0]
call fcn.004029c2
mov byte [ebp - 4], 6
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x44]
call fcn.004016bb
mov byte [ebp - 4], 8
lea eax, [ebp - 0xdc]
cmp dword [ebp - 0xe0], eax
je 0x41ff63
push dword [ebp - 0xe0]
call fcn.00550ad6
pop ecx
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
push 0x596cd4
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00554fb7
add esp, 0xc
test eax, eax
jne 0x420124
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jne 0x41ffd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00401d18
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004032e4
mov dword [ebp - 4], 0xa
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004032e4
mov al, bl
jmp 0x4201d2
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 0xb
push 2
push eax
push dword [ebp - 0x168]
call fcn.00555547
push dword [ebp - 0x168]
call fcn.0055591f
add esp, 0x10
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004219cc
push dword [ebp - 0x168]
call fcn.00555c8f
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push dword [ebp - 0x168]
push dword [ebp - 0x1c]
push ebx
push eax
call fcn.005553d3
push dword [ebp - 0x168]
call fcn.00554b42
add esp, 0x18
lea eax, [ebp - 0x160]
mov dword [ebp - 0x164], eax
push 3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x164]
call fcn.004029c2
mov byte [ebp - 4], 0xc
push dword [ebp - 0x164]
lea ecx, [ebp - 0x5c]
call fcn.004016bb
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x42007e
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x170], esp
push eax
call fcn.004016bb
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x16c], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00401695
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
call fcn.00420803
add esp, 0x30
mov bl, al
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call fcn.00401d18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x160]
cmp dword [ebp - 0x164], eax
je 0x4200e3
push dword [ebp - 0x164]
call fcn.00550ad6
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00401d18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00401d18
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004032e4
mov dword [ebp - 4], 0x11
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
jmp 0x41ffc4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00401d18
mov dword [ebp - 4], ebx
jmp 0x4201b2
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004032e4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 0x10]
call fcn.004032e4
xor al, al
call fcn.00550d8e
ret