Function at 0x4264b0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [0x4c4024]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], edi
cmp ecx, 0xffffffff
jl 0x426c1f
mov eax, dword [edi]
mov dword [esp + 0x70], eax
cmp ecx, dword [eax + 4]
jge 0x426c1f
cmp dword [edi + 4], 0xffffffff
je 0x426543
test eax, eax
je 0x426543
mov esi, dword [eax + 0x7c]
test esi, esi
je 0x426543
mov eax, dword [esi]
test eax, eax
je 0x426511
push eax
call fcn.0047e30b
add esp, 4
cmp dword [esi + 0x40], 0
mov dword [esi], 0
je 0x426525
lea ecx, [esi + 4]
call fcn.00424b40
push esi
mov dword [esi + 0x40], 0
call fcn.0047e30b
mov eax, dword [esp + 0x74]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov dword [edi + 4], 0xffffffff
cmp ecx, dword [edi + 0x134]
jne 0x42657c
cmp ecx, 0xffffffff
je 0x426581
lea esi, [edi + 8]
mov ecx, 0x4b
mov edi, ebx
xor eax, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0xffffffff
jne 0x4265ff
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [ebx], eax
xor eax, eax
mov byte [ebx + 4], 0
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x128], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
mov esi, dword [edi]
cmp ecx, dword [esi + 0x10]
jge 0x42663c
test esi, esi
je 0x42663c
mov eax, dword [esi + 0x24]
lea edx, [esi + 0x28]
sub esp, 0x10
mov dword [esi + 0x14], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x10], 0
mov ecx, esi
push 0
push 0
push eax
call fcn.004257c0
xor ecx, ecx
add esp, 0x1c
test eax, eax
sete cl
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [edi]
cmp dword [esi + 0x10], ecx
jge 0x426696
test esi, esi
je 0x42668f
cmp dword [esi + 0x18], 0
je 0x42668f
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 4]
je 0x42668f
mov ecx, dword [esi + 0x50]
sub esp, 0x10
mov eax, dword [esi + 0x48]
add ecx, 0x2e
add ecx, dword [esi + 0x4c]
add eax, ecx
mov dword [esi + 0x10], edx
add dword [esi + 0x14], eax
lea edx, [esi + 0x28]
push 0
lea eax, [esi + 0x78]
mov ecx, esi
push 0
push eax
call fcn.004257c0
xor ecx, ecx
add esp, 0x1c
test eax, eax
sete cl
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [edi]
cmp dword [esi + 0x10], ecx
jl 0x426643
sub esp, 0x10
lea eax, [esp + 0xb0]
lea edx, [esp + 0x30]
mov ecx, esi
push 0x104
push eax
push 0
call fcn.004257c0
mov ecx, dword [edi]
lea eax, [esp + 0x30]
add esp, 0x1c
lea edx, [esp + 0x78]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00425ce0
add esp, 8
test eax, eax
je 0x4266ee
mov eax, 0x700
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, dword [eax]
cmp byte [ecx], 0
je 0x426718
cmp byte [ecx + 1], 0
je 0x4267aa
mov eax, dword [ecx + 0xc]
add eax, dword [esp + 0x10]
push 0
push 0
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x42671f
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
push dword [esp + 0x14]
call fcn.0042d1e6
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0xc], eax
mov esi, dword [ecx]
cmp byte [esi], 0
je 0x42675b
push 0
lea ecx, [esp + 0x74]
push ecx
push dword [esp + 0x1c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x426755
mov byte [esi + 8], 1
mov eax, dword [esp + 0x70]
jmp 0x426798
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x10], ecx
sub dword [esp + 0x10], edx
cmp eax, ecx
mov eax, dword [esp + 0x10]
cmovbe eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
add eax, edx
push eax
push dword [esp + 0x14]
call fcn.0047c1a0
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [esi + 0x1c], eax
cmp eax, dword [esp + 0x14]
je 0x4267c6
push dword [esp + 0xc]
call fcn.0042ca9b
add esp, 4
mov eax, 0x800
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
xor ecx, ecx
mov eax, dword [eax + 0x10]
mov dword [ebx], eax
nop
mov al, byte [esp + ecx + 0xa0]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x1a7], al
test al, al
jne 0x4267d0
lea esi, [esp + 0x1a8]
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x426801
cmp byte [esi + 1], 0x3a
jne 0x426801
add esi, 2
jmp 0x4267f0
cmp cl, 0x5c
jne 0x426809
inc esi
jmp 0x4267f0
cmp cl, 0x2f
jne 0x426811
inc esi
jmp 0x4267f0
push 0x4bd17c
push esi
call fcn.0047e88a
add esp, 8
test eax, eax
je 0x426828
lea esi, [eax + 4]
jmp 0x4267f0
push str..._
push esi
call fcn.0047e88a
add esp, 8
test eax, eax
je 0x42683f
lea esi, [eax + 4]
jmp 0x4267f0
push 0x4bd18c
push esi
call fcn.0047e88a
add esp, 8
test eax, eax
je 0x426856
lea esi, [eax + 4]
jmp 0x4267f0
push 0x4bd194
push esi
call fcn.0047e88a
add esp, 8
test eax, eax
je 0x42686d
lea esi, [eax + 4]
jmp 0x4267f0
mov ecx, ebx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi + 3], al
test al, al
jne 0x426871
mov edx, dword [esp + 0x54]
mov eax, edx
shr eax, 0x1e
mov ecx, edx
and eax, 0xffffff01
shr ecx, 0x17
mov dword [esp + 0x10], eax
not cl
mov eax, dword [esp + 0x20]
and cl, 1
shr eax, 8
mov byte [esp + 0x18], 0
mov byte [esp + 0x70], 0
mov byte [esp + 0x78], 1
test eax, eax
je 0x4268c3
cmp eax, 7
je 0x4268c3
cmp eax, 0xb
je 0x4268c3
cmp eax, 0xe
jne 0x4268f9
mov eax, edx
mov cl, dl
shr eax, 1
and cl, 1
and eax, 0xffffff01
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 2
and eax, 0xffffff01
mov dword [esp + 0x70], eax
mov eax, edx
shr eax, 4
and al, 1
shr edx, 5
mov byte [esp + 0x10], al
and edx, 0xffffff01
jmp 0x4268fd
mov edx, dword [esp + 0x78]
xor eax, eax
mov dword [ebx + 0x108], 0
cmp byte [esp + 0x10], al
je 0x42691e
mov dword [ebx + 0x108], 0x10
mov eax, 0x10
test dl, dl
je 0x42692b
or eax, 0x20
mov dword [ebx + 0x108], eax
cmp byte [esp + 0x18], 0
je 0x42693b
or eax, 2
mov dword [ebx + 0x108], eax
test cl, cl
je 0x426948
or eax, 1
mov dword [ebx + 0x108], eax
cmp byte [esp + 0x70], 0
je 0x426958
or eax, 4
mov dword [ebx + 0x108], eax
mov edx, dword [esp + 0x30]
mov esi, 0x7bc
mov eax, dword [esp + 0x38]
mov ecx, edx
mov dword [ebx + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x128], eax
shr ecx, 0x10
mov ax, cx
shr ax, 9
add ax, si
mov word [esp + 0x80], ax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov word [esp + 0x86], cx
mov word [esp + 0x82], ax
mov ax, dx
shr ax, 0xb
mov word [esp + 0x88], ax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov word [esp + 0x8a], ax
xor eax, eax
mov word [esp + 0x8e], ax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x84]
mov word [esp + 0x90], dx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x94]
mov dword [esp + 0x98], ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov ecx, dword [esp + 0x98]
xor esi, esi
cmp dword [esp + 0x14], 4
mov eax, dword [esp + 0x9c]
mov dword [ebx + 0x10c], ecx
mov dword [ebx + 0x114], ecx
mov dword [ebx + 0x11c], ecx
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x120], eax
jbe 0x426be4
mov byte [esp + 0x76], 0
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [esi + ecx]
mov byte [esp + 0x74], al
movzx eax, byte [esi + ecx + 1]
mov ecx, 0x4bd19c
mov byte [esp + 0x75], al
lea eax, [esp + 0x74]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x426ab0
test dl, dl
je 0x426aac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x426ab0
add eax, 2
add ecx, 2
test dl, dl
jne 0x426a90
xor eax, eax
jmp 0x426ab5
sbb eax, eax
or eax, 1
test eax, eax
je 0x426ad5
mov ecx, dword [esp + 0xc]
movzx eax, byte [esi + ecx + 2]
add eax, 4
add esi, eax
lea eax, [esi + 4]
cmp eax, dword [esp + 0x14]
jb 0x426a70
jmp 0x426be4
mov eax, dword [esp + 0xc]
mov al, byte [esi + eax + 4]
add esi, 5
movzx ecx, al
mov edx, ecx
shr ecx, 2
shr edx, 1
and cl, 1
and edx, 0xffffff01
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], edx
test al, 1
je 0x426b4a
mov edx, dword [esp + 0xc]
movzx eax, byte [esi + edx + 3]
movzx ecx, byte [esi + edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edx]
shl eax, 8
add esi, 4
or eax, ecx
mov ecx, 0x989680
imul ecx
add eax, 0xd53e8000
mov dword [ebx + 0x11c], eax
adc edx, 0x19db1de
mov dword [ebx + 0x120], edx
mov edx, dword [esp + 0x78]
test dl, dl
je 0x426b95
mov edx, dword [esp + 0xc]
movzx eax, byte [esi + edx + 3]
movzx ecx, byte [esi + edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edx]
shl eax, 8
add esi, 4
or eax, ecx
mov ecx, 0x989680
imul ecx
add eax, 0xd53e8000
mov dword [ebx + 0x10c], eax
adc edx, 0x19db1de
mov dword [ebx + 0x110], edx
cmp byte [esp + 0x70], 0
je 0x426be0
mov edx, dword [esp + 0xc]
movzx eax, byte [esi + edx + 3]
movzx ecx, byte [esi + edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edx]
shl eax, 8
or eax, ecx
mov ecx, 0x989680
imul ecx
add eax, 0xd53e8000
mov dword [ebx + 0x114], eax
adc edx, 0x19db1de
mov dword [ebx + 0x118], edx
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0042ca9b
mov eax, dword [esp + 0x20]
add edi, 8
mov ecx, 0x4b
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x134], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x2b4]
mov eax, 0x10000
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8