Function at 0x10045190
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 0x1009de97
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100b7040]
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 - 0x104], edi
mov dword [ebp - 0xac], 0
xorps xmm0, xmm0
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
lea edx, [edi + 0xd8]
mov al, byte [edi + 0x13a]
mov ecx, dword [edi + 8]
mov byte [edi + 0x140], al
mov eax, dword [edi + 0x114]
mov dword [edi + 0x148], eax
movzx eax, word [edi + 0x136]
mov word [edi + 0x142], ax
movzx eax, word [edi + 0x138]
mov word [edi + 0x144], ax
call fcn.10018260
cmp byte [edi + 0x140], 0
movzx eax, word [edi + 0x144]
movzx ecx, word [edi + 0x142]
push eax
push ecx
je 0x10045304
movaps xmm0, xmmword [0x100af550]
xor ecx, ecx
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe0], 0xc41000d
mov byte [ebp - 0xdc], 0
nop
mov al, byte [ebp - 0xf0]
xor byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x13
jb 0x10045290
sub esp, 0x18
mov byte [ebp - 0xdc], 0
mov edx, esp
lea ecx, [ebp - 0xef]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100452d0
sub ecx, esi
lea eax, [ebp - 0xef]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x58]
push eax
call fcn.1000a310
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 1
mov eax, 1
jmp 0x100453e5
mov cl, 8
mov byte [ebp - 0xc8], 0x6c
mov al, 0x49
mov byte [ebp - 0xad], cl
xor cl, byte [ebp - 0xc8]
mov dl, 0x4c
mov byte [ebp - 0xa5], al
mov dh, dl
xor al, byte [ebp - 0xc8]
mov ch, 0xa
mov byte [ebp - 0xc7], al
mov ah, 3
mov al, byte [ebp - 0xa5]
xorps xmm0, xmm0
mov byte [ebp - 0xc6], cl
mov cl, byte [ebp - 0xc8]
xor al, cl
mov byte [ebp - 0xbf], 0
mov byte [ebp - 0xc1], al
xor dl, cl
mov al, byte [ebp - 0xad]
xor dh, cl
xor ah, cl
mov byte [ebp - 0xc5], dl
xor ch, cl
mov byte [ebp - 0xc2], dh
xor al, cl
mov byte [ebp - 0xc3], ch
sub esp, 0x18
mov byte [ebp - 0xc4], ah
mov edx, esp
mov byte [ebp - 0xc0], al
lea ecx, [ebp - 0xc7]
mov byte [ebp - 0xbf], 0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100453b0
sub ecx, esi
lea eax, [ebp - 0xc7]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x8c]
push eax
call fcn.1000a310
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
mov eax, 2
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
call fcn.10018260
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xa4]
test al, 2
je 0x10045465
mov ecx, dword [ebp - 0x78]
and eax, 0xfffffffd
mov dword [ebp - 0xa4], eax
cmp ecx, 0xf
jbe 0x10045450
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045440
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004676d
push ecx
push edx
call fcn.100810d6
mov eax, dword [ebp - 0xa4]
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov dword [ebp - 4], 0
test al, 1
je 0x100454a4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100454a4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004549a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004676d
push ecx
push edx
call fcn.100810d6
add esp, 8
xor al, al
mov byte [ebp - 0xad], al
mov byte [ebp - 0xa5], al
movzx edx, al
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xa4], edx
movzx eax, word [edi + edx*2 + 0x124]
lea ecx, [edx + edx*2]
mov dword [edi + ecx*8 + 0x44], eax
lea edx, [edx + edx*2]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], ecx
mov ax, word [edi + eax*2 + 0x12a]
mov word [edi + edx*8 + 0x48], ax
mov al, byte [edi + 0x13b]
mov byte [edi + ecx*8 + 0x4a], al
mov byte [ebp - 0xb9], al
mov eax, dword [edi + ecx*8 + 0x44]
mov ecx, 0x100b7b14
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10008a60
mov eax, dword [ebp - 0x90]
mov ecx, dword [0x100b7b14]
mov edx, dword [ebp - 0xac]
cmp byte [eax + 0xd], 0
jne 0x10045541
cmp edx, dword [eax + 0x10]
jae 0x10045543
mov eax, ecx
cmp eax, ecx
jne 0x1004554b
xor eax, eax
jmp 0x1004554e
add eax, 0x14
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1004587c
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xec], 0x4c576a22
mov dword [ebp - 0xe8], 0x20f0256
mov dword [ebp - 0xe4], 0x20d0212
lea eax, [ecx + ecx*2]
mov word [ebp - 0xe0], 0x4607
movzx eax, word [edi + eax*8 + 0x48]
mov cl, 0x22
push eax
mov byte [ebp - 0xde], 0
xor eax, eax
nop dword [eax]
xor byte [ebp + eax - 0xeb], cl
inc eax
cmp eax, 0xd
jae 0x100455b5
mov cl, byte [ebp - 0xec]
jmp 0x100455a0
sub esp, 0x18
mov byte [ebp - 0xde], 0
mov edx, esp
lea ecx, [ebp - 0xeb]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xac], 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 0x100455e4
sub ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xeb]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x8c]
push eax
call fcn.1000a310
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
call fcn.10018260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004565f
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045655
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004676d
push ecx
push edx
call fcn.100810d6
add esp, 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x10045690
push 4
push ecx
call esi
test eax, eax
jne 0x1004568a
mov ecx, dword [ebp - 0xac]
push 0xffffffffffffffff
call dword [0x100ae578]
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xac], eax
lea ecx, [edx + edx*2]
movzx ecx, word [edi + ecx*8 + 0x48]
mov dword [ebp - 0xa0], ecx
test eax, eax
je 0x10045709
push 4
push eax
call esi
test eax, eax
jne 0x10045709
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0x70], eax
call esi
test eax, eax
jne 0x10045709
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x10045709
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xa0]
mov dword [eax], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xac]
call dword [0x100ae558]
mov eax, dword [ebp - 0xa4]
movzx esi, word [edi + eax*2 + 0x130]
mov eax, dword [ebp - 0xb4]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004575b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004575b
mov ecx, dword [ebp - 0xa0]
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 [0x100ae55c]
mov esi, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb8]
add edx, 4
mov ecx, dword [edi + esi*8 + 0x58]
call fcn.10018260
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 4
mov ecx, 0xd78ae8
mov esi, dword [0x100ae4c0]
push 0x35a4fc88
call fcn.10018420
mov ecx, eax
call esi
test eax, eax
je 0x10045804
push 0x35a4fc88
push 0
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.1000bc90
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10045804
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100457fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004676d
push ecx
push edx
call fcn.100810d6
add esp, 8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x58]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.10018090
mov eax, dword [ebp - 0xa4]
mov esi, dword [edi + eax*4 + 0x24]
test esi, esi
je 0x1004583b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004583b
push 1
mov ecx, esi
call dword [0x100ae514]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1004626b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004586d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046772
push ecx
push edx
call fcn.100810d6
add esp, 8
jmp 0x1004626b
cmp edx, 1
jne 0x10045df0
cmp byte [ebp - 0xb9], 0
je 0x10045df0
mov ecx, dword [ebp - 0xa4]
mov dl, 0x19
mov byte [ebp - 0x40], 0x36
mov dh, 0x52
xorps xmm0, xmm0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x39], 0
lea eax, [ecx + ecx*2]
mov cl, 0x16
movzx eax, word [edi + eax*8 + 0x48]
mov ch, 0x13
push eax
mov al, 6
mov ah, cl
xor al, byte [ebp - 0x40]
mov byte [ebp - 0x3f], al
mov al, byte [ebp - 0x40]
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x3d], dl
xor dh, al
mov byte [ebp - 0x3e], cl
xor ah, al
mov byte [ebp - 0x3a], dh
sub esp, 0x18
mov byte [ebp - 0x3b], ch
mov edx, esp
mov byte [ebp - 0x3c], ah
lea ecx, [ebp - 0x3f]
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], 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 0x10045900
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x58]
push eax
call fcn.1000a310
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
call fcn.10018260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10045972
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045968
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004676d
push ecx
push edx
call fcn.100810d6
add esp, 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x100459a3
push 4
push ecx
call esi
test eax, eax
jne 0x1004599d
mov ecx, dword [ebp - 0xa0]
push 0xffffffffffffffff
call dword [0x100ae578]
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xac], eax
lea ecx, [edx + edx*2]
movzx ecx, word [edi + ecx*8 + 0x48]
mov dword [ebp - 0x70], ecx
test eax, eax
je 0x10045a1c
push 4
push eax
call esi
test eax, eax
jne 0x10045a1c
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x10045a1c
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x10045a1c
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x70]
mov dword [eax], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xac]
call dword [0x100ae558]
mov eax, dword [ebp - 0xa4]
movzx esi, word [edi + eax*2 + 0x130]
mov eax, dword [ebp - 0xb4]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10045a6e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045a6e
mov ecx, dword [ebp - 0xa0]
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 [0x100ae55c]
mov esi, dword [ebp - 0xb4]
cmp byte [edi + esi*8 + 0x4a], 1
jne 0x10045b3a
mov byte [ebp - 0x100], 0x18
mov al, 0x24
xor al, byte [ebp - 0x100]
mov cl, 0x5d
xor cl, byte [ebp - 0x100]
mov dl, 0x74
mov byte [ebp - 0xff], al
mov dh, 0x77
mov byte [ebp - 0xb9], 0x6a
mov ah, 0x38
mov al, byte [ebp - 0xb9]
mov ch, 0x55
mov byte [ebp - 0xfe], cl
mov cl, byte [ebp - 0x100]
xor al, cl
mov byte [ebp - 0xa5], 0x79
mov byte [ebp - 0xf9], al
xor dl, cl
mov al, byte [ebp - 0xa5]
xor dh, cl
xor al, cl
mov byte [ebp - 0xf1], 0x7c
mov byte [ebp - 0xf8], al
xor ah, cl
mov al, byte [ebp - 0xf1]
xor ch, cl
xor al, cl
mov byte [ebp - 0xba], 0x26
mov byte [ebp - 0xf7], al
mov al, byte [ebp - 0xba]
xor al, cl
mov byte [ebp - 0xf5], 0
mov byte [ebp - 0xfd], dl
mov byte [ebp - 0xfa], dh
lea edx, [ebp - 0xff]
mov byte [ebp - 0xfc], ah
mov byte [ebp - 0xfb], ch
mov byte [ebp - 0xf6], al
mov byte [ebp - 0xf5], 0
jmp 0x10045bb4
mov byte [ebp - 0xc8], 0x27
mov al, 0x1b
xor al, byte [ebp - 0xc8]
mov dl, 0x46
mov byte [ebp - 0xc7], al
mov dh, 0x54
mov al, byte [ebp - 0xc8]
mov cl, 0x6c
xor dl, al
mov byte [ebp - 0xba], 0x19
xor dh, al
mov byte [ebp - 0xc0], 0
mov ah, 0x55
mov byte [ebp - 0xc5], dl
mov ch, 0x52
mov byte [ebp - 0xc2], dh
xor cl, al
mov byte [ebp - 0xc0], 0
xor ah, al
mov byte [ebp - 0xc6], cl
xor ch, al
mov byte [ebp - 0xc4], ah
mov al, byte [ebp - 0xba]
lea edx, [ebp - 0xc7]
xor al, byte [ebp - 0xc8]
mov byte [ebp - 0xc3], ch
mov byte [ebp - 0xc1], al
mov ecx, edx
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045bd4
sub ecx, dword [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10002580
mov byte [ebp - 4], 6
mov eax, dword [edi + esi*8 + 0x58]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xac], esi
test eax, eax
je 0x10045ca7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045ca7
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045c28
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0xac]
push dword [ebp - 0xb8]
push edx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0xb8]
add esp, 0xc
mov ecx, dword [ebp - 0xa0]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae570]
push edi
call fcn.100810e4
mov edi, dword [ebp - 0x104]
add esp, 4
mov esi, dword [ebp - 0xac]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x10045cde
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10045cd4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046772
push ecx
push esi
call fcn.100810d6
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 7
mov ecx, 0xd78ae8
mov esi, dword [0x100ae4c0]
push 0x35a50840
call fcn.10018420
mov ecx, eax
call esi
test eax, eax
je 0x10045d72
push 0x35a50840
push 0
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.1000bc90
add esp, 8
lea ecx, [ebp - 0x8c]
push eax
call fcn.10005130
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10045d72
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045d68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004676d
push ecx
push edx
call fcn.100810d6
add esp, 8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x8c]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.10018090
mov eax, dword [ebp - 0xa4]
mov esi, dword [edi + eax*4 + 0x24]
test esi, esi
je 0x10045dac
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045dac
push 1
mov ecx, esi
call dword [0x100ae514]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004626b
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045de1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046772
push ecx
push edx
call fcn.100810d6
add esp, 8
jmp 0x1004626b
mov eax, dword [ebp - 0xa4]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10045e1a
push 4
push eax
call esi
test eax, eax
jne 0x10045e1a
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100ae514]
mov ecx, dword [ebp - 0xa4]
xorps xmm0, xmm0
mov word [ebp - 0xcc], 0x66
mov byte [ebp - 0xcb], 0
lea eax, [ecx + ecx*2]
movzx eax, word [edi + eax*8 + 0x48]
lea ecx, [ebp - 0xcb]
push eax
sub esp, 0x18
lea eax, [ecx + 1]
mov edx, esp
mov dword [ebp - 0xa0], 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 0x10045e61
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x8c]
push eax
call fcn.1000a310
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
call fcn.10018260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10045edc
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045ed2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004676d
push ecx
push edx
call fcn.100810d6
add esp, 8
mov ecx, dword [ebp - 0xa4]
lea eax, [ecx + ecx*2]
movzx eax, word [edi + eax*8 + 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xac], eax
test eax, eax
je 0x10045f5b
push 4
push eax
call esi
test eax, eax
jne 0x10045f5b
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x10045f5b
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x10045f5b
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x70]
mov dword [eax], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xac]
call dword [0x100ae558]
mov eax, dword [ebp - 0xa4]
movzx esi, word [edi + eax*2 + 0x130]
mov eax, dword [ebp - 0xb4]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10045fad
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045fad
mov ecx, dword [ebp - 0xa0]
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 [0x100ae55c]
xorps xmm0, xmm0
mov word [ebp - 0xd0], 0x42
lea ecx, [ebp - 0xcf]
mov byte [ebp - 0xcf], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045fe0
sub ecx, edx
lea eax, [ebp - 0xcf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002580
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [edi + eax*8 + 0x58]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], ecx
test eax, eax
je 0x100460c7
push 4
push eax
call esi
test eax, eax
jne 0x100460c1
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
cmova ecx, dword [ebp - 0xa4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046042
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0xa4]
push dword [ebp - 0xb8]
push edx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0xb8]
add esp, 0xc
mov ecx, dword [ebp - 0xa0]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae570]
push edi
call fcn.100810e4
mov edi, dword [ebp - 0x104]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x100460fe
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100460f4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046772
push edx
push ecx
call fcn.100810d6
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0xd4], 7
lea ecx, [ebp - 0xd3]
mov byte [ebp - 0xd3], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046130
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002580
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xa4], ecx
mov eax, dword [edi + eax*8 + 0x4c]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004620f
push 4
push eax
call esi
test eax, eax
jne 0x10046209
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
cmova ecx, dword [ebp - 0xa4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046190
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100831e0
add esp, 0xc
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0xa4]
push dword [ebp - 0xb8]
push edx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0xb8]
add esp, 0xc
mov ecx, dword [ebp - 0xa0]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae54c]
push edi
call fcn.100810e4
mov edi, dword [ebp - 0x104]
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x10046246
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004623c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046772
push edx
push ecx
call fcn.100810d6
add esp, 8
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x64]
je 0x1004625b
mov cl, byte [ebp - 0xad]
mov byte [eax], cl
inc dword [ebp - 0x68]
jmp 0x1004626b
lea ecx, [ebp - 0xa5]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.10048bb0
mov ah, byte [ebp - 0xad]
inc ah
mov al, ah
mov byte [ebp - 0xad], ah
mov byte [ebp - 0xa5], ah
cmp al, 3
jb 0x100454b2
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp - 0x68]
je 0x10046452
lea eax, [edi + 0x30]
mov dword [ebp - 0xa4], eax
nop
movzx edx, byte [esi]
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x6c]
cmp ecx, 2
mov dword [ebp - 0x3c], 0
lea eax, [edx - 1]
mov dword [ebp - 0x40], 0
cmovae edx, eax
mov dword [ebp - 0xb8], edx
mov eax, dword [edi + edx*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100462f7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100462f1
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100ae508]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edi + edx*4 + 0x24]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
test eax, eax
je 0x10046330
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10046330
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x74]
push eax
call dword [0x100ae508]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004635c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004635c
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
push dword [ebp - 0x74]
call dword [0x100ae50c]
mov eax, dword [edi]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
test eax, eax
je 0x100463d3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100463d3
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0xdc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ecx + 0xe0]
mov dword [ebp - 0xec], eax
mov eax, dword [ecx + 0xe4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ecx + 0xe8]
mov dword [ebp - 0xe4], eax
movups xmm0, xmmword [ebp - 0xf0]
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x5c], ecx
movups xmmword [ebp - 0x9c], xmm0
test eax, eax
je 0x10046411
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004640e
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0xe8]
jmp 0x10046411
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edi]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10046443
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10046443
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call dword [0x100ae4fc]
inc esi
cmp esi, dword [ebp - 0x68]
jne 0x100462a0
jmp 0x100465de
mov eax, dword [edi + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
test eax, eax
je 0x1004648c
push 4
push eax
call esi
test eax, eax
jne 0x1004648c
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100ae508]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
test eax, eax
je 0x100464c0
push 4
push eax
call esi
test eax, eax
jne 0x100464c0
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x60]
push eax
call dword [0x100ae508]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100464ec
push 4
push eax
call esi
test eax, eax
jne 0x100464ec
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
add eax, 0x32
push eax
push dword [ebp - 0x60]
call dword [0x100ae50c]
mov eax, dword [edi]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
test eax, eax
je 0x1004655f
push 4
push eax
call esi
test eax, eax
jne 0x1004655f
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0xdc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ecx + 0xe0]
mov dword [ebp - 0xec], eax
mov eax, dword [ecx + 0xe4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ecx + 0xe8]
mov dword [ebp - 0xe4], eax
movups xmm0, xmmword [ebp - 0xf0]
mov ecx, dword [edi + 0x30]
lea eax, [edi + 0x30]
xor edx, edx
mov dword [ebp - 0xa0], ecx
movups xmmword [ebp - 0x9c], xmm0
test ecx, ecx
je 0x1004659b
push 4
push ecx
call esi
test eax, eax
jne 0x10046596
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 0xe8]
jmp 0x10046598
xor edx, edx
lea eax, [edi + 0x30]
mov ecx, dword [edi]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], eax
test ecx, ecx
je 0x100465de
push 4
push ecx
mov dword [ebp - 0xa4], eax
call esi
test eax, eax
jne 0x100465de
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call dword [0x100ae4fc]
lea eax, [edi + 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [edi + 0xfc]
mov ecx, edi
movss xmm0, dword [edi + 0x118]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x104]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x110]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
movss dword [ebp - 0x20], xmm0
lea eax, [ebp - 0x2c]
movss xmm0, dword [edi + 0x11c]
push eax
movss dword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x38]
movss xmm0, dword [edi + 0x120]
push eax
movss dword [ebp - 0x18], xmm0
call fcn.10047190
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov byte [edi + 0xd4], 1
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004667e
push 4
push eax
call esi
test eax, eax
jne 0x1004667e
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100ae514]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100466a2
push 4
push eax
call esi
test eax, eax
jne 0x100466a2
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100ae514]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100466c6
push 4
push eax
call esi
test eax, eax
jne 0x100466c6
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100ae514]
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100466ef
push 4
push eax
call esi
test eax, eax
jne 0x100466ef
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100ae514]
mov ecx, edi
call fcn.10044a10
mov ecx, edi
call fcn.100431c0
cmp byte [edi + 0xd4], 0
je 0x1004671f
mov edi, dword [edi]
test edi, edi
je 0x1004671f
push 4
push edi
call esi
test eax, eax
jne 0x1004671f
push 1
mov ecx, edi
call dword [0x100ae514]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x1004674f
mov edx, dword [ebp - 0x64]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10046745
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046772
push edx
push ecx
call fcn.100810d6
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.10081075
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008626f
call fcn.1008626f
int3