Function at 0x10035750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10080040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 4], 0
call fcn.10035280
xor ecx, ecx
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xd0]
mov eax, dword [edi + 0xd4]
sub eax, esi
mov dword [ebp - 0x38], ecx
sar eax, 6
mov dword [ebp - 0x48], esi
test eax, eax
je 0x10035dac
mov ecx, esi
xor edi, edi
mov dword [ebp - 0x3c], ecx
nop dword [eax]
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x10035ac5
lea edx, [ebp - 0x4f]
mov word [ebp - 0x50], 0x30
mov byte [ebp - 0x4f], 0
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10035800
sub edx, ecx
lea eax, [ebp - 0x4f]
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
push edx
cmova ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x20]
push eax
call fcn.1000ecb0
add esp, 8
test al, al
je 0x1003589e
mov edx, dword [ebp + 0xc]
lea ecx, [edi + esi]
cmp dword [ecx + 0x3c], edx
jne 0x10035d78
mov esi, dword [ebp - 0x18]
push ecx
cmp esi, dword [ebp - 0x14]
je 0x10035d6d
mov ecx, esi
mov dword [ebp - 0x58], esi
call fcn.10001d60
mov edx, dword [ebp - 0x48]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
add edx, edi
mov eax, dword [edx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edx + 0x30]
push eax
call fcn.1000ed20
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + edi + 0x3c]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 1
add dword [ebp - 0x18], 0x40
jmp 0x10035d78
lea edx, [ebp - 0x4b]
mov word [ebp - 0x4c], 0x20
mov byte [ebp - 0x4b], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x100358b0
sub edx, ecx
lea eax, [ebp - 0x4b]
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
push edx
cmova ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x20]
push eax
call fcn.1000ecb0
add esp, 8
test al, al
jne 0x10035d08
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp + 0xc]
cmp dword [edi + eax + 0x3c], edx
jne 0x10035d78
mov edx, dword [edi + eax + 0x1c]
test edx, edx
jne 0x1003598f
xor eax, eax
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xd0]
mov eax, dword [edi + eax + 0x1c]
test eax, eax
je 0x10035a5a
cmp eax, 0x5f5e100
jae 0x10035a5a
sub esp, 0x18
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.10001d60
mov esi, dword [ebp - 0x54]
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov eax, dword [esi + 0xd0]
add eax, edi
push eax
call fcn.10001d60
mov byte [ebp - 4], 1
call fcn.1000e8d0
add esp, 0x30
test al, al
je 0x10035d78
mov esi, dword [esi + 0xd0]
mov ecx, dword [ebp - 0x18]
add esi, edi
mov dword [ebp - 0x44], ecx
push esi
cmp ecx, dword [ebp - 0x14]
je 0x10035a54
mov dword [ebp - 0x58], ecx
call fcn.10001d60
mov byte [ebp - 4], 8
jmp 0x10035c50
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [ebp - 0x54]
mov esi, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov ecx, dword [ecx + 0xd0]
mov ecx, dword [edi + ecx + 0x1c]
mov dword [ebp - 0x3c], ecx
test esi, esi
je 0x100358fd
cmp dword [esi], 0
mov dword [ebp - 0x48], esi
je 0x100358fd
test ecx, ecx
je 0x10035900
mov eax, 0x12e0be83
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x48], eax
cmp eax, 4
jae 0x10035900
cmp byte [esi + 4], 0x2d
jae 0x10035900
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035900
mov eax, 0x10624dd3
mov esi, dword [0x10077bf0]
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
shr edx, 6
sub eax, edx
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x10035907
push ecx
jmp 0x10035d70
test esi, esi
je 0x10035d78
sub esp, 0x18
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.10001d60
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov edx, esi
push dword [ebp - 0x3c]
call fcn.1000ac10
add esp, 4
mov byte [ebp - 4], 1
call fcn.1000e8d0
add esp, 0x30
test al, al
je 0x10035d78
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
mov esi, dword [eax + 0xd0]
add esi, edi
push esi
cmp ecx, dword [ebp - 0x14]
je 0x10035a54
mov dword [ebp - 0x58], ecx
call fcn.10001d60
mov byte [ebp - 4], 0xa
jmp 0x10035c50
jne 0x10035d0b
lea edx, [ebp - 0x3f]
mov word [ebp - 0x40], 0x39
mov byte [ebp - 0x3f], 0
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10035ae0
sub edx, ecx
lea eax, [ebp - 0x3f]
cmp dword [ebp + 0x24], 0xf
lea ecx, [ebp + 0x10]
push edx
cmova ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x20]
push eax
call fcn.1000ecb0
add esp, 8
test al, al
jne 0x10035d08
mov edx, dword [ebp - 0x3c]
mov edx, dword [edi + edx + 0x1c]
test edx, edx
jne 0x10035b1e
xor esi, esi
jmp 0x10035bcd
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xd0]
mov edx, dword [edi + ecx + 0x1c]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov dword [ebp - 0x44], edx
test ecx, ecx
je 0x10035bcd
cmp dword [ecx], 0
je 0x10035bcd
test edx, edx
je 0x10035bcb
mov eax, 0x12e0be83
mul edx
mov eax, dword [ebp - 0x44]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x48], eax
cmp eax, 4
jae 0x10035bcb
cmp byte [ecx + 4], 0x2d
jae 0x10035bcb
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035bc6
mov eax, 0x10624dd3
mov esi, dword [0x10077bf0]
mul dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
shr edx, 6
sub eax, edx
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
jmp 0x10035bd4
mov esi, dword [ebp - 0x3c]
jmp 0x10035bcd
mov esi, ecx
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xd0]
mov eax, dword [edi + eax + 0x1c]
dec eax
cmp eax, 0x5f5e0fe
ja 0x10035c99
sub esp, 0x18
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.10001d60
mov esi, dword [ebp - 0x54]
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov eax, dword [esi + 0xd0]
add eax, edi
push eax
call fcn.10001d60
mov byte [ebp - 4], 1
call fcn.1000e8d0
add esp, 0x30
test al, al
je 0x10035d78
mov esi, dword [esi + 0xd0]
mov ecx, dword [ebp - 0x18]
add esi, edi
mov dword [ebp - 0x44], ecx
push esi
cmp ecx, dword [ebp - 0x14]
je 0x10035a54
mov dword [ebp - 0x58], ecx
call fcn.10001d60
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
lea eax, [esi + 0x30]
add ecx, 0x30
push eax
call fcn.1000ed20
mov ecx, dword [ebp - 0x44]
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x3c], eax
add dword [ebp - 0x18], 0x40
jmp 0x10035d78
test esi, esi
je 0x10035d78
sub esp, 0x18
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.10001d60
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov edx, esi
push dword [ebp - 0x48]
call fcn.1000ac10
add esp, 4
mov byte [ebp - 4], 1
call fcn.1000e8d0
add esp, 0x30
test al, al
je 0x10035d78
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
mov esi, dword [eax + 0xd0]
add esi, edi
push esi
cmp ecx, dword [ebp - 0x14]
je 0x10035a54
mov dword [ebp - 0x58], ecx
call fcn.10001d60
mov byte [ebp - 4], 6
jmp 0x10035c50
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
add ecx, edi
push ecx
cmp esi, dword [ebp - 0x14]
je 0x10035d6d
mov ecx, esi
mov dword [ebp - 0x58], esi
call fcn.10001d60
mov edx, dword [ebp - 0x3c]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
add edx, edi
mov eax, dword [edx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edx + 0x30]
push eax
call fcn.1000ed20
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + edi + 0x3c]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 1
add dword [ebp - 0x18], 0x40
jmp 0x10035d78
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.1003b3c0
mov eax, dword [ebp - 0x54]
add edi, 0x40
mov edx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x38], edx
mov esi, dword [eax + 0xd0]
mov ecx, esi
mov eax, dword [eax + 0xd4]
sub eax, esi
mov dword [ebp - 0x48], esi
sar eax, 6
mov dword [ebp - 0x3c], esi
cmp edx, eax
jb 0x100357e0
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 6
test eax, eax
jne 0x10035e53
lea eax, [edi + 0x80]
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x44], eax
mov edi, eax
nop
mov esi, dword [edi]
test esi, esi
je 0x10035dec
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035dec
push eax
mov ecx, esi
call dword [0x10077c24]
add edi, 4
sub dword [ebp - 0x38], 1
jne 0x10035dd0
mov edi, dword [ebp - 0x54]
mov esi, dword [edi + 0xbc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x38], eax
test esi, esi
je 0x10035e20
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035e20
push dword [ebp - 0x38]
mov ecx, esi
call dword [0x10077c8c]
mov esi, dword [ebp - 0x1c]
mov dword [edi + 0x18], 1
test esi, esi
je 0x10036c12
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x10036bd1
nop dword [eax]
mov ecx, esi
call fcn.1003c890
add esi, 0x40
cmp esi, edi
jne 0x10035e40
jmp 0x10036bce
mov edx, dword [ebp - 0x18]
push 0x1002ceb0
push eax
call fcn.1003aba0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 6
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10079240]
divsd xmm0, qword [0x10078c68]
movsd qword [ebp - 0x5c], xmm0
fld qword [ebp - 0x5c]
fstp qword [esp]
call fcn.10068750
add esp, 8
fstp qword [ebp - 0x5c]
movsd xmm0, qword [ebp - 0x5c]
call fcn.100241c0
cvttsd2si eax, xmm0
or ecx, 0xffffffff
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x58], eax
lea esi, [eax - 0xc]
mov dword [ebp - 0x44], esi
cmp esi, eax
jge 0x10036b85
nop word [eax + eax]
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 0xb
jg 0x10036b85
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 6
dec eax
cmp esi, eax
jle 0x10035f11
mov esi, dword [edi + ecx*4 + 0x80]
test esi, esi
je 0x10036b75
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b72
push eax
jmp 0x10036b6a
mov eax, dword [ebp - 0x1c]
mov ecx, esi
shl ecx, 6
mov dword [ebp - 0x4c], ecx
mov edx, dword [ecx + eax + 0x1c]
test edx, edx
jne 0x10035f28
xor esi, esi
jmp 0x10035f46
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [ebp - 0x4c]
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], esi
mov edx, dword [ecx + eax + 0x1c]
mov dword [ebp - 0x38], edx
lea ecx, [edx - 1]
cmp ecx, 0x5f5e0fe
ja 0x10036320
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
shl esi, 6
mov dword [ebp - 0x40], esi
mov ecx, dword [edx + eax + 0x18]
mov eax, dword [edi + 0xc4]
mov dword [esi + eax], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + eax + 0x1c]
mov eax, dword [edi + 0xc4]
mov dword [esi + eax + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edi + 0xc4]
add ecx, 0x30
mov edx, dword [ebp - 0x1c]
add eax, 8
add eax, esi
add ecx, edx
mov dword [ebp - 0x38], eax
cmp eax, ecx
je 0x10035fc0
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x38]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.1000ed90
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0xc4]
mov esi, dword [esi + eax + 0x20]
test esi, esi
je 0x10035fee
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035fee
push dword [ebp - 0x38]
mov ecx, esi
call dword [0x10077c88]
mov esi, dword [edi + 0xc4]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + esi + 0xc]
sub edx, dword [eax + esi + 8]
sar edx, 2
call fcn.1000e5c0
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + esi + 8]
mov edx, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x48], edx
test edx, edx
je 0x10036296
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul edx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x38], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x10036296
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 0xc
cmp dword [esi], 0
je 0x10036137
mov esi, dword [ebp - 0x48]
mov eax, 0x12e0be83
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x10036137
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 4], 0x2d
jae 0x10036137
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036137
sub esi, dword [ebp - 0x38]
mov edx, dword [0x10077bf0]
imul eax, esi, 0x3e8
add eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call edx
mov dword [ebp - 0x38], eax
mov esi, eax
test eax, eax
je 0x10036139
cmp dword [eax + 0x3c], 0
je 0x10036139
push dword [ebp - 0x48]
xor edx, edx
lea ecx, [ebp - 0x88]
push eax
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10036132
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036128
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov esi, dword [ebp - 0x38]
jmp 0x1003618f
xor esi, esi
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x88]
push 0
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x1003618f
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036185
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + eax + 0x38]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10036237
add eax, 4
je 0x100361cc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100361c9
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ecx + 4]
call dword [0x10077bfc]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi + 0xc4]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + eax + 0x38]
mov dword [eax + 0x60], edx
mov eax, dword [edi + 0xc4]
mov eax, dword [ecx + eax + 0x38]
mov dword [eax + 0x64], esi
mov eax, dword [edi + 0xc4]
mov eax, dword [ecx + eax + 0x38]
mov dword [eax + 0x68], 0
test esi, esi
je 0x1003620a
movsx ecx, word [esi + 0x4e]
movsx eax, word [edx + 0x5e]
add ecx, eax
jmp 0x1003620e
movsx ecx, word [edx + 0x5e]
mov eax, dword [edi + 0xc4]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + eax + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + eax + 0x2c]
mov eax, dword [edi + 0xc4]
mov eax, dword [edx + eax + 0x38]
mov dword [eax + 0x44], ecx
mov ecx, edx
mov eax, dword [edi + 0xc4]
mov esi, dword [ecx + eax + 0x34]
test esi, esi
je 0x1003625e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003625e
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x10077c58]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10036296
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003628c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + edx + 0x28]
cmp eax, 1
jne 0x10036772
mov byte [ebp - 4], 0xf
mov edx, dword [ecx + edx + 0x24]
lea ecx, [ebp - 0x34]
call fcn.1000efc0
or dword [ebp - 0x8c], 1
mov eax, 3
mov edx, dword [ebp - 0x24]
mov edi, edx
mov dword [ebp - 0x38], eax
cmp edi, eax
jle 0x10036684
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10036c64
mov esi, dword [ebp - 0x20]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1003665c
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004bc10
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1003666e
test esi, esi
jne 0x1003632c
mov ecx, dword [ebp - 0x50]
jmp 0x10035eeb
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 0xd
cmp dword [esi], 0
je 0x10036433
test edx, edx
je 0x10036433
mov edi, dword [ebp - 0x38]
mov eax, 0x12e0be83
mul edx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x10036433
cmp byte [esi + 4], 0x2d
jae 0x10036433
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036433
mov esi, dword [0x10077bf0]
mov eax, 0x10624dd3
mul dword [ebp - 0x38]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
mov edi, dword [ebp - 0x3c]
movzx ecx, byte [edi + 4]
add eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov ecx, eax
mov dword [ebp - 0x38], ecx
mov esi, ecx
test ecx, ecx
je 0x10036438
cmp dword [ecx + 0x3c], 0
je 0x10036438
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x4c]
push dword [edx + eax + 0x1c]
xor edx, edx
push ecx
lea ecx, [ebp - 0x88]
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x1003642e
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036424
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov esi, dword [ebp - 0x38]
jmp 0x10036494
mov edi, dword [ebp - 0x3c]
xor esi, esi
mov eax, dword [ebp - 0x1c]
mov edx, edi
mov ecx, dword [ebp - 0x4c]
push dword [ecx + eax + 0x1c]
lea ecx, [ebp - 0x88]
push 0
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10036494
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003648a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
shl edx, 6
mov dword [ebp - 0x40], edx
mov ecx, dword [ecx + eax + 0x18]
mov eax, dword [edi + 0xc4]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + eax + 0x1c]
mov eax, dword [edi + 0xc4]
mov dword [eax + edx + 4], ecx
mov eax, dword [edi + 0xc4]
mov eax, dword [eax + edx + 0x38]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1003656d
add eax, 4
je 0x10036501
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100364fe
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ecx + 4]
call dword [0x10077bfc]
mov edx, dword [ebp - 0x40]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + edx + 0x38]
mov dword [eax + 0x60], ecx
mov eax, dword [edi + 0xc4]
mov eax, dword [eax + edx + 0x38]
mov dword [eax + 0x64], esi
mov eax, dword [edi + 0xc4]
mov eax, dword [eax + edx + 0x38]
mov dword [eax + 0x68], 0
test esi, esi
je 0x1003653f
movsx edx, word [esi + 0x4e]
movsx eax, word [ecx + 0x5e]
add edx, eax
jmp 0x10036543
movsx edx, word [ecx + 0x5e]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + ecx + 0x38]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ecx + eax + 0x2c]
mov eax, dword [edi + 0xc4]
mov eax, dword [eax + edx + 0x38]
mov dword [eax + 0x44], ecx
mov eax, dword [edi + 0xc4]
mov eax, dword [edx + eax + 0x34]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10036598
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036598
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call dword [0x10077c58]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x88]
push esi
call fcn.1000ac10
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 0xc4]
mov eax, dword [ebp - 0x40]
mov esi, dword [ecx + eax + 0x20]
test esi, esi
je 0x100365da
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100365da
push dword [ebp - 0x38]
mov ecx, esi
call dword [0x10077c88]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10036615
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003660b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x10036296
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036647
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
mov esi, dword [ebp - 0x40]
add esp, 8
mov dword [ebp - 0x40], esi
jmp 0x10036299
push 0x2e
push 1
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
push 1
call fcn.10008340
mov eax, dword [ebp - 0x38]
inc edi
add eax, 4
mov dword [ebp - 0x38], eax
cmp edi, eax
jle 0x10036684
mov edx, dword [ebp - 0x24]
jmp 0x100362d8
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
movaps xmm0, xmmword [str.sSS80S]
cmova eax, dword [ebp - 0x34]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x60], 0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0xf
jb 0x100366a1
sub esp, 0x18
mov byte [ebp - 0x60], 0
mov edx, esp
lea ecx, [ebp - 0x6f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100366d1
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x88]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x54]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x50]
shl edx, 6
mov ecx, dword [edi + 0xc4]
mov esi, dword [edx + ecx + 0x24]
test esi, esi
je 0x1003672b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003672b
push dword [ebp - 0x38]
mov ecx, esi
call dword [0x10077c88]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10036766
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003675c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
and dword [ebp - 0x8c], 0xfffffffe
jmp 0x10036870
cmp eax, 2
jne 0x100368bd
mov edx, dword [ecx + edx + 0x24]
push ecx
lea ecx, [ebp - 0x34]
call fcn.1000eae0
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0xf
jbe 0x10036797
mov eax, dword [eax]
movaps xmm0, xmmword [0x100793f0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x60], 0
nop dword [eax]
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0xf
jb 0x100367b0
sub esp, 0x18
mov byte [ebp - 0x60], 0
mov edx, esp
lea ecx, [ebp - 0x6f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x38], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100367e3
sub ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x88]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [edi + 0xc4]
mov esi, dword [esi + ecx + 0x24]
test esi, esi
je 0x10036835
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036835
push dword [ebp - 0x38]
mov ecx, esi
call dword [0x10077c88]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10036870
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036866
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
cmp ecx, 0xf
jbe 0x100368bd
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100368b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x34]
mov edx, dword [eax + edx + 0x20]
call fcn.1000eae0
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 0xf
jbe 0x100368df
mov eax, dword [eax]
movaps xmm0, xmmword [0x10079170]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x60], 0x63
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x10
jb 0x100368f3
sub esp, 0x18
mov byte [ebp - 0x5f], 0
mov edx, esp
lea ecx, [ebp - 0x6f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036923
sub ecx, esi
lea eax, [ebp - 0x6f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x88]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [edi + 0xc4]
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + ecx + 0x28]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1003697b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003697b
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
call dword [0x10077c88]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x100369b6
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100369ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x10036a03
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100369f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [0x10085030]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test eax, eax
je 0x10036acf
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + ecx + 0x28]
cmp edx, 1
jne 0x10036a36
mov eax, dword [eax + 0x4c]
jmp 0x10036a42
cmp edx, 2
jne 0x10036acf
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0x4c]
cmp eax, dword [edx + ecx + 0x24]
jae 0x10036acf
mov esi, dword [edi + 0xc4]
mov eax, dword [ebp - 0x40]
mov esi, dword [eax + esi + 0x24]
test esi, esi
je 0x10036a7a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036a7a
push 0xfff78dad
mov ecx, esi
call dword [0x10077c90]
mov eax, dword [edi + 0xc4]
mov esi, dword [ebp - 0x40]
mov esi, dword [esi + eax + 0x2c]
test esi, esi
je 0x10036aa5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036aa5
lea ecx, [esi + 0xb8]
mov dl, 7
call fcn.1000f2f0
mov eax, dword [edi + 0xc4]
mov esi, dword [ebp - 0x40]
mov esi, dword [esi + eax + 0x30]
test esi, esi
je 0x10036b4d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b4d
mov dl, 7
jmp 0x10036b42
mov eax, dword [edi + 0xc4]
mov esi, dword [esi + eax + 0x24]
test esi, esi
je 0x10036af7
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036af7
push 0xff92fcaf
mov ecx, esi
call dword [0x10077c90]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x40]
mov esi, dword [ecx + eax + 0x2c]
test esi, esi
je 0x10036b22
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b22
lea ecx, [esi + 0xb8]
mov dl, 2
call fcn.1000f2f0
mov eax, dword [edi + 0xc4]
mov esi, dword [ebp - 0x40]
mov esi, dword [esi + eax + 0x30]
test esi, esi
je 0x10036b4d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b4d
mov dl, 2
lea ecx, [esi + 0xb8]
call fcn.1000f2f0
mov ecx, dword [ebp - 0x50]
mov esi, dword [edi + ecx*4 + 0x80]
test esi, esi
je 0x10036b75
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036b72
push 1
mov ecx, esi
call dword [0x10077c24]
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x44]
inc esi
mov dword [ebp - 0x44], esi
cmp esi, dword [ebp - 0x58]
jl 0x10035ed0
mov esi, dword [edi + 0xbc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x58], eax
test esi, esi
je 0x10036bad
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036bad
push dword [ebp - 0x58]
mov ecx, esi
call dword [0x10077c8c]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10036c12
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x10036bce
nop dword [eax + eax]
mov ecx, esi
call fcn.1003c890
add esi, 0x40
cmp esi, edi
jne 0x10036bc0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x10036bf3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push esi
call fcn.1004a076
mov dword [ebp - 0x14], 0
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x10036c42
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036c38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036c5f
push ecx
push edx
call fcn.1004a076
add esp, 8
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.1004a015
mov esp, ebp
pop ebp
ret 0x20
call fcn.1004f344
call fcn.10007480
int3