Function at 0x6960e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x887fbb
push eax
mov dword fs:[0], esp
sub esp, 0x4e0
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov dword [0x9ddbd8], ebx
call edi
mov esi, dword [esp + 0x500]
mov dword [0x9ddbe0], eax
cmp esi, ebx
je 0x696949
cmp word [esi], bx
je 0x696949
cmp dword [esp + 0x504], ebx
je 0x696949
mov ebp, dword [esp + 0x508]
cmp ebp, ebx
je 0x696949
cmp dword [ebp], ebx
je 0x696949
cmp dword [0x9ddbe4], ebx
jne 0x696172
mov dword [0x9ddbd8], 2
mov dword [0x9ddbdc], 0x2437
jmp 0x69695d
push esi
call fcn.006a31f0
add esp, 4
test al, 0x10
je 0x696198
mov dword [0x9ddbd8], 0x1d
mov dword [0x9ddbdc], 0x243f
jmp 0x69695d
mov eax, dword [ebp]
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocString
push esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], eax
call fcn.006a4030
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
mov dword [esp + 0x24], ebp
je 0x696753
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x99]
mov byte [esp + 0x98], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x98]
push ecx
push ebp
stosb byte es:[edi], al
call fcn.00696980
add esp, 8
test eax, eax
je 0x696773
lea edx, [esp + 0x98]
test edx, edx
je 0x696797
push 0x10
lea eax, [esp + 0x9c]
push 0x992ee4
push eax
call fcn.005fef40
add esp, 0xc
test eax, eax
jne 0x696797
test byte [esp + 0xca], 1
je 0x696797
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push ebx
push edx
push ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
call fcn.0068e380
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, ebx
jne 0x6967bb
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0xdc]
mov dword [esp + 0xd8], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x64]
mov dword [esp + 0x60], ebx
lea edx, [esp + 0x98]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x4c], ebx
push ecx
push edx
push ebp
call fcn.00696bc0
add esp, 0xc
test eax, eax
je 0x6967df
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x169]
mov byte [esp + 0x168], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x168]
push eax
push ebp
call fcn.00691300
add esp, 8
test eax, eax
je 0x696803
lea ecx, [esp + 0x60]
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
push ebp
call fcn.00696e40
add esp, 0x10
test eax, eax
je 0x696827
cmp word [esp + 0x6a], bx
jne 0x69684b
lea ecx, [esp + 0x14]
call fcn.00636b60
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0xe0]
push eax
lea edx, [esp + 0xa4]
push ecx
push edx
push ebp
mov dword [esp + 0x510], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], ebx
call fcn.00697090
add esp, 0x18
test eax, eax
je 0x69686f
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov si, word [eax + 0xc]
cmp si, bx
jbe 0x6963c3
mov edx, dword [esp + 0x38]
mov eax, ecx
and eax, 0xffff
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
lea eax, [edx + eax*8]
je 0x6963bd
mov eax, dword [eax]
cmp eax, 1
jb 0x696885
cmp eax, 4
ja 0x696885
inc ecx
cmp cx, si
jb 0x696395
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x128]
push ecx
push 0x40
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0xe4]
push eax
push ecx
mov dword [esp + 0x50], ebx
call fcn.00694f30
add esp, 0x14
test eax, eax
je 0x69689b
mov edx, dword [esp + 0x3c]
push edx
call fcn.0067ea20
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x5c], esi
je 0x6968b1
lea ecx, [esp + 0x14]
mov dword [esp + 0x4f8], 0xffffffff
call fcn.00636c90
mov eax, dword [esp + 0xfc]
push ebx
push ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
je 0x696746
mov edi, dword [esp + 0x8c]
cmp eax, 1
mov dword [esp + 0x30], edi
jne 0x696467
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x30], ecx
mov edi, ecx
push edi
call fcn.008325b4
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x6968e6
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0xc]
push eax
mov dword [esp + 0x30], eax
call fcn.008325b4
mov ebp, eax
xor eax, eax
add esp, 4
cmp ebp, eax
je 0x696907
mov dword [esp + 0x18], eax
jmp 0x6964a9
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jne 0x6964cf
mov esi, dword [esp + 0x90]
mov dword [esp + 0x28], 1
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x24]
xor edi, edi
lea eax, [esp + 0x50]
push edi
push eax
push esi
push ebx
push ecx
mov dword [esp + 0x64], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x696691
cmp esi, dword [esp + 0x50]
jne 0x6966a7
mov ecx, dword [esp + 0x84]
xor eax, eax
cmp eax, ecx
mov dword [esp + 0x10], edi
ja 0x6965a8
jb 0x696546
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
cmp edx, eax
jae 0x6965a8
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x58]
push eax
push ecx
push esi
push ebx
push edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x48], edi
call fcn.006998d0
add esp, 0x14
test eax, eax
je 0x6966bd
lea edx, [esp + 0x10]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push ebp
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x60]
push edx
lea edx, [esp + 0x140]
push edx
call dword [eax + 0x14]
test eax, eax
je 0x6966d3
mov eax, dword [esp + 0x10]
jmp 0x6965f7
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x10], eax
jbe 0x6965c1
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x68]
and ecx, 0xffff
sub ecx, edi
je 0x6965e3
dec ecx
je 0x6965dc
dec ecx
jne 0x6965f7
mov ecx, eax
lea esi, [ebx + 8]
jmp 0x6965e7
mov ecx, eax
lea esi, [ebx + 4]
jmp 0x6965e7
mov ecx, eax
mov esi, ebx
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x88]
cmp ecx, edx
jne 0x69662f
mov eax, dword [esp + 0x74]
test eax, eax
mov eax, dword [esp + 0x70]
ja 0x696619
cmp eax, 0x1000
jbe 0x69662b
and eax, 0xfff
xor ecx, ecx
mov edx, eax
or edx, ecx
jne 0x69662b
mov eax, 0x1000
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x48]
cmp edx, eax
jbe 0x6966fc
mov edi, dword [esp + 0x504]
mov ecx, eax
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x504]
add edi, eax
add esi, eax
sub edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edi
test eax, eax
mov dword [esp + 0x504], esi
mov dword [esp + 0x48], edx
je 0x6964a1
jmp 0x696727
mov dword [0x9ddbd8], 0xd
mov dword [0x9ddbdc], 0x24fc
jmp 0x6966e7
mov dword [0x9ddbd8], 0xd
mov dword [0x9ddbdc], 0x2504
jmp 0x6966e7
mov dword [0x9ddbd8], 0x1c
mov dword [0x9ddbdc], 0x2515
jmp 0x6966e7
mov dword [0x9ddbd8], 0x12
mov dword [0x9ddbdc], 0x251e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
mov dword [esp + 0x1c], 1
jmp 0x696727
mov edi, dword [esp + 0x504]
mov ecx, edx
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x20]
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
push ebx
call fcn.008325dd
push ebp
call fcn.008325dd
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
add esp, 8
test eax, eax
jne 0x69692a
mov dword [esp + 0x40], 1
jmp 0x69692a
mov dword [0x9ddbd8], 3
mov dword [0x9ddbdc], 0x2457
call edi
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0xf
mov dword [0x9ddbdc], 0x245e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0x22
mov dword [0x9ddbdc], 0x2465
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0x31
mov dword [0x9ddbdc], 0x246b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0x14
mov dword [0x9ddbdc], 0x247b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0x1f
mov dword [0x9ddbdc], 0x2483
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0x14
mov dword [0x9ddbdc], 0x2489
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 1
mov dword [0x9ddbdc], 0x2490
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0x14
mov dword [0x9ddbdc], 0x249a
jmp 0x6968c5
mov dword [0x9ddbd8], 0x32
mov dword [0x9ddbdc], 0x24a0
jmp 0x6968c5
mov dword [0x9ddbd8], 0xb
mov dword [0x9ddbdc], 0x24b0
jmp 0x6968c5
mov dword [0x9ddbd8], 0xc
mov dword [0x9ddbdc], 0x24b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov dword [0x9ddbe0], eax
mov dword [esp + 0x4f8], 0xffffffff
call fcn.00636c90
jmp 0x69692a
mov dword [0x9ddbd8], 0x21
mov dword [0x9ddbdc], 0x24da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9ddbe0], eax
jmp 0x69692a
mov dword [0x9ddbd8], 0x21
mov dword [0x9ddbdc], 0x24e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x24]
mov dword [0x9ddbe0], eax
mov ecx, dword [esp + 0x508]
mov edx, dword [esp + 0x20]
cmp ebp, 0xffffffff
mov dword [ecx], edx
je 0x696943
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x40]
jmp 0x696966
mov dword [0x9ddbd8], 1
mov dword [0x9ddbdc], 0x2431
call edi
mov dword [0x9ddbe0], eax
xor eax, eax
mov ecx, dword [esp + 0x4f0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4ec
ret