Function at 0x1004a090
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 0x100ab417
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100c90c0]
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.1001c9d0
cmp byte [edi + 0x140], 0
movzx eax, word [edi + 0x144]
movzx ecx, word [edi + 0x142]
push eax
push ecx
je 0x1004a204
movaps xmm0, xmmword [0x100bfa30]
xor ecx, ecx
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe0], 0x1b56171a
mov byte [ebp - 0xdc], 0
nop
mov al, byte [ebp - 0xf0]
xor byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x13
jb 0x1004a190
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 0x1004a1d0
sub ecx, esi
lea eax, [ebp - 0xef]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x58]
push eax
call fcn.10005dd0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 1
mov eax, 1
jmp 0x1004a2e5
mov cl, 0x7e
mov byte [ebp - 0xc8], 0x1a
mov al, 0x3f
mov byte [ebp - 0xad], cl
xor cl, byte [ebp - 0xc8]
mov dl, 0x3a
mov byte [ebp - 0xa5], al
mov dh, dl
xor al, byte [ebp - 0xc8]
mov ch, 0x7c
mov byte [ebp - 0xc7], al
mov ah, 0x75
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 0x1004a2b0
sub ecx, esi
lea eax, [ebp - 0xc7]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x8c]
push eax
call fcn.10005dd0
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.1001c9d0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xa4]
test al, 2
je 0x1004a365
mov ecx, dword [ebp - 0x78]
and eax, 0xfffffffd
mov dword [ebp - 0xa4], eax
cmp ecx, 0xf
jbe 0x1004a350
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b66d
push ecx
push edx
call fcn.100859f6
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 0x1004a3a4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1004a3a4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a39a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b66d
push ecx
push edx
call fcn.100859f6
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, 0x100c9bdc
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.1000e980
mov eax, dword [ebp - 0x90]
mov ecx, dword [0x100c9bdc]
mov edx, dword [ebp - 0xac]
cmp byte [eax + 0xd], 0
jne 0x1004a441
cmp edx, dword [eax + 0x10]
jae 0x1004a443
mov eax, ecx
cmp eax, ecx
jne 0x1004a44b
xor eax, eax
jmp 0x1004a44e
add eax, 0x14
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1004a77c
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xec], 0x1c073a72
mov dword [ebp - 0xe8], 0x525f5206
mov dword [ebp - 0xe4], 0x525d5242
lea eax, [ecx + ecx*2]
mov word [ebp - 0xe0], 0x1657
movzx eax, word [edi + eax*8 + 0x48]
mov cl, 0x72
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 0x1004a4b5
mov cl, byte [ebp - 0xec]
jmp 0x1004a4a0
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 0x1004a4e4
sub ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xeb]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x8c]
push eax
call fcn.10005dd0
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.1001c9d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004a55f
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a555
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b66d
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x1004a590
push 4
push ecx
call esi
test eax, eax
jne 0x1004a58a
mov ecx, dword [ebp - 0xac]
push 0xffffffffffffffff
call dword [0x100bd668]
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 0x1004a609
push 4
push eax
call esi
test eax, eax
jne 0x1004a609
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0x70], eax
call esi
test eax, eax
jne 0x1004a609
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x1004a609
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 [0x100bd648]
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 0x1004a65b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a65b
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 [0x100bd64c]
mov esi, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb8]
add edx, 4
mov ecx, dword [edi + esi*8 + 0x58]
call fcn.1001c9d0
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 [0x100bd5ac]
push 0x35a4fc88
call fcn.1001cb40
mov ecx, eax
call esi
test eax, eax
je 0x1004a704
push 0x35a4fc88
push 0
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.10012e90
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.100082d0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004a704
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a6fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b66d
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x58]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.1001c800
mov eax, dword [ebp - 0xa4]
mov esi, dword [edi + eax*4 + 0x24]
test esi, esi
je 0x1004a73b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a73b
push 1
mov ecx, esi
call dword [0x100bd600]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1004b16b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a76d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b672
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1004b16b
cmp edx, 1
jne 0x1004acf0
cmp byte [ebp - 0xb9], 0
je 0x1004acf0
mov ecx, dword [ebp - 0xa4]
mov dl, 0x5c
mov byte [ebp - 0x40], 0x73
mov dh, 0x17
xorps xmm0, xmm0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x39], 0
lea eax, [ecx + ecx*2]
mov cl, 0x53
movzx eax, word [edi + eax*8 + 0x48]
mov ch, 0x56
push eax
mov al, 0x43
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 0x1004a800
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x58]
push eax
call fcn.10005dd0
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.1001c9d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1004a872
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004a868
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b66d
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x1004a8a3
push 4
push ecx
call esi
test eax, eax
jne 0x1004a89d
mov ecx, dword [ebp - 0xa0]
push 0xffffffffffffffff
call dword [0x100bd668]
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 0x1004a91c
push 4
push eax
call esi
test eax, eax
jne 0x1004a91c
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x1004a91c
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x1004a91c
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 [0x100bd648]
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 0x1004a96e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a96e
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 [0x100bd64c]
mov esi, dword [ebp - 0xb4]
cmp byte [edi + esi*8 + 0x4a], 1
jne 0x1004aa3a
mov byte [ebp - 0x100], 0x79
mov al, 0x45
xor al, byte [ebp - 0x100]
mov cl, 0x3c
xor cl, byte [ebp - 0x100]
mov dl, 0x15
mov byte [ebp - 0xff], al
mov dh, 0x16
mov byte [ebp - 0xb9], 0xb
mov ah, 0x59
mov al, byte [ebp - 0xb9]
mov ch, 0x34
mov byte [ebp - 0xfe], cl
mov cl, byte [ebp - 0x100]
xor al, cl
mov byte [ebp - 0xa5], 0x18
mov byte [ebp - 0xf9], al
xor dl, cl
mov al, byte [ebp - 0xa5]
xor dh, cl
xor al, cl
mov byte [ebp - 0xf1], 0x1d
mov byte [ebp - 0xf8], al
xor ah, cl
mov al, byte [ebp - 0xf1]
xor ch, cl
xor al, cl
mov byte [ebp - 0xba], 0x47
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 0x1004aab4
mov byte [ebp - 0xc8], 0x3a
mov al, 6
xor al, byte [ebp - 0xc8]
mov dl, 0x5b
mov byte [ebp - 0xc7], al
mov dh, 0x49
mov al, byte [ebp - 0xc8]
mov cl, 0x71
xor dl, al
mov byte [ebp - 0xba], 4
xor dh, al
mov byte [ebp - 0xc0], 0
mov ah, 0x48
mov byte [ebp - 0xc5], dl
mov ch, 0x4f
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 0x1004aad4
sub ecx, dword [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10002620
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 0x1004aba7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004aba7
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 0x1004ab28
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10087b80
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.10087600
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 [0x100bd660]
push edi
call fcn.10085d1e
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 0x1004abde
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004abd4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b672
push ecx
push esi
call fcn.100859f6
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 [0x100bd5ac]
push 0x35a50840
call fcn.1001cb40
mov ecx, eax
call esi
test eax, eax
je 0x1004ac72
push 0x35a50840
push 0
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.10012e90
add esp, 8
lea ecx, [ebp - 0x8c]
push eax
call fcn.100082d0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1004ac72
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ac68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b66d
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x8c]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.1001c800
mov eax, dword [ebp - 0xa4]
mov esi, dword [edi + eax*4 + 0x24]
test esi, esi
je 0x1004acac
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004acac
push 1
mov ecx, esi
call dword [0x100bd600]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004b16b
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ace1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b672
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1004b16b
mov eax, dword [ebp - 0xa4]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004ad1a
push 4
push eax
call esi
test eax, eax
jne 0x1004ad1a
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100bd600]
mov ecx, dword [ebp - 0xa4]
xorps xmm0, xmm0
mov word [ebp - 0xcc], 0x3c
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 0x1004ad61
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x8c]
push eax
call fcn.10005dd0
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.1001c9d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004addc
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004add2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b66d
push ecx
push edx
call fcn.100859f6
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 0x1004ae5b
push 4
push eax
call esi
test eax, eax
jne 0x1004ae5b
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x1004ae5b
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x1004ae5b
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 [0x100bd648]
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 0x1004aead
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004aead
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 [0x100bd64c]
xorps xmm0, xmm0
mov word [ebp - 0xd0], 0x63
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 0x1004aee0
sub ecx, edx
lea eax, [ebp - 0xcf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002620
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 0x1004afc7
push 4
push eax
call esi
test eax, eax
jne 0x1004afc1
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 0x1004af42
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10087b80
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.10087600
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 [0x100bd660]
push edi
call fcn.10085d1e
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 0x1004affe
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004aff4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b672
push edx
push ecx
call fcn.100859f6
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0xd4], 0x7d
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 0x1004b030
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002620
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 0x1004b10f
push 4
push eax
call esi
test eax, eax
jne 0x1004b109
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 0x1004b090
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10087b80
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.10087600
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 [0x100bd63c]
push edi
call fcn.10085d1e
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 0x1004b146
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004b13c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b672
push edx
push ecx
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x64]
je 0x1004b15b
mov cl, byte [ebp - 0xad]
mov byte [eax], cl
inc dword [ebp - 0x68]
jmp 0x1004b16b
lea ecx, [ebp - 0xa5]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.1004dab0
mov ah, byte [ebp - 0xad]
inc ah
mov al, ah
mov byte [ebp - 0xad], ah
mov byte [ebp - 0xa5], ah
cmp al, 3
jb 0x1004a3b2
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp - 0x68]
je 0x1004b352
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 0x1004b1f7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b1f1
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100bd5f4]
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 0x1004b230
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b230
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x74]
push eax
call dword [0x100bd5f4]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004b25c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b25c
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
push dword [ebp - 0x74]
call dword [0x100bd5f8]
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 0x1004b2d3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b2d3
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 0x1004b311
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b30e
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0xe8]
jmp 0x1004b311
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edi]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004b343
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b343
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call dword [0x100bd5e8]
inc esi
cmp esi, dword [ebp - 0x68]
jne 0x1004b1a0
jmp 0x1004b4de
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 0x1004b38c
push 4
push eax
call esi
test eax, eax
jne 0x1004b38c
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100bd5f4]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
test eax, eax
je 0x1004b3c0
push 4
push eax
call esi
test eax, eax
jne 0x1004b3c0
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x60]
push eax
call dword [0x100bd5f4]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004b3ec
push 4
push eax
call esi
test eax, eax
jne 0x1004b3ec
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
add eax, 0x2e
push eax
push dword [ebp - 0x60]
call dword [0x100bd5f8]
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 0x1004b45f
push 4
push eax
call esi
test eax, eax
jne 0x1004b45f
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 0x1004b49b
push 4
push ecx
call esi
test eax, eax
jne 0x1004b496
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 0xe8]
jmp 0x1004b498
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 0x1004b4de
push 4
push ecx
mov dword [ebp - 0xa4], eax
call esi
test eax, eax
jne 0x1004b4de
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call dword [0x100bd5e8]
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.1004c090
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 0x1004b57e
push 4
push eax
call esi
test eax, eax
jne 0x1004b57e
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100bd600]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004b5a2
push 4
push eax
call esi
test eax, eax
jne 0x1004b5a2
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100bd600]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004b5c6
push 4
push eax
call esi
test eax, eax
jne 0x1004b5c6
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100bd600]
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004b5ef
push 4
push eax
call esi
test eax, eax
jne 0x1004b5ef
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100bd600]
mov ecx, edi
call fcn.10049a00
mov ecx, edi
call fcn.100482c0
cmp byte [edi + 0xd4], 0
je 0x1004b61f
mov edi, dword [edi]
test edi, edi
je 0x1004b61f
push 4
push edi
call esi
test eax, eax
jne 0x1004b61f
push 1
mov ecx, edi
call dword [0x100bd600]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x1004b64f
mov edx, dword [ebp - 0x64]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1004b645
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004b672
push edx
push ecx
call fcn.100859f6
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.10085995
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008ac0f
call fcn.1008ac0f
int3