Function at 0x429d40
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x20a8
call fcn.0042ee80
mov eax, dword [0x4337f4]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
mov esi, ecx
jne 0x42a07f
push ebx
push 0x42d8bc
push 0x42d898
push 0x80000002
mov dword [0x4337f4], 1
xor ebp, ebp
call fcn.0041edf0
add esp, 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [0x4337f8], ebx
push eax
mov dword [esp + 0x10], ebx
call fcn.00429c70
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x42a07f
push edi
push eax
call fcn.00438f46
mov ecx, dword [esp + 0x14]
push 0x42bb28
push ecx
call fcn.0042f380
add esp, 0xc
test eax, eax
jne 0x429f06
mov edx, dword [esp + 0x10]
push 0x42bb20
push edx
call fcn.0042f380
add esp, 8
test eax, eax
jne 0x429f06
mov eax, dword [esp + 0x10]
push 0x42bb10
push eax
call fcn.0042f380
add esp, 8
test eax, eax
je 0x429ffe
mov edi, dword [fcn.004261e0]
push 0x42d88c
push 0x4337fc
call edi
call fcn.0042a170
mov esi, eax
cmp esi, ebx
je 0x429ffe
lea ecx, [esp + 0x6c]
push esi
push ecx
call edi
push esi
call fcn.0042ee72
add esp, 4
lea edx, [esp + 0x6c]
push 0x42d880
push edx
call dword [fcn.004261cc]
push 0x180
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.00430808
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x429ffe
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.004305ca
add esp, 0xc
test eax, eax
jle 0x429efb
lea edx, [esp + 0x174]
push edx
call fcn.00438f46
lea eax, [esp + 0x178]
push 0x42d86c
push eax
call fcn.0042a090
add esp, 0xc
cmp eax, 1
jne 0x429efb
lea ecx, [esp + 0x1c]
push 0x50
push ecx
lea edx, [esp + 0x17c]
push 0x42d858
push edx
call fcn.0042a0f0
add esp, 0x10
test eax, eax
je 0x429efb
lea eax, [esp + 0x1c]
push 0x50
push eax
push 0x43384c
call dword [fcn.004261dc]
lea ecx, [esp + 0x174]
push 0x42d83c
push ecx
call fcn.0042a090
add esp, 8
mov dword [0x43389c], eax
mov ebp, 1
push esi
call fcn.004304ea
jmp 0x429ffb
push 0x42d82c
push 0x4337fc
call dword [fcn.004261e0]
lea edx, [esp + 0x18]
push ebx
push edx
push 0x42d820
push 0x42b978
push 0x80000001
mov dword [esp + 0x2c], ebx
call fcn.0041ebb0
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, ebx
je 0x429ffe
lea eax, [esp + 0x14]
push ebx
push eax
push 0x42d814
push 0x42b978
push 0x80000001
mov dword [esp + 0x28], ebx
call fcn.0041e9b0
mov esi, dword [esp + 0x28]
add esp, 0x14
cmp esi, ebx
je 0x429ffe
push esi
call fcn.00438f46
push 0x42d80c
push esi
call fcn.0042f380
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x429fae
push 0x42d80c
call dword [fcn.004261d8]
add edi, eax
cmp byte [edi], bl
je 0x429ff1
push 0x3b
push edi
call fcn.0042f790
add esp, 8
cmp eax, ebx
je 0x429fac
mov byte [eax], bl
mov esi, edi
cmp esi, ebx
je 0x429ff1
push 0x3a
push esi
call fcn.0042f790
add esp, 8
cmp eax, ebx
je 0x429fd4
mov byte [eax], bl
inc eax
push eax
call fcn.0042ef3a
add esp, 4
mov dword [0x43389c], eax
jmp 0x429fde
mov dword [0x43389c], 0x50
push 0x50
push esi
push 0x43384c
call dword [fcn.004261dc]
mov ebp, 1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0042ee72
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.0042ee72
add esp, 4
cmp ebp, ebx
pop edi
je 0x42a07f
push 1
push 0x42d8bc
push 0x42d898
push 0x80000002
mov dword [0x4337f8], 1
call fcn.0041edf0
push 0x4337fc
push 0x42d804
push 0x42d898
push 0x80000002
call fcn.0041ed70
push 0x43384c
push 0x42d7fc
push 0x42d898
push 0x80000002
call fcn.0041ed70
mov eax, dword [0x43389c]
push eax
push 0x42d7f4
push 0x42d898
push 0x80000002
call fcn.0041edf0
add esp, 0x40
pop esi
pop ebp
pop ebx
add esp, 0x20a8
ret