Function at 0x42260a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499433
mov eax, dword fs:[0]
push eax
mov eax, 0x1090
call fcn.00427b00
mov eax, dword [0x4c8094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1080], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1014]
push 0x1000
push 0
push eax
mov dword [ebp - 0x1084], ebx
call fcn.00440a80
add esp, 0xc
mov ecx, esi
call fcn.00422370
push 0x40
call fcn.00426874
mov dword [ebp - 0x107c], eax
and dword [ebp - 4], 0
mov ecx, eax
mov dword [esp], 0x4b5240
call fcn.00421e6e
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x4c]
mov dword [ebp - 0x107c], eax
lea eax, [ebp - 0x107c]
push eax
call fcn.00402d26
mov ecx, ebx
call fcn.0040c83a
xor edi, edi
push 0x14
pop ecx
inc edi
cmp eax, ecx
jae 0x4226bc
mov byte [ebp - 0x1075], 0
jmp 0x42271f
push 0
push 0
push ebx
call fcn.0044e630
add esp, 0xc
mov dword [ebp - 0x1098], 0x58453144
xor eax, eax
mov word [ebp - 0x1092], di
mov byte [ebp - 0x1090], al
mov dword [ebp - 0x108c], eax
push 0x14
pop ecx
push ebx
push edi
mov dword [ebp - 0x1088], eax
lea eax, [ebp - 0x1098]
push ecx
push eax
mov word [ebp - 0x1094], cx
call fcn.0044d388
add esp, 0x10
test eax, eax
je 0x4226b3
cmp dword [ebp - 0x1098], 0x58453144
sete byte [ebp - 0x1075]
push 0
push 0
push ebx
call fcn.0044e630
add esp, 0xc
cmp byte [ebp - 0x1075], 0
je 0x422b0d
xor eax, eax
cmp dword [esi + 0x44], eax
jne 0x42275b
push 0x4c4dbc
lea eax, [ebp - 0x107c]
mov dword [ebp - 0x107c], 3
push eax
call fcn.004414d6
push 0xf
pop ecx
mov dword [ebp - 0x1060], ecx
mov dword [ebp - 0x1064], eax
mov byte [ebp - 0x1074], al
mov dword [ebp - 4], edi
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x1034], eax
mov byte [ebp - 0x1044], al
mov byte [ebp - 4], 2
mov esi, eax
push ebx
mov dword [ebp - 0x107c], eax
call fcn.0044e7cf
pop ecx
test eax, eax
jne 0x4227cd
push ebx
call fcn.0048c477
pop ecx
mov byte [ebp - 0x107c], al
lea ecx, [ebp - 0x1074]
push dword [ebp - 0x107c]
push edi
call fcn.0040cddc
push ebx
inc esi
call fcn.0044e7cf
pop ecx
test eax, eax
je 0x42279c
mov dword [ebp - 0x107c], esi
xor eax, eax
mov dword [ebp - 0x1018], 0xf
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x101c], eax
lea ecx, [ebp - 0x102c]
mov byte [ebp - 0x102c], al
lea eax, [ebp - 0x1074]
push eax
call fcn.00407001
mov byte [ebp - 4], 3
cmp dword [ebp - 0x101c], 0
ja 0x422811
push str.invalid_string_position
call fcn.00424a9f
cmp dword [ebp - 0x1018], 0x10
lea esi, [ebp - 0x102c]
push 5
cmovae esi, dword [ebp - 0x102c]
lea edi, [ebp - 0x1098]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1080]
lea edx, [ebp - 0x102c]
cmovae edx, dword [ebp - 0x102c]
lea edi, [esi + 0x34]
cmp dword [edi + 0x14], 0x10
jb 0x42284e
mov edi, dword [edi]
movsx eax, word [ebp - 0x1094]
lea ecx, [ebp - 0x1044]
push ecx
mov ecx, dword [ebp - 0x107c]
add edx, eax
sub ecx, eax
dec ecx
push ecx
mov ecx, edi
call fcn.0040d0a2
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x102c]
call fcn.00405dd7
xor eax, eax
mov dword [ebp - 0x1048], 0xf
mov dword [ebp - 0x1080], eax
mov dword [ebp - 0x104c], eax
mov byte [ebp - 0x105c], al
push eax
push ecx
lea ecx, [ebp - 0x1044]
mov byte [ebp - 4], 4
call fcn.00422edd
mov edi, eax
cmp edi, 0xffffffff
je 0x422a0b
mov ebx, dword [ebp - 0x1080]
mov eax, edi
lea ecx, [ebp - 0x1044]
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x102c]
push eax
call fcn.0040b23e
push eax
lea ecx, [ebp - 0x105c]
call fcn.00408251
xor ebx, ebx
lea ecx, [ebp - 0x102c]
push ebx
push 1
call fcn.00405b74
cmp dword [ebp - 0x1048], 0x10
lea ecx, [ebp - 0x105c]
lea edx, [ebp - 0x1014]
cmovae ecx, dword [ebp - 0x105c]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x42290e
lea eax, [ebp - 0x1014]
push 0xd
push eax
call fcn.00440d10
pop ecx
pop ecx
test eax, eax
jne 0x422940
lea eax, [ebp - 0x1014]
push 0xa
push eax
call fcn.00440d10
pop ecx
pop ecx
test eax, eax
je 0x422942
mov byte [eax], bl
cmp byte [ebp - 0x1014], 0x3b
jne 0x42295b
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.004223c3
jmp 0x4229cf
lea ecx, [ebp - 0x1014]
call fcn.0040a79e
mov dword [ebp - 0x107c], eax
cmp byte [eax], 0x5b
jne 0x422995
lea eax, [ebp - 0x1014]
push 0x5d
push eax
call fcn.00440be0
pop ecx
pop ecx
test eax, eax
je 0x422995
mov eax, dword [ebp - 0x107c]
mov ecx, esi
push eax
call fcn.00422402
jmp 0x4229cf
lea eax, [ebp - 0x1014]
push 0x3d
push eax
call fcn.00440be0
pop ecx
pop ecx
test eax, eax
je 0x4229be
lea ecx, [ebp - 0x1014]
call fcn.0040a79e
push eax
mov ecx, esi
call fcn.004224e6
jmp 0x4229cf
mov eax, dword [ebp - 0x107c]
cmp byte [eax], bl
jne 0x4229cf
mov ecx, esi
call fcn.004225ca
mov byte [ebp - 0x1014], bl
lea ebx, [edi + 1]
push ebx
push ecx
lea ecx, [ebp - 0x1044]
call fcn.00422edd
mov edi, eax
cmp edi, 0xffffffff
jne 0x4228c0
cmp ebx, dword [ebp - 0x1034]
cmovb edi, dword [ebp - 0x1034]
cmp edi, eax
jne 0x4228c0
mov ebx, dword [ebp - 0x1084]
push 0
push 1
lea ecx, [ebp - 0x105c]
call fcn.00405b74
push 0
push 1
lea ecx, [ebp - 0x1044]
call fcn.00405b74
push 0
push 1
lea ecx, [ebp - 0x1074]
call fcn.00405dd7
jmp 0x422b1c
push ebx
lea eax, [ebp - 0x1014]
push 0x1000
push eax
call fcn.0048c63e
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0xd
push eax
call fcn.00440d10
pop ecx
pop ecx
test eax, eax
jne 0x422a7a
lea eax, [ebp - 0x1014]
push 0xa
push eax
call fcn.00440d10
pop ecx
pop ecx
test eax, eax
je 0x422a7d
mov byte [eax], 0
cmp byte [ebp - 0x1014], 0x3b
jne 0x422a96
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.004223c3
jmp 0x422b06
lea ecx, [ebp - 0x1014]
call fcn.0040a79e
mov edi, eax
cmp byte [edi], 0x5b
jne 0x422ac6
lea eax, [ebp - 0x1014]
push 0x5d
push eax
call fcn.00440be0
pop ecx
pop ecx
test eax, eax
je 0x422ac6
push edi
mov ecx, esi
call fcn.00422402
jmp 0x422b06
lea eax, [ebp - 0x1014]
push 0x3d
push eax
call fcn.00440be0
pop ecx
pop ecx
test eax, eax
je 0x422aef
lea ecx, [ebp - 0x1014]
call fcn.0040a79e
push eax
mov ecx, esi
call fcn.004224e6
jmp 0x422b06
cmp byte [edi], 0
jne 0x422b06
push ebx
call fcn.0044e7cf
pop ecx
test eax, eax
jne 0x422b06
mov ecx, esi
call fcn.004225ca
mov byte [ebp - 0x1014], 0
push ebx
call fcn.0044e7cf
pop ecx
test eax, eax
je 0x422a3d
test ebx, ebx
je 0x422b27
push ebx
call fcn.0044c6d6
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00426855
mov esp, ebp
pop ebp
ret 4