Function at 0x10045290
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 0x1009e347
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100b7080]
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.10018340
cmp byte [edi + 0x140], 0
movzx eax, word [edi + 0x144]
movzx ecx, word [edi + 0x142]
push eax
push ecx
je 0x10045404
movaps xmm0, xmmword [0x100af740]
xor ecx, ecx
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe0], 0xa47060b
mov byte [ebp - 0xdc], 0
nop
mov al, byte [ebp - 0xf0]
xor byte [ebp + ecx - 0xef], al
inc ecx
cmp ecx, 0x13
jb 0x10045390
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 0x100453d0
sub ecx, esi
lea eax, [ebp - 0xef]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x58]
push eax
call fcn.1000a3e0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 1
mov eax, 1
jmp 0x100454e5
mov cl, 0xc
mov byte [ebp - 0xc8], 0x68
mov al, 0x4d
mov byte [ebp - 0xad], cl
xor cl, byte [ebp - 0xc8]
mov dl, 0x48
mov byte [ebp - 0xa5], al
mov dh, dl
xor al, byte [ebp - 0xc8]
mov ch, 0xe
mov byte [ebp - 0xc7], al
mov ah, 7
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 0x100454b0
sub ecx, esi
lea eax, [ebp - 0xc7]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x8c]
push eax
call fcn.1000a3e0
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.10018340
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xa4]
test al, 2
je 0x10045565
mov ecx, dword [ebp - 0x78]
and eax, 0xfffffffd
mov dword [ebp - 0xa4], eax
cmp ecx, 0xf
jbe 0x10045550
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045540
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004686d
push ecx
push edx
call fcn.100812a6
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 0x100455a4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100455a4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004559a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004686d
push ecx
push edx
call fcn.100812a6
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, 0x100b7b54
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10008af0
mov eax, dword [ebp - 0x90]
mov ecx, dword [0x100b7b54]
mov edx, dword [ebp - 0xac]
cmp byte [eax + 0xd], 0
jne 0x10045641
cmp edx, dword [eax + 0x10]
jae 0x10045643
mov eax, ecx
cmp eax, ecx
jne 0x1004564b
xor eax, eax
jmp 0x1004564e
add eax, 0x14
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1004597c
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xec], 0x1b266e
mov dword [ebp - 0xe8], 0x4e434e1a
mov dword [ebp - 0xe4], 0x4e414e5e
lea eax, [ecx + ecx*2]
mov word [ebp - 0xe0], 0xa4b
movzx eax, word [edi + eax*8 + 0x48]
mov cl, 0x6e
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 0x100456b5
mov cl, byte [ebp - 0xec]
jmp 0x100456a0
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 0x100456e4
sub ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xeb]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x8c]
push eax
call fcn.1000a3e0
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.10018340
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004575f
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004686d
push ecx
push edx
call fcn.100812a6
add esp, 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x10045790
push 4
push ecx
call esi
test eax, eax
jne 0x1004578a
mov ecx, dword [ebp - 0xac]
push 0xffffffffffffffff
call dword [0x100ae5c8]
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 0x10045809
push 4
push eax
call esi
test eax, eax
jne 0x10045809
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0x70], eax
call esi
test eax, eax
jne 0x10045809
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x10045809
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 [0x100ae5a8]
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 0x1004585b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004585b
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 [0x100ae5ac]
mov esi, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb8]
add edx, 4
mov ecx, dword [edi + esi*8 + 0x58]
call fcn.10018340
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 [0x100ae510]
push 0x35a4fc88
call fcn.10018500
mov ecx, eax
call esi
test eax, eax
je 0x10045904
push 0x35a4fc88
push 0
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.1000bd70
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.100051c0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10045904
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100458fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004686d
push ecx
push edx
call fcn.100812a6
add esp, 8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x58]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.10018170
mov eax, dword [ebp - 0xa4]
mov esi, dword [edi + eax*4 + 0x24]
test esi, esi
je 0x1004593b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004593b
push 1
mov ecx, esi
call dword [0x100ae564]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1004636b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004596d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046872
push ecx
push edx
call fcn.100812a6
add esp, 8
jmp 0x1004636b
cmp edx, 1
jne 0x10045ef0
cmp byte [ebp - 0xb9], 0
je 0x10045ef0
mov ecx, dword [ebp - 0xa4]
mov dl, 0x58
mov byte [ebp - 0x40], 0x77
mov dh, 0x13
xorps xmm0, xmm0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x39], 0
lea eax, [ecx + ecx*2]
mov cl, 0x57
movzx eax, word [edi + eax*8 + 0x48]
mov ch, 0x52
push eax
mov al, 0x47
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 0x10045a00
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x58]
push eax
call fcn.1000a3e0
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.10018340
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10045a72
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045a68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004686d
push ecx
push edx
call fcn.100812a6
add esp, 8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x10045aa3
push 4
push ecx
call esi
test eax, eax
jne 0x10045a9d
mov ecx, dword [ebp - 0xa0]
push 0xffffffffffffffff
call dword [0x100ae5c8]
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 0x10045b1c
push 4
push eax
call esi
test eax, eax
jne 0x10045b1c
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x10045b1c
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x10045b1c
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 [0x100ae5a8]
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 0x10045b6e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045b6e
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 [0x100ae5ac]
mov esi, dword [ebp - 0xb4]
cmp byte [edi + esi*8 + 0x4a], 1
jne 0x10045c3a
mov byte [ebp - 0x100], 0x30
mov al, 0xc
xor al, byte [ebp - 0x100]
mov cl, 0x75
xor cl, byte [ebp - 0x100]
mov dl, 0x5c
mov byte [ebp - 0xff], al
mov dh, 0x5f
mov byte [ebp - 0xb9], 0x42
mov ah, 0x10
mov al, byte [ebp - 0xb9]
mov ch, 0x7d
mov byte [ebp - 0xfe], cl
mov cl, byte [ebp - 0x100]
xor al, cl
mov byte [ebp - 0xa5], 0x51
mov byte [ebp - 0xf9], al
xor dl, cl
mov al, byte [ebp - 0xa5]
xor dh, cl
xor al, cl
mov byte [ebp - 0xf1], 0x54
mov byte [ebp - 0xf8], al
xor ah, cl
mov al, byte [ebp - 0xf1]
xor ch, cl
xor al, cl
mov byte [ebp - 0xba], 0xe
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 0x10045cb4
mov byte [ebp - 0xc8], 0x10
mov al, 0x2c
xor al, byte [ebp - 0xc8]
mov dl, 0x71
mov byte [ebp - 0xc7], al
mov dh, 0x63
mov al, byte [ebp - 0xc8]
mov cl, 0x5b
xor dl, al
mov byte [ebp - 0xba], 0x2e
xor dh, al
mov byte [ebp - 0xc0], 0
mov ah, 0x62
mov byte [ebp - 0xc5], dl
mov ch, 0x65
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 0x10045cd4
sub ecx, dword [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10002570
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 0x10045da7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045da7
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 0x10045d28
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100812b9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100833b0
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.10082e30
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 [0x100ae5c0]
push edi
call fcn.100812b4
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 0x10045dde
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10045dd4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046872
push ecx
push esi
call fcn.100812a6
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 [0x100ae510]
push 0x35a50840
call fcn.10018500
mov ecx, eax
call esi
test eax, eax
je 0x10045e72
push 0x35a50840
push 0
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.1000bd70
add esp, 8
lea ecx, [ebp - 0x8c]
push eax
call fcn.100051c0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10045e72
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045e68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004686d
push ecx
push edx
call fcn.100812a6
add esp, 8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x8c]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.10018170
mov eax, dword [ebp - 0xa4]
mov esi, dword [edi + eax*4 + 0x24]
test esi, esi
je 0x10045eac
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045eac
push 1
mov ecx, esi
call dword [0x100ae564]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x1004636b
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045ee1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046872
push ecx
push edx
call fcn.100812a6
add esp, 8
jmp 0x1004636b
mov eax, dword [ebp - 0xa4]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10045f1a
push 4
push eax
call esi
test eax, eax
jne 0x10045f1a
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100ae564]
mov ecx, dword [ebp - 0xa4]
xorps xmm0, xmm0
mov word [ebp - 0xcc], 0x34
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 0x10045f61
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x8c]
push eax
call fcn.1000a3e0
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.10018340
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10045fdc
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045fd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004686d
push ecx
push edx
call fcn.100812a6
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 0x1004605b
push 4
push eax
call esi
test eax, eax
jne 0x1004605b
mov eax, dword [ebp - 0xac]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x1004605b
mov eax, dword [ebp - 0xac]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x1004605b
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 [0x100ae5a8]
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 0x100460ad
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100460ad
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 [0x100ae5ac]
xorps xmm0, xmm0
mov word [ebp - 0xd0], 9
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 0x100460e0
sub ecx, edx
lea eax, [ebp - 0xcf]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002570
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 0x100461c7
push 4
push eax
call esi
test eax, eax
jne 0x100461c1
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 0x10046142
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100812b9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100833b0
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.10082e30
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 [0x100ae5c0]
push edi
call fcn.100812b4
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 0x100461fe
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100461f4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046872
push edx
push ecx
call fcn.100812a6
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0xd4], 0x4c
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 0x10046230
sub ecx, edx
lea eax, [ebp - 0xd3]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002570
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 0x1004630f
push 4
push eax
call esi
test eax, eax
jne 0x10046309
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 0x10046290
sub ecx, edx
mov dword [ebp - 0xb8], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100812b9
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100833b0
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.10082e30
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 [0x100ae59c]
push edi
call fcn.100812b4
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 0x10046346
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004633c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046872
push edx
push ecx
call fcn.100812a6
add esp, 8
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x64]
je 0x1004635b
mov cl, byte [ebp - 0xad]
mov byte [eax], cl
inc dword [ebp - 0x68]
jmp 0x1004636b
lea ecx, [ebp - 0xa5]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.10048cc0
mov ah, byte [ebp - 0xad]
inc ah
mov al, ah
mov byte [ebp - 0xad], ah
mov byte [ebp - 0xa5], ah
cmp al, 3
jb 0x100455b2
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp - 0x68]
je 0x10046552
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 0x100463f7
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100463f1
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100ae558]
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 0x10046430
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10046430
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x74]
push eax
call dword [0x100ae558]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1004645c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004645c
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
push dword [ebp - 0x74]
call dword [0x100ae55c]
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 0x100464d3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100464d3
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 0x10046511
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004650e
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0xe8]
jmp 0x10046511
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edi]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10046543
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10046543
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call dword [0x100ae54c]
inc esi
cmp esi, dword [ebp - 0x68]
jne 0x100463a0
jmp 0x100466de
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 0x1004658c
push 4
push eax
call esi
test eax, eax
jne 0x1004658c
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100ae558]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
test eax, eax
je 0x100465c0
push 4
push eax
call esi
test eax, eax
jne 0x100465c0
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x60]
push eax
call dword [0x100ae558]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100465ec
push 4
push eax
call esi
test eax, eax
jne 0x100465ec
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
add eax, 0x32
push eax
push dword [ebp - 0x60]
call dword [0x100ae55c]
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 0x1004665f
push 4
push eax
call esi
test eax, eax
jne 0x1004665f
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 0x1004669b
push 4
push ecx
call esi
test eax, eax
jne 0x10046696
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 0xe8]
jmp 0x10046698
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 0x100466de
push 4
push ecx
mov dword [ebp - 0xa4], eax
call esi
test eax, eax
jne 0x100466de
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call dword [0x100ae54c]
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.100472a0
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 0x1004677e
push 4
push eax
call esi
test eax, eax
jne 0x1004677e
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100ae564]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100467a2
push 4
push eax
call esi
test eax, eax
jne 0x100467a2
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100ae564]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100467c6
push 4
push eax
call esi
test eax, eax
jne 0x100467c6
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100ae564]
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x100467ef
push 4
push eax
call esi
test eax, eax
jne 0x100467ef
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100ae564]
mov ecx, edi
call fcn.10044b10
mov ecx, edi
call fcn.100432c0
cmp byte [edi + 0xd4], 0
je 0x1004681f
mov edi, dword [edi]
test edi, edi
je 0x1004681f
push 4
push edi
call esi
test eax, eax
jne 0x1004681f
push 1
mov ecx, edi
call dword [0x100ae564]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x1004684f
mov edx, dword [ebp - 0x64]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10046845
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046872
push edx
push ecx
call fcn.100812a6
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.10081245
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008643f
call fcn.1008643f
int3