Function at 0x42d720
Capabilities:
Read file on windows

Disassembly:
push 0x34
mov eax, 0x502f19
call fcn.004e5a90
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], ebx
call fcn.0041162c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.0041162c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040e3ac
test eax, eax
je 0x42d93e
push esi
lea edi, [ebp - 0x40]
call fcn.0040e31a
test eax, eax
je 0x42d825
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
push 0x525350
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040de9b
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x28]
push eax
push 0x52535c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00410b67
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x30]
push eax
push 0x525220
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00410b67
push str.ro_RO
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041089c
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004115b7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040d58f
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x42d7fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x42d80b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x42d92e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d92e
call dword [str.DeleteObject]
cmp esi, ebx
mov dword [ebp - 0x14], eax
je 0x42d841
push esi
call dword [0x508384]
inc eax
cmp eax, 0x3fffffff
jle 0x42d845
xor eax, eax
jmp 0x42d85d
lea edi, [eax + eax]
mov eax, edi
call fcn.004e88d0
mov eax, esp
push dword [ebp - 0x14]
push edi
push esi
mov esi, eax
call fcn.0041d8c9
push str.pt_PT
push eax
call fcn.004e1c23
mov esi, 0x100000
push esi
mov edi, eax
call fcn.004dbcc5
add esp, 0xc
push esi
push ebx
push eax
mov dword [ebp - 0x24], eax
call fcn.004e37e0
add esp, 0xc
push edi
push esi
push 1
push dword [ebp - 0x24]
call fcn.004e1f22
add esp, 0x10
cmp eax, ebx
jle 0x42d920
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fe63
push 0x5252d0
xor ecx, ecx
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0041db1c
cmp eax, ebx
jle 0x42d911
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.0041034f
push 0x22
xor ecx, ecx
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00410325
mov ecx, eax
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.0040e0cb
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004115b7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.0040d58f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040d58f
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040d58f
cmp dword [ebp - 0x24], ebx
je 0x42d92e
push dword [ebp - 0x24]
call fcn.004df29b
pop ecx
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x42d93e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x3c], ebx
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
jle 0x42d962
lea eax, [ebp - 0x18]
call fcn.0040cdbb
lea eax, [ebp - 0x18]
call fcn.0040ce11
mov edi, dword [ebp - 0x18]
push edi
call fcn.0042ceaa
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x40]
call fcn.00410c02
lea eax, [edi - 0x10]
call fcn.0040d58f
mov eax, dword [ebp - 0x34]
lea esp, [ebp - 0x50]
call fcn.004e5b13
ret