Function at 0x416140
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x20a8
call fcn.0041b280
mov eax, dword [0x4337f4]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
mov esi, ecx
jne 0x41647f
push ebx
push 0x42d8bc
push 0x42d898
push 0x80000002
mov dword [0x4337f4], 1
xor ebp, ebp
call fcn.0040b1f0
add esp, 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [0x4337f8], ebx
push eax
mov dword [esp + 0x10], ebx
call fcn.00416070
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x41647f
push edi
push eax
call fcn.00425346
mov ecx, dword [esp + 0x14]
push 0x42bb28
push ecx
call fcn.0041b780
add esp, 0xc
test eax, eax
jne 0x416306
mov edx, dword [esp + 0x10]
push 0x42bb20
push edx
call fcn.0041b780
add esp, 8
test eax, eax
jne 0x416306
mov eax, dword [esp + 0x10]
push 0x42bb10
push eax
call fcn.0041b780
add esp, 8
test eax, eax
je 0x4163fe
mov edi, dword [0x4261e0]
push 0x42d88c
push 0x4337fc
call edi
call fcn.00416570
mov esi, eax
cmp esi, ebx
je 0x4163fe
lea ecx, [esp + 0x6c]
push esi
push ecx
call edi
push esi
call fcn.0041b272
add esp, 4
lea edx, [esp + 0x6c]
push 0x42d880
push edx
call dword [0x4261cc]
push 0x180
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.0041cc08
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x4163fe
mov ecx, 0x7d0
xor eax, eax
lea edi, [esp + 0x174]
push 0x1f40
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x178]
push ecx
push esi
stosb byte es:[edi], al
call fcn.0041c9ca
add esp, 0xc
test eax, eax
jle 0x4162fb
lea edx, [esp + 0x174]
push edx
call fcn.00425346
lea eax, [esp + 0x178]
push 0x42d86c
push eax
call fcn.00416490
add esp, 0xc
cmp eax, 1
jne 0x4162fb
lea ecx, [esp + 0x1c]
push 0x50
push ecx
lea edx, [esp + 0x17c]
push 0x42d858
push edx
call fcn.004164f0
add esp, 0x10
test eax, eax
je 0x4162fb
lea eax, [esp + 0x1c]
push 0x50
push eax
push 0x43384c
call dword [0x4261dc]
lea ecx, [esp + 0x174]
push 0x42d83c
push ecx
call fcn.00416490
add esp, 8
mov dword [0x43389c], eax
mov ebp, 1
push esi
call fcn.0041c8ea
jmp 0x4163fb
push 0x42d82c
push 0x4337fc
call dword [0x4261e0]
lea edx, [esp + 0x18]
push ebx
push edx
push 0x42d820
push 0x42b978
push 0x80000001
mov dword [esp + 0x2c], ebx
call fcn.0040afb0
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, ebx
je 0x4163fe
lea eax, [esp + 0x14]
push ebx
push eax
push 0x42d814
push 0x42b978
push 0x80000001
mov dword [esp + 0x28], ebx
call fcn.0040adb0
mov esi, dword [esp + 0x28]
add esp, 0x14
cmp esi, ebx
je 0x4163fe
push esi
call fcn.00425346
push 0x42d80c
push esi
call fcn.0041b780
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4163ae
push 0x42d80c
call dword [0x4261d8]
add edi, eax
cmp byte [edi], bl
je 0x4163f1
push 0x3b
push edi
call fcn.0041bb90
add esp, 8
cmp eax, ebx
je 0x4163ac
mov byte [eax], bl
mov esi, edi
cmp esi, ebx
je 0x4163f1
push 0x3a
push esi
call fcn.0041bb90
add esp, 8
cmp eax, ebx
je 0x4163d4
mov byte [eax], bl
inc eax
push eax
call fcn.0041b33a
add esp, 4
mov dword [0x43389c], eax
jmp 0x4163de
mov dword [0x43389c], 0x50
push 0x50
push esi
push 0x43384c
call dword [0x4261dc]
mov ebp, 1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041b272
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.0041b272
add esp, 4
cmp ebp, ebx
pop edi
je 0x41647f
push 1
push 0x42d8bc
push 0x42d898
push 0x80000002
mov dword [0x4337f8], 1
call fcn.0040b1f0
push 0x4337fc
push 0x42d804
push 0x42d898
push 0x80000002
call fcn.0040b170
push 0x43384c
push 0x42d7fc
push 0x42d898
push 0x80000002
call fcn.0040b170
mov eax, dword [0x43389c]
push eax
push 0x42d7f4
push 0x42d898
push 0x80000002
call fcn.0040b1f0
add esp, 0x40
pop esi
pop ebp
pop ebx
add esp, 0x20a8
ret