Function at 0x1004e830
Capabilities:
Encode data using xor

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 0x10068943
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1007c040]
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, ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0
call fcn.1004e350
xor ecx, ecx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xd0]
mov eax, dword [edi + 0xd4]
sub eax, esi
mov dword [ebp - 0x3c], ecx
sar eax, 6
mov dword [ebp - 0x4c], esi
test eax, eax
je 0x1004ee9c
mov ecx, esi
xor edi, edi
mov dword [ebp - 0x40], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x1004ebb5
lea edx, [ebp - 0x53]
mov word [ebp - 0x54], 8
mov byte [ebp - 0x53], 0
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004e8f0
sub edx, ecx
lea eax, [ebp - 0x53]
cmp dword [ebx + 0x24], 0xf
lea ecx, [ebx + 0x10]
push edx
cmova ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x20]
push eax
call fcn.10010e30
add esp, 8
test al, al
je 0x1004e98e
mov edx, dword [ebx + 0xc]
lea ecx, [edi + esi]
cmp dword [ecx + 0x3c], edx
jne 0x1004ee68
mov esi, dword [ebp - 0x1c]
push ecx
cmp esi, dword [ebp - 0x18]
je 0x1004ee5d
mov ecx, esi
mov dword [ebp - 0x5c], esi
call fcn.10004c40
mov edx, dword [ebp - 0x4c]
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.10010ea0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + edi + 0x3c]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 1
add dword [ebp - 0x1c], 0x40
jmp 0x1004ee68
lea edx, [ebp - 0x4f]
mov word [ebp - 0x50], 0x51
mov byte [ebp - 0x4f], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1004e9a0
sub edx, ecx
lea eax, [ebp - 0x4f]
cmp dword [ebx + 0x24], 0xf
lea ecx, [ebx + 0x10]
push edx
cmova ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x20]
push eax
call fcn.10010e30
add esp, 8
test al, al
jne 0x1004edf8
mov eax, dword [ebp - 0x40]
mov edx, dword [ebx + 0xc]
cmp dword [edi + eax + 0x3c], edx
jne 0x1004ee68
mov edx, dword [edi + eax + 0x1c]
test edx, edx
jne 0x1004ea7f
xor eax, eax
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0xd0]
mov eax, dword [edi + eax + 0x1c]
test eax, eax
je 0x1004eb4a
cmp eax, 0x5f5e100
jae 0x1004eb4a
sub esp, 0x18
lea eax, [ebx + 0x10]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.10004c40
mov esi, dword [ebp - 0x58]
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov eax, dword [esi + 0xd0]
add eax, edi
push eax
call fcn.10004c40
mov byte [ebp - 4], 1
call fcn.10010a50
add esp, 0x30
test al, al
je 0x1004ee68
mov esi, dword [esi + 0xd0]
mov ecx, dword [ebp - 0x1c]
add esi, edi
mov dword [ebp - 0x48], ecx
push esi
cmp ecx, dword [ebp - 0x18]
je 0x1004eb44
mov dword [ebp - 0x5c], ecx
call fcn.10004c40
mov byte [ebp - 4], 8
jmp 0x1004ed40
mov ecx, dword [0x10073588]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [ebp - 0x58]
mov esi, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov ecx, dword [ecx + 0xd0]
mov ecx, dword [edi + ecx + 0x1c]
mov dword [ebp - 0x40], ecx
test esi, esi
je 0x1004e9ed
cmp dword [esi], 0
mov dword [ebp - 0x4c], esi
je 0x1004e9ed
test ecx, ecx
je 0x1004e9f0
mov eax, 0x12e0be83
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x4c], eax
cmp eax, 4
jae 0x1004e9f0
cmp byte [esi + 4], 0x2d
jae 0x1004e9f0
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004e9f0
mov eax, 0x10624dd3
mov esi, dword [0x1007358c]
mul dword [ebp - 0x40]
mov eax, dword [ebp - 0x4c]
shr edx, 6
sub eax, edx
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
jmp 0x1004e9f7
push ecx
jmp 0x1004ee60
test esi, esi
je 0x1004ee68
sub esp, 0x18
lea eax, [ebx + 0x10]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.10004c40
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov edx, esi
push dword [ebp - 0x40]
call fcn.1000ce60
add esp, 4
mov byte [ebp - 4], 1
call fcn.10010a50
add esp, 0x30
test al, al
je 0x1004ee68
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
mov esi, dword [eax + 0xd0]
add esi, edi
push esi
cmp ecx, dword [ebp - 0x18]
je 0x1004eb44
mov dword [ebp - 0x5c], ecx
call fcn.10004c40
mov byte [ebp - 4], 0xa
jmp 0x1004ed40
jne 0x1004edfb
lea edx, [ebp - 0x43]
mov word [ebp - 0x44], 0x3f
mov byte [ebp - 0x43], 0
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004ebd0
sub edx, ecx
lea eax, [ebp - 0x43]
cmp dword [ebx + 0x24], 0xf
lea ecx, [ebx + 0x10]
push edx
cmova ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x20]
push eax
call fcn.10010e30
add esp, 8
test al, al
jne 0x1004edf8
mov edx, dword [ebp - 0x40]
mov edx, dword [edi + edx + 0x1c]
test edx, edx
jne 0x1004ec0e
xor esi, esi
jmp 0x1004ecbd
mov ecx, dword [0x10073588]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0xd0]
mov edx, dword [edi + ecx + 0x1c]
mov ecx, dword [ebp - 0x40]
mov esi, ecx
mov dword [ebp - 0x48], edx
test ecx, ecx
je 0x1004ecbd
cmp dword [ecx], 0
je 0x1004ecbd
test edx, edx
je 0x1004ecbb
mov eax, 0x12e0be83
mul edx
mov eax, dword [ebp - 0x48]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x4c], eax
cmp eax, 4
jae 0x1004ecbb
cmp byte [ecx + 4], 0x2d
jae 0x1004ecbb
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ecb6
mov eax, 0x10624dd3
mov esi, dword [0x1007358c]
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
shr edx, 6
sub eax, edx
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x40]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
jmp 0x1004ecc4
mov esi, dword [ebp - 0x40]
jmp 0x1004ecbd
mov esi, ecx
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0xd0]
mov eax, dword [edi + eax + 0x1c]
dec eax
cmp eax, 0x5f5e0fe
ja 0x1004ed89
sub esp, 0x18
lea eax, [ebx + 0x10]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.10004c40
mov esi, dword [ebp - 0x58]
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov eax, dword [esi + 0xd0]
add eax, edi
push eax
call fcn.10004c40
mov byte [ebp - 4], 1
call fcn.10010a50
add esp, 0x30
test al, al
je 0x1004ee68
mov esi, dword [esi + 0xd0]
mov ecx, dword [ebp - 0x1c]
add esi, edi
mov dword [ebp - 0x48], ecx
push esi
cmp ecx, dword [ebp - 0x18]
je 0x1004eb44
mov dword [ebp - 0x5c], ecx
call fcn.10004c40
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
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.10010ea0
mov ecx, dword [ebp - 0x48]
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x3c], eax
add dword [ebp - 0x1c], 0x40
jmp 0x1004ee68
test esi, esi
je 0x1004ee68
sub esp, 0x18
lea eax, [ebx + 0x10]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.10004c40
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov edx, esi
push dword [ebp - 0x4c]
call fcn.1000ce60
add esp, 4
mov byte [ebp - 4], 1
call fcn.10010a50
add esp, 0x30
test al, al
je 0x1004ee68
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
mov esi, dword [eax + 0xd0]
add esi, edi
push esi
cmp ecx, dword [ebp - 0x18]
je 0x1004eb44
mov dword [ebp - 0x5c], ecx
call fcn.10004c40
mov byte [ebp - 4], 6
jmp 0x1004ed40
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
add ecx, edi
push ecx
cmp esi, dword [ebp - 0x18]
je 0x1004ee5d
mov ecx, esi
mov dword [ebp - 0x5c], esi
call fcn.10004c40
mov edx, dword [ebp - 0x40]
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.10010ea0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + edi + 0x3c]
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], 1
add dword [ebp - 0x1c], 0x40
jmp 0x1004ee68
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.10054600
mov eax, dword [ebp - 0x58]
add edi, 0x40
mov edx, dword [ebp - 0x3c]
inc edx
mov dword [ebp - 0x3c], edx
mov esi, dword [eax + 0xd0]
mov ecx, esi
mov eax, dword [eax + 0xd4]
sub eax, esi
mov dword [ebp - 0x4c], esi
sar eax, 6
mov dword [ebp - 0x40], esi
cmp edx, eax
jb 0x1004e8d0
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 6
test eax, eax
jne 0x1004ef43
lea eax, [edi + 0x80]
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x48], eax
mov edi, eax
nop
mov esi, dword [edi]
test esi, esi
je 0x1004eedc
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004eedc
push eax
mov ecx, esi
call dword [0x100735d4]
add edi, 4
sub dword [ebp - 0x3c], 1
jne 0x1004eec0
mov edi, dword [ebp - 0x58]
mov esi, dword [edi + 0xbc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x1004ef10
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ef10
push dword [ebp - 0x3c]
mov ecx, esi
call dword [0x1007363c]
mov esi, dword [ebp - 0x20]
mov dword [edi + 0x18], 1
test esi, esi
je 0x1004fcfa
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1004fcb9
nop dword [eax]
mov ecx, esi
call fcn.10055ac0
add esi, 0x40
cmp esi, edi
jne 0x1004ef30
jmp 0x1004fcb6
mov edx, dword [ebp - 0x1c]
push 0x10045190
push eax
call fcn.10053c60
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 6
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100752a0]
divsd xmm0, qword [0x10074700]
movsd qword [ebp - 0x60], xmm0
fld qword [ebp - 0x60]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp qword [ebp - 0x60]
movsd xmm0, qword [ebp - 0x60]
call fcn.10036980
cvttsd2si eax, xmm0
or ecx, 0xffffffff
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 8]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x5c], eax
lea esi, [eax - 0xc]
mov dword [ebp - 0x48], esi
cmp esi, eax
jge 0x1004fc72
nop word [eax + eax]
inc ecx
mov dword [ebp - 0x54], ecx
cmp ecx, 0xb
jg 0x1004fc72
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 6
dec eax
cmp esi, eax
jle 0x1004f001
mov esi, dword [edi + ecx*4 + 0x80]
test esi, esi
je 0x1004fc62
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fc5f
push eax
jmp 0x1004fc57
mov eax, dword [ebp - 0x20]
mov ecx, esi
shl ecx, 6
mov dword [ebp - 0x50], ecx
mov edx, dword [ecx + eax + 0x1c]
test edx, edx
jne 0x1004f018
xor esi, esi
jmp 0x1004f036
mov ecx, dword [0x10073588]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [ebp - 0x50]
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], esi
mov edx, dword [ecx + eax + 0x1c]
mov dword [ebp - 0x3c], edx
lea ecx, [edx - 1]
cmp ecx, 0x5f5e0fe
ja 0x1004f410
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
shl esi, 6
mov dword [ebp - 0x44], esi
mov ecx, dword [edx + eax + 0x18]
mov eax, dword [edi + 0xc4]
mov dword [esi + eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + eax + 0x1c]
mov eax, dword [edi + 0xc4]
mov dword [esi + eax + 4], ecx
mov ecx, dword [ebp - 0x50]
mov eax, dword [edi + 0xc4]
add ecx, 0x30
mov edx, dword [ebp - 0x20]
add eax, 8
add eax, esi
add ecx, edx
mov dword [ebp - 0x3c], eax
cmp eax, ecx
je 0x1004f0b0
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x3c]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.10010fb0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0xc4]
mov esi, dword [esi + eax + 0x20]
test esi, esi
je 0x1004f0de
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f0de
push dword [ebp - 0x3c]
mov ecx, esi
call dword [0x10073638]
mov esi, dword [edi + 0xc4]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + esi + 0xc]
sub edx, dword [eax + esi + 8]
sar edx, 2
call fcn.10010740
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + esi + 8]
mov edx, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x1004f386
mov ecx, dword [0x10073588]
mov eax, 0x10624dd3
mul edx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x3c], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x1004f386
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0xc
cmp dword [esi], 0
je 0x1004f227
mov esi, dword [ebp - 0x4c]
mov eax, 0x12e0be83
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x1004f227
mov eax, dword [ebp - 0x40]
cmp byte [eax + 4], 0x2d
jae 0x1004f227
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f227
sub esi, dword [ebp - 0x3c]
mov edx, dword [0x1007358c]
imul eax, esi, 0x3e8
add eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x40]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call edx
mov dword [ebp - 0x3c], eax
mov esi, eax
test eax, eax
je 0x1004f229
cmp dword [eax + 0x3c], 0
je 0x1004f229
push dword [ebp - 0x4c]
xor edx, edx
lea ecx, [ebp - 0x8c]
push eax
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004f222
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f218
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [ebp - 0x3c]
jmp 0x1004f27f
xor esi, esi
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push 0
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004f27f
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f275
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + eax + 0x38]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1004f327
add eax, 4
je 0x1004f2bc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f2b9
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ecx + 4]
call dword [0x1007359c]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edi + 0xc4]
mov edx, dword [ebp - 0x40]
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 0x1004f2fa
movsx ecx, word [esi + 0x4e]
movsx eax, word [edx + 0x5e]
add ecx, eax
jmp 0x1004f2fe
movsx ecx, word [edx + 0x5e]
mov eax, dword [edi + 0xc4]
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + eax + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
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 0x1004f34e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f34e
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call dword [0x10073608]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1004f386
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f37c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + edx + 0x28]
cmp eax, 1
jne 0x1004f861
mov byte [ebp - 4], 0xf
mov edx, dword [ecx + edx + 0x24]
lea ecx, [ebp - 0x38]
call fcn.10011370
or dword [ebp - 0x90], 1
mov eax, 3
mov edx, dword [ebp - 0x28]
mov edi, edx
mov dword [ebp - 0x3c], eax
cmp edi, eax
jle 0x1004f772
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x1004fd50
mov esi, dword [ebp - 0x24]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x1004f74c
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x1004f75c
test esi, esi
jne 0x1004f41c
mov ecx, dword [ebp - 0x54]
jmp 0x1004efdb
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0xd
cmp dword [esi], 0
je 0x1004f523
test edx, edx
je 0x1004f523
mov edi, dword [ebp - 0x3c]
mov eax, 0x12e0be83
mul edx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x1004f523
cmp byte [esi + 4], 0x2d
jae 0x1004f523
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f523
mov esi, dword [0x1007358c]
mov eax, 0x10624dd3
mul dword [ebp - 0x3c]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
mov edi, dword [ebp - 0x40]
movzx ecx, byte [edi + 4]
add eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov ecx, eax
mov dword [ebp - 0x3c], ecx
mov esi, ecx
test ecx, ecx
je 0x1004f528
cmp dword [ecx + 0x3c], 0
je 0x1004f528
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x50]
push dword [edx + eax + 0x1c]
xor edx, edx
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004f51e
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f514
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [ebp - 0x3c]
jmp 0x1004f584
mov edi, dword [ebp - 0x40]
xor esi, esi
mov eax, dword [ebp - 0x20]
mov edx, edi
mov ecx, dword [ebp - 0x50]
push dword [ecx + eax + 0x1c]
lea ecx, [ebp - 0x8c]
push 0
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004f584
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f57a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
shl edx, 6
mov dword [ebp - 0x44], edx
mov ecx, dword [ecx + eax + 0x18]
mov eax, dword [edi + 0xc4]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
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 - 0x3c], eax
test eax, eax
je 0x1004f65d
add eax, 4
je 0x1004f5f1
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f5ee
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ecx + 4]
call dword [0x1007359c]
mov edx, dword [ebp - 0x44]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x40]
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 0x1004f62f
movsx edx, word [esi + 0x4e]
movsx eax, word [ecx + 0x5e]
add edx, eax
jmp 0x1004f633
movsx edx, word [ecx + 0x5e]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax + ecx + 0x38]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x44]
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 - 0x3c], eax
test eax, eax
je 0x1004f688
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f688
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
call dword [0x10073608]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push esi
call fcn.1000ce60
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 0xc4]
mov eax, dword [ebp - 0x44]
mov esi, dword [ecx + eax + 0x20]
test esi, esi
je 0x1004f6ca
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f6ca
push dword [ebp - 0x3c]
mov ecx, esi
call dword [0x10073638]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004f705
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f6fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1004f386
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f737
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
mov esi, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0x44], esi
jmp 0x1004f389
sub esp, 8
push ecx
push dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10011210
mov eax, dword [ebp - 0x3c]
inc edi
add eax, 4
mov dword [ebp - 0x3c], eax
cmp edi, eax
jle 0x1004f772
mov edx, dword [ebp - 0x28]
jmp 0x1004f3c8
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
movaps xmm0, xmmword [0x10074b20]
cmova eax, dword [ebp - 0x38]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x64], 0
nop
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0xf
jb 0x1004f790
sub esp, 0x18
mov byte [ebp - 0x64], 0
mov edx, esp
lea ecx, [ebp - 0x73]
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 0x1004f7c0
sub ecx, esi
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x8c]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp - 0x58]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x54]
shl edx, 6
mov ecx, dword [edi + 0xc4]
mov esi, dword [edx + ecx + 0x24]
test esi, esi
je 0x1004f81a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f81a
push dword [ebp - 0x3c]
mov ecx, esi
call dword [0x10073638]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004f855
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f84b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
and dword [ebp - 0x90], 0xfffffffe
jmp 0x1004f95d
cmp eax, 2
jne 0x1004f9aa
mov edx, dword [ecx + edx + 0x24]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10010c60
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0xf
jbe 0x1004f886
mov eax, dword [eax]
movaps xmm0, xmmword [0x10075210]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x64], 0
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0xf
jb 0x1004f898
sub esp, 0x18
mov byte [ebp - 0x64], 0
mov edx, esp
lea ecx, [ebp - 0x73]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f8d0
sub ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x8c]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [edi + 0xc4]
mov esi, dword [esi + ecx + 0x24]
test esi, esi
je 0x1004f922
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f922
push dword [ebp - 0x3c]
mov ecx, esi
call dword [0x10073638]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004f95d
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f953
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x1004f9aa
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004f9a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x38]
mov edx, dword [eax + edx + 0x20]
call fcn.10010c60
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 0xf
jbe 0x1004f9cc
mov eax, dword [eax]
movaps xmm0, xmmword [0x100755d0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x64], 0x31
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x10
jb 0x1004f9e0
sub esp, 0x18
mov byte [ebp - 0x63], 0
mov edx, esp
lea ecx, [ebp - 0x73]
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 0x1004fa10
sub ecx, esi
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x8c]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [edi + 0xc4]
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + ecx + 0x28]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1004fa68
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fa68
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
call dword [0x10073638]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004faa3
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fa99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x1004faf0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fae6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [0x1007f860]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test eax, eax
je 0x1004fbbc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + ecx + 0x28]
cmp edx, 1
jne 0x1004fb23
mov eax, dword [eax + 0x4c]
jmp 0x1004fb2f
cmp edx, 2
jne 0x1004fbbc
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0x50]
cmp eax, dword [edx + ecx + 0x24]
jae 0x1004fbbc
mov esi, dword [edi + 0xc4]
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + esi + 0x24]
test esi, esi
je 0x1004fb67
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fb67
push 0xfff78dad
mov ecx, esi
call dword [0x10073640]
mov eax, dword [edi + 0xc4]
mov esi, dword [ebp - 0x44]
mov esi, dword [esi + eax + 0x2c]
test esi, esi
je 0x1004fb92
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fb92
lea ecx, [esi + 0xb8]
mov dl, 7
call fcn.10012f70
mov eax, dword [edi + 0xc4]
mov esi, dword [ebp - 0x44]
mov esi, dword [esi + eax + 0x30]
test esi, esi
je 0x1004fc3a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fc3a
mov dl, 7
jmp 0x1004fc2f
mov eax, dword [edi + 0xc4]
mov esi, dword [esi + eax + 0x24]
test esi, esi
je 0x1004fbe4
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fbe4
push 0xff92fcaf
mov ecx, esi
call dword [0x10073640]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x44]
mov esi, dword [ecx + eax + 0x2c]
test esi, esi
je 0x1004fc0f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fc0f
lea ecx, [esi + 0xb8]
mov dl, 2
call fcn.10012f70
mov eax, dword [edi + 0xc4]
mov esi, dword [ebp - 0x44]
mov esi, dword [esi + eax + 0x30]
test esi, esi
je 0x1004fc3a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fc3a
mov dl, 2
lea ecx, [esi + 0xb8]
call fcn.10012f70
mov ecx, dword [ebp - 0x54]
mov esi, dword [edi + ecx*4 + 0x80]
test esi, esi
je 0x1004fc62
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fc5f
push 1
mov ecx, esi
call dword [0x100735d4]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
inc esi
mov dword [ebp - 0x48], esi
cmp esi, dword [ebp - 0x5c]
jl 0x1004efc0
mov esi, dword [edi + 0xbc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x1004fc9a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fc9a
push dword [ebp - 0x5c]
mov ecx, esi
call dword [0x1007363c]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1004fcfa
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1004fcb6
mov ecx, esi
call fcn.10055ac0
add esi, 0x40
cmp esi, edi
jne 0x1004fca8
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x1004fcdb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fd20
push ecx
push esi
call fcn.100641c5
mov dword [ebp - 0x18], 0
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebx + 0x24]
cmp ecx, 0xf
jbe 0x1004fd30
mov edx, dword [ebx + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fd26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004fd26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
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.10064164
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
call fcn.100105e0
int3