Function at 0x1004a370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080c68
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x10091040]
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 - 0xac], edi
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x1009369c], eax
test esi, esi
je 0x1004b689
cmp dword [ebp + 0xc], 1
jne 0x1004b689
cmp dword [0x100933d4], 0
je 0x1004b689
mov eax, dword [edi + 4]
test eax, eax
je 0x1004a3e5
cmp esi, eax
jne 0x1004a3e5
call fcn.1004c500
mov al, 1
jmp 0x1004b68b
mov eax, dword [edi + 0x138]
test eax, eax
je 0x1004a412
cmp esi, eax
jne 0x1004a412
mov eax, dword [edi + 0x148]
cmp eax, 1
jbe 0x1004a40b
dec eax
push eax
mov dword [edi + 0x148], eax
call fcn.1004e470
mov al, 1
jmp 0x1004b68b
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x1004a442
cmp esi, eax
jne 0x1004a442
mov eax, dword [edi + 0x148]
cmp eax, dword [edi + 0x14c]
jae 0x1004a40b
inc eax
push eax
mov dword [edi + 0x148], eax
call fcn.1004e470
mov al, 1
jmp 0x1004b68b
mov ecx, dword [edi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x15c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004a40b
movaps xmm1, xmmword [0x100894d0]
xor cl, cl
mov byte [ebp - 0x71], cl
nop dword [eax]
movzx ecx, cl
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*8 + 0x30]
test eax, eax
je 0x1004b66e
cmp esi, eax
jne 0x1004b66e
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x8c], 0
mov esi, dword [edi + eax*8 + 0x1c]
mov eax, 0x4ec4ec4f
mov ecx, dword [edi + 0x160]
sub ecx, dword [edi + 0x15c]
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ecx, ecx
jle 0x1004b66b
mov eax, dword [edi + 0x15c]
mov edx, dword [ebp - 0x8c]
add eax, 0x18
nop
cmp dword [eax], esi
je 0x1004a4e7
inc edx
add eax, 0x68
mov dword [ebp - 0x8c], edx
cmp edx, ecx
jl 0x1004a4d0
jmp 0x1004b66b
imul ecx, edx, 0x68
mov dword [edi + 0x144], esi
mov eax, dword [edi + 0x15c]
mov dword [ebp - 0xb0], 0xffffffff
cmp byte [ecx + eax + 0x64], 2
jne 0x1004a5e4
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x18], 0xa0c1104
xor ecx, ecx
mov word [ebp - 0x14], 0x380b
mov byte [ebp - 0x12], 0
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x1004a522
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x27]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a550
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100024a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
mov ecx, dword [edi + 0x7c]
call fcn.10014db0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004a5b3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a5a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x1004a5d5
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call eax
test eax, eax
jne 0x1004a5d5
push 0xff5cb9fe
mov ecx, esi
call dword [0x10088b80]
mov dword [ebp - 0xb0], 0xff808080
jmp 0x1004a76e
mov cl, 0xd
mov dword [ebp - 0xcc], 0x6358560d
mov dword [ebp - 0xc8], 0x2d7f6869
xor eax, eax
mov dword [ebp - 0xc4], 0x50746c7a
mov byte [ebp - 0xc0], 0
nop dword [eax]
xor byte [ebp + eax - 0xcb], cl
inc eax
cmp eax, 0xb
jae 0x1004a625
mov cl, byte [ebp - 0xcc]
jmp 0x1004a610
xorps xmm0, xmm0
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0xcb]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a650
sub ecx, edx
lea eax, [ebp - 0xcb]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100024a0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x7c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x90], esi
test eax, eax
je 0x1004a713
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x1004a713
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a6a6
sub ecx, edx
mov dword [ebp - 0x78], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007d113
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x78]
cmova edx, dword [ebp - 0x90]
lea esi, [edi + 0x20]
push edx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x78]
add esp, 0x1c
mov ecx, dword [ebp - 0x70]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10088b78]
push edi
call fcn.1007d11c
mov edi, dword [ebp - 0xac]
add esp, 4
mov esi, dword [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1004a74d
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004a743
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push esi
call fcn.1007d105
add esp, 8
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x1004a76e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a76e
push 0xffc4fc03
mov ecx, esi
call dword [0x10088b80]
xor al, al
imul edx, dword [ebp - 0x8c], 0x34
mov byte [ebp - 0x5d], al
mov dword [ebp - 0x78], edx
nop dword [eax]
movzx ecx, al
mov eax, dword [edi + 0x15c]
mov dword [ebp - 0x64], ecx
lea esi, [ecx + edx]
cmp word [eax + esi*2 + 0x48], 0
mov dword [ebp - 0x90], esi
je 0x1004afc7
mov byte [ebp - 0x9c], 0x6b
mov al, 0x3e
xor al, byte [ebp - 0x9c]
mov cl, 5
xor dl, dl
mov byte [ebp - 0x9b], al
mov al, byte [ebp - 0x9c]
mov ah, cl
mov ch, 4
mov byte [ebp - 0x94], dl
mov dh, 0x1c
mov byte [ebp - 0x69], ah
xor cl, al
mov byte [ebp - 0x94], 0
xor dl, al
mov byte [ebp - 0x9a], cl
xor ch, al
mov byte [ebp - 0x99], dl
xor dh, al
mov byte [ebp - 0x97], ch
xor ah, al
mov byte [ebp - 0x96], dh
mov al, byte [ebp - 0x69]
lea ecx, [ebp - 0x9b]
xor al, byte [ebp - 0x9c]
lea edx, [ecx + 1]
xorps xmm0, xmm0
mov byte [ebp - 0x98], ah
mov byte [ebp - 0x95], al
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a830
sub ecx, edx
lea eax, [ebp - 0x9b]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.100024a0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x7b]
xorps xmm0, xmm0
mov word [ebp - 0x7c], 0x18
mov byte [ebp - 0x7b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a875
sub ecx, edx
lea eax, [ebp - 0x7b]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100024a0
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x15c]
movzx eax, word [eax + esi*2 + 0x48]
mov ecx, eax
mov esi, eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x5c], ecx
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x70], esi
push eax
mov ecx, 0x10091114
call fcn.10004f10
mov eax, dword [ebp - 0x124]
mov ecx, dword [0x10091114]
cmp byte [eax + 0xd], 0
jne 0x1004a8d0
cmp esi, dword [eax + 0x10]
jae 0x1004a8d2
mov eax, ecx
cmp eax, ecx
je 0x1004a934
add eax, 0x14
je 0x1004a934
add eax, 4
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x1004a8fa
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1004a8f0
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10003620
mov eax, dword [ebp - 0x64]
lea esi, [eax + eax*4]
mov esi, dword [edi + esi*4 + 0xa8]
test esi, esi
je 0x1004a925
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a922
push 1
mov ecx, esi
call dword [0x10088b1c]
mov eax, dword [ebp - 0x64]
lea esi, [eax + eax*4]
mov esi, dword [edi + esi*4 + 0xac]
jmp 0x1004aab9
cmp word [ebp - 0x5c], 1
jne 0x1004aad3
cmp byte [0x100933e2], 0
mov eax, dword [0x100933d4]
mov dword [ebp - 0x5c], eax
je 0x1004a98f
mov ecx, 0xd78c9c
call fcn.10014f70
mov esi, eax
test esi, esi
je 0x1004a98c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a98c
push 4
add esi, 0x6a0
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a98c
mov ecx, dword [ebp - 0x5c]
mov al, byte [esi]
mov byte [ecx + 0x34], al
mov eax, ecx
jmp 0x1004a98f
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x34], 1
jne 0x1004aa1e
mov byte [ebp - 0xbc], 0x42
mov al, 7
xor al, byte [ebp - 0xbc]
mov cl, 0x2e
xor cl, byte [ebp - 0xbc]
mov dl, 0x62
mov byte [ebp - 0xbb], al
mov dh, 0x30
mov byte [ebp - 0x69], 0x23
mov ah, 0xf
mov al, byte [ebp - 0x69]
mov ch, 0x2d
mov byte [ebp - 0xba], cl
mov cl, byte [ebp - 0xbc]
xor al, cl
mov byte [ebp - 0x5e], 0x26
mov byte [ebp - 0xb5], al
xor dl, cl
mov al, byte [ebp - 0x5e]
xor dh, cl
xor ah, cl
mov byte [ebp - 0xb3], 0
xor ch, cl
mov byte [ebp - 0xb9], dl
xor al, cl
mov byte [ebp - 0xb6], dh
mov byte [ebp - 0xb8], ah
lea edx, [ebp - 0xbb]
mov byte [ebp - 0xb7], ch
mov byte [ebp - 0xb4], al
mov byte [ebp - 0xb3], 0
jmp 0x1004aa6c
mov dh, 0x7c
mov byte [ebp - 0xce], 0
mov dl, 0xe
mov byte [ebp - 0xd4], dh
mov al, 0x37
mov byte [ebp - 0xce], 0
mov cl, 0x1d
mov ah, 9
xor al, dh
xor cl, dh
xor dl, dh
mov byte [ebp - 0xd3], al
xor ah, dh
mov byte [ebp - 0xd1], dl
mov ch, 0xf
mov byte [ebp - 0xd2], cl
xor ch, dh
mov byte [ebp - 0xd0], ah
mov byte [ebp - 0xcf], ch
lea edx, [ebp - 0xd3]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004aa71
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10003620
mov eax, dword [ebp - 0x64]
lea esi, [eax + eax*4]
mov esi, dword [edi + esi*4 + 0xac]
test esi, esi
je 0x1004aaaf
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004aaac
push 1
mov ecx, esi
call dword [0x10088b1c]
mov eax, dword [ebp - 0x64]
lea esi, [eax + eax*4]
mov esi, dword [edi + esi*4 + 0xa8]
test esi, esi
je 0x1004aad3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004aad3
push eax
mov ecx, esi
call dword [0x10088b1c]
cmp dword [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmova edx, dword [ebp - 0x58]
mov ecx, edx
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004aaf8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100024a0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x70], esi
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1004abb7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004abb7
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ab50
sub ecx, edx
mov dword [ebp - 0x5c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007d113
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x5c]
cmova edx, dword [ebp - 0x70]
lea esi, [edi + 0x20]
push edx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x5c]
add esp, 0x1c
mov ecx, dword [ebp - 0x68]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10088b78]
push edi
call fcn.1007d11c
mov edi, dword [ebp - 0xac]
add esp, 4
mov esi, dword [ebp - 0x70]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1004abee
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004abe4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push esi
call fcn.1007d105
add esp, 8
mov eax, dword [ebp - 0x64]
lea esi, [eax + eax*4]
mov esi, dword [edi + esi*4 + 0xb0]
test esi, esi
je 0x1004ac1a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ac1a
push dword [ebp - 0xb0]
mov ecx, esi
call dword [0x10088b80]
mov eax, dword [edi + 0x15c]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x90]
mov byte [ebp - 0xa8], 0x22
mov byte [ebp - 0xa0], 0
mov byte [ebp - 0xa0], 0
movzx ecx, word [eax + edx*2 + 0x58]
movzx eax, word [eax + edx*2 + 0x50]
mov dl, 2
push ecx
push eax
mov al, 7
mov cl, 0x46
mov dh, al
mov byte [ebp - 0x5e], cl
xor al, byte [ebp - 0xa8]
mov ch, dl
mov byte [ebp - 0xa7], al
mov ah, 0xd
mov al, byte [ebp - 0xa8]
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0xa5], dl
xor dh, al
mov byte [ebp - 0xa6], cl
xor ah, al
mov byte [ebp - 0xa2], dh
mov al, byte [ebp - 0x5e]
xor al, byte [ebp - 0xa8]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0xa3], ch
lea ecx, [ebp - 0xa7]
mov byte [ebp - 0xa4], ah
mov byte [ebp - 0xa1], al
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 0x1004acc1
sub ecx, esi
lea eax, [ebp - 0xa7]
push ecx
push eax
mov ecx, edx
call fcn.100024a0
lea eax, [ebp - 0xf0]
push eax
call fcn.10006910
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x1004acf6
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ad10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100024a0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x5c], esi
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 0xb4]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1004adca
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004adca
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ad63
sub ecx, edx
mov dword [ebp - 0x70], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007d113
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x70]
cmova edx, dword [ebp - 0x5c]
lea esi, [edi + 0x20]
push edx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x70]
add esp, 0x1c
mov ecx, dword [ebp - 0x68]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10088b78]
push edi
call fcn.1007d11c
mov edi, dword [ebp - 0xac]
add esp, 4
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1004ae01
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004adf7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push esi
call fcn.1007d105
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0xf
jbe 0x1004ae3f
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ae35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
movzx eax, word [eax + ecx*2 + 0x58]
mov dword [ebp - 0x68], eax
lea eax, [esi + esi*4]
mov esi, dword [edi + eax*4 + 0xb8]
mov byte [ebp - 0xf0], 0
test esi, esi
je 0x1004aec9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004aec9
lea eax, [esi + 0x140]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004aec9
lea eax, [esi + 0x13c]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004aec9
mov dword [esi + 0x140], eax
mov ecx, esi
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x13c], eax
call dword [0x10088b60]
mov eax, dword [edi + 0x15c]
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x64]
movzx esi, word [eax + esi*2 + 0x50]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xb8]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1004af1b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004af1b
mov ecx, dword [ebp - 0x68]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10088b64]
mov eax, dword [ebp - 0x64]
mov esi, dword [edi + eax*4 + 0x84]
test esi, esi
je 0x1004af40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004af40
push 1
mov ecx, esi
call dword [0x10088b1c]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004af78
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004af6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1004afb3
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004afa9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x1004afe8
mov esi, dword [edi + ecx*4 + 0x84]
test esi, esi
je 0x1004afeb
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004afe8
push eax
mov ecx, esi
call dword [0x10088b1c]
mov edx, dword [ebp - 0x78]
mov al, byte [ebp - 0x5d]
inc al
mov byte [ebp - 0x5d], al
cmp al, 4
jb 0x1004a780
xor al, al
imul ecx, dword [ebp - 0x8c], 0x1a
mov byte [ebp - 0x5d], al
mov dword [ebp - 0xd8], ecx
nop dword [eax]
movzx eax, al
add ecx, eax
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x15c]
mov esi, dword [eax + ecx*4 + 0x20]
mov eax, dword [eax + ecx*4 + 0x34]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x64], esi
lea eax, [esi - 1]
cmp eax, 0x5f5e0fe
ja 0x1004b1ce
mov dword [ebp - 0x64], 0x35a4f8a0
mov esi, dword [0x10088ac8]
mov eax, 0x10624dd3
mul dword [ebp - 0x64]
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10014f70
mov ecx, eax
call esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1004b44a
xorps xmm0, xmm0
mov word [ebp - 0x80], 0x7b
lea ecx, [ebp - 0x7f]
mov byte [ebp - 0x7f], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b0a0
sub ecx, edx
lea eax, [ebp - 0x7f]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100024a0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 7
mov cl, byte [eax + 4]
mov byte [ebp - 0x5e], cl
test esi, esi
je 0x1004b1dd
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
mov dword [ebp - 0x68], eax
cmp eax, 4
jae 0x1004b1dd
cmp cl, 0x2d
jae 0x1004b1dd
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b1dd
movzx ecx, byte [ebp - 0x5e]
mov eax, 0x10624dd3
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ecx*4 + 0xd78af0]
mov esi, dword [0x10088acc]
shr edx, 6
sub eax, edx
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x64]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x1004b1e7
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x8c], esi
je 0x1004b1e7
push dword [ebp - 0x64]
xor edx, edx
lea ecx, [ebp - 0x108]
push esi
call fcn.100082f0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000b490
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x1004b1ae
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b1a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
jmp 0x1004b262
test esi, esi
jne 0x1004b044
xor eax, eax
jmp 0x1004b06d
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
jmp 0x1004b1ea
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x120]
push esi
push 0
call fcn.100082f0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000b490
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0xf
jbe 0x1004b241
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b237
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov eax, dword [ebp - 0x78]
lea eax, [eax + eax*2]
mov ecx, dword [edi + eax*4 + 0xf8]
mov dword [ebp - 0x70], eax
test ecx, ecx
je 0x1004b3a6
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.1000edf0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x5c]
mov eax, dword [edi + ecx*4 + 0xf8]
mov dword [eax + 0x50], edx
mov eax, dword [edi + ecx*4 + 0xf8]
mov dword [eax + 0x54], esi
mov eax, dword [edi + ecx*4 + 0xf8]
mov edi, dword [ebp - 0x90]
mov dword [eax + 0x58], edi
mov edi, dword [ebp - 0xac]
test esi, esi
je 0x1004b2c8
mov eax, dword [ebp - 0x5c]
movsx edx, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add edx, eax
jmp 0x1004b2cc
movsx edx, word [edx + 0x66]
mov eax, dword [edi + ecx*4 + 0xf8]
mov dword [eax + 0x5c], edx
mov eax, dword [edi + ecx*4 + 0xf8]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1004b3a6
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
jne 0x1004b37d
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b310
sub ecx, edx
mov dword [ebp - 0xb0], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007d113
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0xb0]
cmova edx, dword [ebp - 0x5c]
lea esi, [edi + 0x20]
push edx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xb0]
add esp, 0x1c
mov ecx, dword [ebp - 0x68]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10088b50]
push edi
call fcn.1007d11c
mov edi, dword [ebp - 0xac]
add esp, 4
mov eax, dword [ebp - 0x70]
mov eax, dword [edi + eax*4 + 0xf8]
mov esi, dword [eax]
test esi, esi
je 0x1004b3ac
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b3ac
push 1
mov ecx, esi
call dword [0x10088b1c]
jmp 0x1004b3ac
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov esi, dword [ebp - 0x78]
lea eax, [esi + esi*2]
mov eax, dword [edi + eax*4 + 0xfc]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1004b3dc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b3dc
push dword [ebp - 0x90]
mov ecx, dword [ebp - 0x68]
call dword [0x10088b7c]
mov esi, dword [edi + esi*4 + 0x94]
test esi, esi
je 0x1004b3fe
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b3fe
push 1
mov ecx, esi
call dword [0x10088b1c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1004b64e
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x5c]
mov edx, eax
cmp ecx, 0x1000
jb 0x1004b43b
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x5c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1004b683
mov eax, dword [ebp - 0x5c]
push ecx
push eax
call fcn.1007d105
add esp, 8
jmp 0x1004b64e
mov esi, dword [ebp - 0x78]
mov eax, dword [edi + esi*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1004b472
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b472
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x10088b1c]
lea eax, [esi + esi*2]
mov eax, dword [edi + eax*4 + 0xfc]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1004b49a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b49a
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x10088b7c]
lea esi, [esi + esi*2]
cmp dword [edi + esi*4 + 0xf8], 0
je 0x1004b64e
xorps xmm0, xmm0
mov word [ebp - 0x84], 0x2e
lea ecx, [ebp - 0x83]
mov byte [ebp - 0x83], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b4e0
sub ecx, edx
lea eax, [ebp - 0x83]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100024a0
mov dword [ebp - 4], 8
lea edx, [ebp - 0x40]
mov ecx, dword [edi + esi*4 + 0xf8]
add ecx, 4
call fcn.1000edf0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004b54d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b543
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x50], 0
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x54], 0
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x58], 0
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x5c], 0
mov eax, dword [edi + esi*4 + 0xf8]
cmp dword [eax], 0
je 0x1004b64e
xorps xmm0, xmm0
mov word [ebp - 0x88], 0x6d
lea ecx, [ebp - 0x87]
mov byte [ebp - 0x87], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b5c3
sub ecx, edx
lea eax, [ebp - 0x87]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100024a0
mov dword [ebp - 4], 9
lea edx, [ebp - 0x40]
mov ecx, dword [edi + esi*4 + 0xf8]
mov ecx, dword [ecx]
call fcn.10014b40
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1004b62b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b621
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b683
push ecx
push edx
call fcn.1007d105
add esp, 8
mov eax, dword [edi + esi*4 + 0xf8]
mov esi, dword [eax]
test esi, esi
je 0x1004b64e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b64e
push eax
mov ecx, esi
call dword [0x10088b1c]
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xd8]
inc al
mov byte [ebp - 0x5d], al
cmp al, 5
jb 0x1004b010
movaps xmm1, xmmword [0x100894d0]
mov esi, dword [ebp + 8]
mov cl, byte [ebp - 0x71]
inc cl
mov byte [ebp - 0x71], cl
cmp cl, 4
jb 0x1004a470
mov al, 1
jmp 0x1004b68b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor al, al
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.1007d0a4
mov esp, ebp
pop ebp
ret 8