Function at 0x10006360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c005
mov eax, dword fs:[0]
push eax
mov eax, 0x1104
call fcn.10037d00
mov eax, dword [0x10073068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10e8], ecx
push 0xfffffffffffffff5
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1018], 0
push 0x1006b2a3
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1014], 0
movups xmmword [ebp - 0x1028], xmm0
call fcn.1000b9d0
push 0xfff
lea eax, [ebp - 0x100f]
mov byte [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0x1010], 0
call fcn.10038920
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x102c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [0x10075cb4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100068cb
nop dword [eax + eax]
cmp dword [ebp - 0x102c], 0
je 0x100068cb
xorps xmm0, xmm0
mov dword [ebp - 0x1034], 0
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1030], 0
movups xmmword [ebp - 0x1044], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006464
sub eax, edx
lea ecx, [ebp - 0x1044]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.1000b9d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x102c]
mov edx, dword [ebp - 0x1034]
cmp ecx, edx
ja 0x100064b4
cmp dword [ebp - 0x1030], 0x10
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1034], ecx
cmovae eax, dword [ebp - 0x1044]
mov byte [eax + ecx], 0
jmp 0x1000650d
mov esi, dword [ebp - 0x1030]
mov edi, ecx
mov eax, esi
sub edi, edx
sub eax, edx
cmp edi, eax
ja 0x100064f1
cmp esi, 0x10
mov dword [ebp - 0x1034], ecx
lea eax, [ebp - 0x1044]
cmovae eax, dword [ebp - 0x1044]
push edi
push 0
lea esi, [eax + edx]
push esi
call fcn.10038920
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1000650d
push 0
push edi
mov byte [ebp - 0x10f0], 0
lea ecx, [ebp - 0x1044]
push dword [ebp - 0x10f0]
push edi
call fcn.1000be60
cmp dword [ebp - 0x1030], 0x10
lea eax, [ebp - 0x1044]
mov edi, dword [ebp - 0x1044]
lea esi, [ebp - 0x1044]
mov edx, dword [ebp - 0x1034]
cmovae eax, edi
setae cl
mov dword [ebp - 0x10ec], edi
test cl, cl
mov ecx, dword [ebp - 0x1018]
push edx
mov al, byte [edx + eax - 1]
cmovne esi, edi
mov byte [ebp - 0x10e1], al
mov eax, dword [ebp - 0x1014]
sub eax, ecx
mov dword [ebp - 0x10f4], esi
cmp edx, eax
ja 0x1000659a
cmp dword [ebp - 0x1014], 0x10
lea esi, [ebp - 0x1028]
push dword [ebp - 0x10f4]
cmovae esi, dword [ebp - 0x1028]
lea eax, [ecx + edx]
add esi, ecx
mov dword [ebp - 0x1018], eax
push esi
call fcn.100383a0
mov eax, dword [ebp - 0x1034]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x100065c0
push esi
mov byte [ebp - 0x10f8], 0
lea ecx, [ebp - 0x1028]
push dword [ebp - 0x10f8]
push edx
call fcn.1000bfc0
mov edi, dword [ebp - 0x1044]
mov dword [ebp - 0x10ec], edi
cmp byte [ebp - 0x10e1], 0x3e
je 0x10006645
cmp dword [ebp - 0x10e8], 0
jne 0x10006645
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1030]
cmp eax, 0x10
jb 0x1000660c
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10006602
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000694f
push ecx
push edi
call fcn.10036bea
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x102c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [0x10075cb4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10006430
jmp 0x100068cb
xor ecx, ecx
cmp dword [ebp - 0x1018], ecx
jle 0x100066ab
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1028]
mov edi, dword [ebp - 0x1018]
cmp edx, 0x10
lea eax, [ebp - 0x1028]
cmovae eax, esi
setae byte [ebp - 0x10e1]
cmp byte [eax + ecx], 0xd
jne 0x100066a0
cmp byte [ebp - 0x10e1], 0
lea eax, [ebp - 0x1028]
cmovne eax, esi
mov byte [eax + ecx], 0x20
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1028]
mov edi, dword [ebp - 0x1018]
inc ecx
cmp ecx, edi
jl 0x10006661
mov edi, dword [ebp - 0x10ec]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1100], 0
push 0x1006b324
lea ecx, [ebp - 0x1110]
mov dword [ebp - 0x10fc], 0
movups xmmword [ebp - 0x1110], xmm0
call fcn.1000b7f0
lea eax, [ebp + 0x94]
mov byte [ebp - 4], 4
mov esi, dword [ebp + 0xc4]
lea ecx, [ebp - 0x10e0]
push eax
call fcn.10007e60
lea eax, [ebp - 0x1110]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10c4]
mov dword [ebp - 0x10c8], esi
call fcn.10007e60
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10fc]
cmp ecx, 8
jb 0x10006757
mov edx, dword [ebp - 0x1110]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000674d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000694a
push ecx
push edx
call fcn.10036bea
add esp, 8
xor eax, eax
mov dword [ebp - 0x109c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1098], 0xf
movups xmmword [ebp - 0x10ac], xmm0
mov byte [ebp - 0x10ac], 0
movups xmmword [ebp - 0x1094], xmm0
mov dword [ebp - 0x1084], 0
movups xmmword [ebp - 0x1074], xmm0
mov dword [ebp - 0x1080], 7
mov word [ebp - 0x1094], ax
mov dword [ebp - 0x107c], eax
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x1064], eax
mov dword [ebp - 0x1060], 7
mov word [ebp - 0x1074], ax
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1028]
mov ecx, esp
push eax
call fcn.100082d0
lea eax, [ebp - 0x105c]
push eax
lea ecx, [ebp + 8]
call fcn.10019900
lea eax, [ebp - 0x10ac]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x105c]
push eax
sub esp, 0x18
lea eax, [ebp + 0xac]
mov ecx, esp
push eax
call fcn.10007e60
lea eax, [ebp + 0xf4]
push eax
lea ecx, [ebp - 0x10e0]
call fcn.1000efb0
mov ecx, dword [ebp - 0x1048]
mov dword [ebp + 0x40], 0
cmp ecx, 0x10
jb 0x10006864
mov edx, dword [ebp - 0x105c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000685a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000694a
push ecx
push edx
call fcn.10036bea
add esp, 8
lea ecx, [ebp - 0x10ac]
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 0xf
mov byte [ebp - 0x105c], 0
call fcn.100031f0
lea ecx, [ebp - 0x10e0]
call fcn.10003150
mov eax, dword [ebp - 0x1030]
cmp eax, 0x10
jb 0x100068cb
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100068c1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000694a
push ecx
push edi
call fcn.10036bea
add esp, 8
mov ecx, dword [ebp - 0x1014]
cmp ecx, 0x10
jb 0x10006901
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100068f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000694f
push ecx
push edx
call fcn.10036bea
add esp, 8
lea ecx, [ebp + 8]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.100032e0
lea ecx, [ebp + 0x94]
call fcn.10003010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036bdc
mov esp, ebp
pop ebp
ret
call fcn.1003da55
call fcn.1003da55
int3