Function at 0x1003e690
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e795
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xc0], edi
mov eax, ecx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 2
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [0x10086bdc]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xe8], eax
cmp eax, 0xffffffff
jne 0x1003e7c3
push 0
push 4
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003e7b8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1003dff0
mov dword [ebp - 0xac], eax
test eax, eax
je 0x1003e7b1
mov edi, dword [eax]
xor edx, edx
test edi, edi
je 0x1003e7a2
lea ecx, [eax + 8]
nop word [eax + eax]
movq xmm0, qword [ecx + 0x10]
mov eax, dword [ecx + 0x18]
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], eax
cmp esi, dword [ecx]
je 0x1003e791
inc edx
add ecx, 0x1c
cmp edx, edi
jb 0x1003e770
jmp 0x1003e79c
mov eax, dword [ebp - 0x84]
mov dword [0x10086bdc], eax
mov eax, dword [ebp - 0xac]
push eax
call fcn.1005365e
mov edi, dword [ebp - 0xc0]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10086bdc]
mov dword [ebp - 0xe8], eax
call fcn.1003e540
sub esp, 0x18
mov dword [ebp - 0x128], eax
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.100051f0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.10040460
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push str.__typerenderer
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
call fcn.10005600
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esp, 0x18
mov edi, eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0xc0], edi
mov ecx, esp
push eax
call fcn.100051f0
lea edx, [ebx + 0x20]
lea ecx, [ebp - 0xe4]
call fcn.1003e0f0
add esp, 0x18
mov byte [ebp - 4], 5
mov eax, 0x75ded953
mov ecx, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xe4]
sub ecx, esi
imul ecx
mov dword [ebp - 0xfc], 0
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003f2a1
xor edi, edi
nop word [eax + eax]
imul eax, edi, 0x22c
mov esi, dword [eax + esi + 8]
mov ecx, esi
call fcn.1003dff0
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x1003f26d
cmp dword [eax], 0
je 0x1003f26d
push esi
push 0
push 0x440
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xf4], eax
cmp eax, 0xffffffff
je 0x1003f26d
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], ecx
xor edi, edi
xor eax, eax
xor edx, edx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 7
cmp dword [eax], edx
jbe 0x1003edb5
mov esi, dword [ebp - 0xa4]
add eax, 8
mov dword [ebp - 0xb0], eax
nop word [eax + eax]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x170], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ebp - 0x160], xmm0
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0xe8]
sete cl
mov byte [ebp - 0xa5], cl
cmp eax, dword [ebp - 0x128]
je 0x1003e975
test cl, cl
je 0x1003ed79
push 2
push 0
push 0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push dword [ebp - 0xc0]
push dword [ebp - 0x170]
push dword [ebp - 0xf4]
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1003ed73
cmp byte [ebp - 0xa5], 0
je 0x1003eae8
mov eax, dword [ebp - 0x164]
and eax, 7
cmp al, 7
je 0x1003e9d7
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003ed73
push 0
push 0
push 0
push 4
push dword [ebp - 0x98]
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x144], xmm0
movq qword [ebp - 0x134], xmm0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
lea eax, [ebp - 0x144]
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1003ea46
cmp dword [ebp - 0x138], 0x10000
jne 0x1003ea46
mov eax, 0x3ff7
xorps xmm1, xmm1
movss xmm0, dword [esi + eax*4 + 0x20]
comiss xmm0, xmm1
ja 0x1003ea5e
comiss xmm1, xmm0
ja 0x1003ea5e
sub eax, 1
jns 0x1003ea31
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1003ed6d
lea edi, [eax*4 + 4]
test edi, edi
jle 0x1003ea46
mov ecx, edi
call fcn.1003d4a0
test eax, eax
je 0x1003ea46
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], edi
cmp edx, dword [ebp - 0xac]
je 0x1003eac4
movups xmm0, xmmword [ebp - 0x154]
mov esi, dword [ebp - 0xa4]
movups xmmword [edx], xmm0
add edx, 0x10
mov dword [ebp - 0xb8], edx
jmp 0x1003ed79
lea eax, [ebp - 0x154]
push eax
push edx
lea ecx, [ebp - 0xbc]
call fcn.10041c60
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xac], eax
jmp 0x1003ed6d
push 0x210
call fcn.100541a4
add esp, 4
mov esi, eax
mov dword [ebp - 0xec], esi
push 0x20c
lea eax, [esi + 4]
push 0
push eax
call fcn.1004b6f0
add esp, 0xc
mov dword [esi], 0x104
push 0x210
push esi
push 2
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x1003ed58
lea edx, [esi + 4]
mov dword [ebp - 0x34], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003eb50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.10005600
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 7
mov dword [ebp - 0x9c], ecx
cmova edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], edx
cmp ecx, eax
ja 0x1003ed14
sub eax, ecx
test ecx, ecx
je 0x1003ec57
inc eax
lea ecx, [edx + eax*2]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], ecx
movzx edi, word [eax]
mov dword [ebp - 0x110], edi
sub ecx, edx
mov esi, 0
sar ecx, 1
je 0x1003ebed
movzx eax, word [edx]
cmp ax, di
je 0x1003ebe5
cmp ecx, 1
je 0x1003ebe7
movzx eax, word [edx + 2]
add edx, 2
dec ecx
cmp ax, di
jne 0x1003ebd3
mov esi, edx
mov eax, dword [ebp - 0x9c]
mov edx, esi
test edx, edx
je 0x1003ed14
mov edi, dword [ebp - 0x1c]
mov esi, eax
test edi, edi
je 0x1003ec46
mov eax, edx
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x124], eax
nop
movzx ecx, word [esi + eax]
movzx eax, word [esi]
cmp cx, ax
jne 0x1003ec2c
add esi, 2
sub edi, 1
je 0x1003ec46
mov eax, dword [ebp - 0x124]
jmp 0x1003ec10
mov edi, dword [ebp - 0x110]
add edx, 2
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xcc]
jmp 0x1003ebc0
sub edx, dword [ebp - 0xa0]
sar edx, 1
cmp edx, 0xffffffff
je 0x1003ed14
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x60]
call fcn.100051f0
mov edx, dword [ebp - 0x170]
or dword [ebp - 0xc4], 2
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [ebp - 0xd0]
je 0x1003ecc6
xorps xmm0, xmm0
xor esi, esi
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, 7
movups xmm0, xmmword [ebp - 0x60]
mov dword [ecx + 0x14], 0
mov word [ebp - 0x60], si
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], edx
add ecx, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xd4], ecx
jmp 0x1003ecd9
lea eax, [ebp - 0x60]
push eax
push ecx
lea ecx, [ebp - 0xd8]
call fcn.10041dc0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 8
cmp eax, 7
jbe 0x1003ed14
mov edx, dword [ebp - 0x60]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ed0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edx
call fcn.1004633f
add esp, 8
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30]
cmp eax, 7
jbe 0x1003ed52
mov edx, dword [ebp - 0x44]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ed48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edx
call fcn.1004633f
add esp, 8
mov esi, dword [ebp - 0xec]
push esi
call fcn.1005365e
add esp, 4
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xb0]
inc ecx
add eax, 0x1c
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xb0], eax
cmp ecx, dword [esi]
jb 0x1003e930
mov edi, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x9c], edi
mov eax, edx
sub eax, edi
mov dword [ebp - 0xa0], eax
sar eax, 4
mov dword [ebp - 0xb0], eax
cmp eax, 1
jne 0x1003ee91
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x1003ee8b
lea eax, [edi + 0xc]
mov edx, esi
push eax
lea eax, [edi + 8]
push eax
push edi
lea ecx, [ebp - 0x178]
call fcn.10041360
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0xc8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x1003ee46
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [esi + 4], 8
jmp 0x1003ee4f
push edx
push ecx
mov ecx, esi
call fcn.10023e20
mov esi, dword [ebp - 0x174]
test esi, esi
je 0x1003f1e5
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1003f1e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1003f1e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1003f1e5
mov edx, dword [ebp - 0xb8]
cmp edi, edx
je 0x1003f1e5
mov eax, dword [ebp - 0xd4]
cmp esi, eax
je 0x1003f1e5
push ecx
push eax
push esi
lea ecx, [ebp - 0x120]
call fcn.10041500
mov byte [ebp - 4], 0xb
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0xb0]
xor edi, edi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x108], eax
test ecx, ecx
je 0x1003ef73
cmp ecx, 0xfffffff
ja 0x1003f44d
mov esi, ecx
shl esi, 4
cmp esi, 0x1000
jb 0x1003ef25
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1003f448
push eax
call fcn.10045ee0
add esp, 4
test eax, eax
je 0x1003f443
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1003ef38
test esi, esi
je 0x1003ef36
push esi
call fcn.10045ee0
add esp, 4
mov edi, eax
jmp 0x1003ef38
xor edi, edi
push dword [ebp - 0xa0]
lea ecx, [edi + esi]
mov dword [ebp - 0x10c], edi
push dword [ebp - 0x9c]
mov dword [ebp - 0x104], ecx
push edi
call fcn.1004b850
mov eax, dword [ebp - 0xb0]
add esp, 0xc
shl eax, 4
add eax, edi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x108], eax
mov ecx, eax
sub ecx, edi
sar ecx, 4
mov esi, ecx
mov dword [ebp - 0xcc], ecx
sar esi, 1
test esi, esi
jle 0x1003efcf
mov eax, esi
shl eax, 4
add eax, edi
nop
movups xmm0, xmmword [eax - 0x10]
sub eax, 0x10
dec esi
push dword [ebp - 0xf8]
mov dword [ebp - 0xa0], eax
mov edx, esi
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, edi
movups xmmword [ebp - 0x138], xmm0
call fcn.10042570
mov eax, dword [ebp - 0xa0]
add esp, 0xc
mov ecx, dword [ebp - 0xcc]
test esi, esi
jg 0x1003ef90
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x120]
lea ecx, [ebp - 0x94]
push esi
call fcn.100051f0
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x7c], esi
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xd
call fcn.100410b0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x138], xmm0
psrldq xmm0, 4
movd eax, xmm0
cmp eax, esi
mov esi, dword [ebp - 0x98]
jl 0x1003f039
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x11c]
jne 0x1003f128
mov eax, esi
sub eax, edi
sar eax, 4
cmp eax, 1
jne 0x1003f128
mov eax, esi
sub eax, edi
and eax, 0xfffffff0
cmp eax, 0x20
jl 0x1003f078
movups xmm0, xmmword [esi - 0x10]
lea eax, [esi - 0x10]
xor edx, edx
push dword [ebp - 0xf8]
movups xmmword [ebp - 0x164], xmm0
lea ecx, [ebp - 0x164]
movups xmm0, xmmword [edi]
push ecx
mov ecx, edi
movups xmmword [eax], xmm0
sub eax, edi
sar eax, 4
push eax
call fcn.10042570
add esp, 0xc
lea eax, [ebp - 0x12c]
sub esi, 0x10
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x98], esi
push eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x108], esi
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x180]
call fcn.10041360
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0xc8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x1003f0ee
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [esi + 4], 8
jmp 0x1003f0f7
push edx
push ecx
mov ecx, esi
call fcn.10023e20
mov esi, dword [ebp - 0x17c]
test esi, esi
je 0x1003f122
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1003f122
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1003f122
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x98]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x80]
cmp ecx, 7
jbe 0x1003f169
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003f15f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edx
call fcn.1004633f
add esp, 8
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x11c]
je 0x1003f17f
cmp edi, esi
jne 0x1003efd3
mov byte [ebp - 4], 0xb
mov eax, edi
mov ecx, dword [ebp - 0x104]
sub ecx, edi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1003f1ac
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edi
call fcn.1004633f
add esp, 8
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
call fcn.100412e0
mov edi, dword [ebp - 0x9c]
push dword [ebp - 0xf4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xa4]
call fcn.1005365e
add esp, 4
mov byte [ebp - 4], 6
test edi, edi
je 0x1003f258
mov ecx, dword [ebp - 0xac]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1003f230
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edi
call fcn.1004633f
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.100412e0
mov edi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xe0]
mov eax, 0x75ded953
mov esi, dword [ebp - 0xe4]
inc edi
sub ecx, esi
mov dword [ebp - 0xfc], edi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003e880
mov edi, dword [ebp - 0xc0]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xe4]
test esi, esi
je 0x1003f317
mov ecx, dword [ebp - 0xdc]
mov eax, 0x75ded953
sub ecx, esi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x22c
mov eax, esi
cmp ecx, 0x1000
jb 0x1003f2ef
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push esi
call fcn.1004633f
add esp, 8
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, 7
jbe 0x1003f351
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003f347
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edx
call fcn.1004633f
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x1003f38b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003f381
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edx
call fcn.1004633f
add esp, 8
mov ecx, dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x1003f3d5
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003f3cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edx
call fcn.1004633f
add esp, 8
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp ecx, 7
jbe 0x1003f41f
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003f415
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f443
push ecx
push edx
call fcn.1004633f
add esp, 8
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10045df2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004eae1
call fcn.10003ce0
call fcn.1000fd40
int3