Function at 0x10038500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023f21a
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x4b8], 0
push 0
push 0x1025f3f1
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
call fcn.1001db70
push 0
push 0x1025f3f1
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
call fcn.1001db70
push 0
push 0x1025f3f1
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 2
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.1001db70
push 0
push 0x1025f3f1
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 3
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0xf
mov byte [ebp - 0x488], 0
call fcn.1001db70
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push str.r_.
cmovae eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
call fcn.1021b2cc
mov edi, eax
add esp, 8
mov dword [ebp - 0x4c0], edi
test edi, edi
je 0x10038e84
xor eax, eax
push edi
push 3
mov word [ebp - 0x4a8], ax
mov byte [ebp - 0x4a6], al
lea eax, [ebp - 0x4a8]
push 1
push eax
call fcn.1021b4cb
add esp, 0x10
cmp byte [ebp - 0x4a8], 0xef
jne 0x10038672
cmp byte [ebp - 0x4a7], 0xbb
jne 0x10038672
cmp byte [ebp - 0x4a6], 0xbf
je 0x1003867b
push edi
call fcn.1021b57b
add esp, 4
push edi
call fcn.1021af74
add esp, 4
test eax, eax
jne 0x10038e66
nop dword [eax]
push edi
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.1021b13b
add esp, 0xc
test eax, eax
je 0x10038e66
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100386b6
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1001db70
mov edi, dword [ebp - 0x418]
test edi, edi
je 0x10038e4f
mov edx, dword [ebp - 0x414]
lea eax, [ebp - 0x428]
mov esi, dword [ebp - 0x428]
cmp edx, 0x10
cmovae eax, esi
cmp byte [edi + eax - 1], 0xa
jne 0x10038740
lea ecx, [edi - 1]
cmp ecx, edi
ja 0x1003871e
cmp edx, 0x10
mov dword [ebp - 0x418], ecx
lea eax, [ebp - 0x428]
cmovae eax, esi
mov byte [eax + ecx], 0
jmp 0x1003872e
sub ecx, edi
push 0
push ecx
lea ecx, [ebp - 0x428]
call fcn.100392e0
mov esi, dword [ebp - 0x428]
mov edi, dword [ebp - 0x418]
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
mov dword [ebp - 0x430], 0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], 0
cmovae eax, esi
mov dword [ebp - 0x4b0], eax
cmp edi, 0x10
jae 0x10038782
movups xmm0, xmmword [eax]
mov edx, 0xf
mov dword [ebp - 0x4ac], edx
movups xmmword [ebp - 0x440], xmm0
jmp 0x10038800
mov eax, edi
mov ecx, SysReAllocString
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x4ac], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x100387ce
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100d1d56
add esp, 4
test eax, eax
je 0x10039023
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x100387e1
test ecx, ecx
je 0x100387df
push ecx
call fcn.100d1d56
add esp, 4
mov ecx, eax
jmp 0x100387e1
xor ecx, ecx
lea eax, [edi + 1]
mov dword [ebp - 0x440], ecx
push eax
push dword [ebp - 0x4b0]
push ecx
call fcn.1020d1a0
mov edx, dword [ebp - 0x4ac]
add esp, 0xc
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], edi
mov ecx, dword [ebp - 0x440]
lea esi, [ebp - 0x440]
cmp edx, 0x10
mov byte [ebp - 4], 5
cmovae esi, ecx
cmp edx, 0x10
lea eax, [ebp - 0x440]
cmovae eax, ecx
add eax, edi
cmp esi, eax
je 0x10038905
cmp byte [esi], 0x23
jne 0x100388d7
cmp edx, 0x10
lea eax, [ebp - 0x440]
cmovae eax, ecx
cmp esi, eax
je 0x100388e3
cmp byte [esi - 1], 0x5c
lea ecx, [esi - 1]
jne 0x100388dd
cmp edx, 0x10
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
sub ecx, eax
mov dword [ebp - 0x4b0], ecx
cmp edi, ecx
jb 0x1003901e
mov eax, edi
mov edx, 1
sub eax, ecx
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x4ac], 0x10
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
sub edi, edx
add ecx, eax
mov dword [ebp - 0x430], edi
sub edi, dword [ebp - 0x4b0]
inc edi
push edi
lea eax, [ecx + edx]
push eax
push ecx
call fcn.1020d720
mov edx, dword [ebp - 0x42c]
add esp, 0xc
mov edi, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x4ac], edx
inc esi
jmp 0x10038822
mov ecx, dword [ebp - 0x440]
cmp edx, 0x10
lea eax, [ebp - 0x440]
cmovae eax, ecx
lea ecx, [ebp - 0x440]
add eax, edi
push eax
push esi
lea eax, [ebp - 0x4c4]
push eax
call fcn.100395a0
movups xmm0, xmmword [ebp - 0x440]
or dword [ebp - 0x4b8], 1
movq xmm1, qword [ebp - 0x430]
mov edx, dword [ebp - 0x414]
movq qword [ebp - 0x4b4], xmm1
mov byte [ebp - 4], 4
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
movups xmmword [ebp - 0x498], xmm0
cmp edx, 0x10
jb 0x10038992
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038979
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039023
push edx
push ecx
call fcn.10209d2a
movups xmm0, xmmword [ebp - 0x498]
add esp, 8
movq xmm1, qword [ebp - 0x4b4]
sub esp, 0x18
movq qword [ebp - 0x418], xmm1
mov esi, esp
lea eax, [ebp - 0x428]
movups xmmword [ebp - 0x428], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x414], 0x10
mov ecx, dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
mov dword [ebp - 0x4ac], ecx
mov dword [ebp - 0x4b0], eax
cmp ecx, 0x10
jae 0x100389f1
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
jmp 0x10038a70
mov edi, ecx
mov eax, SysReAllocString
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, eax
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x10038a38
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100d1d56
add esp, 4
test eax, eax
je 0x10039023
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x10038a4b
test ecx, ecx
je 0x10038a49
push ecx
call fcn.100d1d56
add esp, 4
mov ecx, eax
jmp 0x10038a4b
xor ecx, ecx
mov eax, dword [ebp - 0x4ac]
inc eax
mov dword [esi], ecx
push eax
push dword [ebp - 0x4b0]
push ecx
call fcn.1020d1a0
mov eax, dword [ebp - 0x4ac]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
lea eax, [ebp - 0x440]
push eax
call fcn.10039040
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x428]
cmp eax, esi
je 0x10038b08
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x10038ac5
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038abb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039023
push edx
push ecx
call fcn.10209d2a
add esp, 8
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x428], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x418], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x42c]
cmp edx, 0x10
jb 0x10038b42
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038b38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039023
push edx
push ecx
call fcn.10209d2a
add esp, 8
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x10038e4f
mov edi, dword [ebp - 0x414]
lea eax, [ebp - 0x428]
mov esi, dword [ebp - 0x428]
cmp edi, 0x10
cmovae eax, esi
cmp byte [eax], 0x5b
jne 0x10038c53
push 1
push 0x10263364
cmp edi, 0x10
lea eax, [ebp - 0x428]
push 0
cmovae eax, esi
push ecx
push eax
call fcn.100383d0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10038ba0
mov eax, dword [ebp - 0x418]
lea ecx, [eax - 1]
jmp 0x10038bcc
push 1
push 0x10263364
push 0
push dword [ebp - 0x418]
cmp edi, 0x10
lea eax, [ebp - 0x428]
cmovae eax, esi
push eax
call fcn.100383d0
mov ecx, eax
add esp, 0x14
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
cmp eax, 1
jb 0x1003901e
dec eax
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp edi, 0x10
lea eax, [ebp - 0x428]
cmovae eax, esi
push ecx
inc eax
lea ecx, [ebp - 0x440]
push eax
call fcn.1001db70
or dword [ebp - 0x4b8], 2
lea ecx, [ebp - 0x488]
call fcn.10018bb0
movups xmm0, xmmword [ebp - 0x440]
mov edi, dword [ebp - 0x414]
mov esi, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x418]
movups xmmword [ebp - 0x488], xmm0
movq xmm0, qword [ebp - 0x430]
movq qword [ebp - 0x478], xmm0
cmp edi, 0x10
lea eax, [ebp - 0x428]
cmovae eax, esi
cmp byte [eax], 0x20
je 0x10038e4f
cmp edi, 0x10
lea eax, [ebp - 0x428]
cmovae eax, esi
cmp byte [eax], 0x23
je 0x10038e4f
cmp edi, 0x10
lea eax, [ebp - 0x428]
cmovae eax, esi
cmp byte [eax], 0x5b
je 0x10038e4f
cmp edi, 0x10
lea eax, [ebp - 0x428]
cmovae eax, esi
cmp byte [eax], 0xa
je 0x10038e4f
test ecx, ecx
je 0x10038e4f
push 1
push 0x10263368
cmp edi, 0x10
lea eax, [ebp - 0x428]
push 0
cmovae eax, esi
push ecx
push eax
call fcn.100383d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x10038e90
push eax
push 0
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x428]
call fcn.10039890
push eax
lea ecx, [ebp - 0x470]
call fcn.100384c0
lea ecx, [ebp - 0x440]
call fcn.10018bb0
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x428]
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.10039890
push eax
lea ecx, [ebp - 0x458]
call fcn.100384c0
lea ecx, [ebp - 0x440]
call fcn.10018bb0
sub esp, 0x18
lea eax, [ebp - 0x470]
mov ecx, esp
push eax
call fcn.10037700
lea eax, [ebp - 0x440]
push eax
call fcn.10039040
add esp, 0x1c
lea ecx, [ebp - 0x470]
push eax
call fcn.100384c0
lea ecx, [ebp - 0x440]
call fcn.10018bb0
sub esp, 0x18
lea eax, [ebp - 0x458]
mov ecx, esp
push eax
call fcn.10037700
lea eax, [ebp - 0x440]
push eax
call fcn.10039040
add esp, 0x1c
lea ecx, [ebp - 0x458]
push eax
call fcn.100384c0
lea ecx, [ebp - 0x440]
call fcn.10018bb0
push 0x1026336c
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.10038210
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.100381b0
add esp, 0x18
lea ecx, [ebp - 0x428]
push eax
call fcn.100384c0
lea ecx, [ebp - 0x440]
call fcn.10018bb0
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 4
call fcn.10018bb0
cmp dword [ebp - 0x444], 0x10
lea eax, [ebp - 0x458]
mov ecx, dword [ebp - 0x448]
cmovae eax, dword [ebp - 0x458]
cmp byte [ecx + eax - 1], 0x20
jne 0x10038e36
push 0
push 0x1025f3f1
lea eax, [ecx - 1]
push 1
push eax
lea ecx, [ebp - 0x458]
call fcn.10039610
mov ecx, dword [ebp - 0x4bc]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10037ee0
mov edi, dword [ebp - 0x4c0]
push edi
call fcn.1021af74
add esp, 4
test eax, eax
je 0x10038690
push edi
call fcn.1021aefa
mov edi, dword [ebp - 0x414]
add esp, 4
mov esi, dword [ebp - 0x428]
mov byte [ebp - 0x4a1], 1
jmp 0x10038e97
mov edi, dword [ebp - 0x414]
mov esi, dword [ebp - 0x428]
mov byte [ebp - 0x4a1], 0
mov edx, dword [ebp - 0x474]
cmp edx, 0x10
jb 0x10038edd
mov ecx, dword [ebp - 0x488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038ec7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039023
push edx
push ecx
call fcn.10209d2a
mov edi, dword [ebp - 0x414]
add esp, 8
mov esi, dword [ebp - 0x428]
mov edx, dword [ebp - 0x444]
cmp edx, 0x10
jb 0x10038f23
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038f0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039028
push edx
push ecx
call fcn.10209d2a
mov edi, dword [ebp - 0x414]
add esp, 8
mov esi, dword [ebp - 0x428]
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
cmp edx, 0x10
jb 0x10038f84
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038f6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003902d
push edx
push ecx
call fcn.10209d2a
mov edi, dword [ebp - 0x414]
add esp, 8
mov esi, dword [ebp - 0x428]
cmp edi, 0x10
jb 0x10038fb2
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x10038fa8
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039032
push edi
push esi
call fcn.10209d2a
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp edx, 0x10
jb 0x10038ffd
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10038ff3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039037
push edx
push ecx
call fcn.10209d2a
add esp, 8
mov al, byte [ebp - 0x4a1]
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.1020a080
mov esp, ebp
pop ebp
ret
call fcn.10038100
call fcn.1021149a
call fcn.1021149a
call fcn.1021149a
call fcn.1021149a
call fcn.1021149a
int3