Function at 0x10020690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c78a
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x10080040]
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 ecx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x1008523c], eax
test ecx, ecx
je 0x100218ac
cmp dword [ebp + 0xc], 1
jne 0x100218ac
cmp dword [0x10085030], 0
je 0x100218ac
mov eax, dword [edi + 4]
test eax, eax
je 0x10020701
cmp ecx, eax
jne 0x10020701
mov ecx, edi
call fcn.100224e0
mov al, 1
jmp 0x100218ae
mov eax, dword [edi + 0x138]
test eax, eax
je 0x10020730
cmp ecx, eax
jne 0x10020730
mov eax, dword [edi + 0x144]
cmp eax, 1
jle 0x10020729
dec eax
push eax
mov ecx, edi
mov dword [edi + 0x144], eax
call fcn.10023490
mov al, 1
jmp 0x100218ae
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x1002074f
cmp ecx, eax
jne 0x1002074f
mov eax, dword [edi + 0x144]
cmp eax, dword [edi + 0x148]
jge 0x10020729
inc eax
jmp 0x1002071b
mov ecx, dword [edi + 0x15c]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x158]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10020729
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
movaps xmm1, xmmword [0x10079510]
mov byte [ebp - 0x75], al
movzx ecx, al
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*8 + 0x30]
test eax, eax
je 0x10021898
cmp dword [ebp + 8], eax
jne 0x10021898
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x74], 0
mov eax, dword [edi + eax*8 + 0x1c]
mov ecx, dword [edi + 0x15c]
sub ecx, dword [edi + 0x158]
mov dword [ebp - 0x80], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ecx, ecx
jle 0x10021898
mov eax, dword [edi + 0x158]
mov edx, dword [ebp - 0x80]
add eax, 0x18
nop dword [eax]
cmp dword [eax], edx
je 0x100207f4
inc dword [ebp - 0x74]
add eax, 0x68
cmp dword [ebp - 0x74], ecx
jl 0x100207e0
jmp 0x10021898
imul eax, dword [ebp - 0x74], 0x68
mov dword [edi + 0x140], edx
mov ecx, dword [edi + 0x158]
mov dword [ebp - 0x80], 0xffffffff
cmp byte [eax + ecx + 0x65], 2
jne 0x10020931
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x18], 0x76706d78
xor ecx, ecx
mov word [ebp - 0x14], 0x4477
mov byte [ebp - 0x12], 0
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x10020830
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x27]
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020865
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.10002130
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100208a8
push 4
push eax
call esi
test eax, eax
jne 0x100208a8
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x108]
push eax
call dword [0x10077c88]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x100208e9
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100208df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10020925
push 4
push eax
call esi
test eax, eax
jne 0x10020925
mov ecx, dword [ebp - 0x80]
push 0xff5cb9fe
call dword [0x10077c90]
mov dword [ebp - 0x80], 0xff808080
jmp 0x10020a66
mov cl, 0x30
mov dword [ebp - 0xc8], 0x5e656b30
mov dword [ebp - 0xc4], 0x10425554
xor eax, eax
mov dword [ebp - 0xc0], 0x6d495147
mov byte [ebp - 0xbc], 0
nop word [eax + eax]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0xb
jae 0x10020975
mov cl, byte [ebp - 0xc8]
jmp 0x10020960
xorps xmm0, xmm0
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0xc7]
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x10c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100209a3
sub ecx, edx
lea eax, [ebp - 0xc7]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.10002130
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100209e9
push 4
push eax
call esi
test eax, eax
jne 0x100209e9
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x120]
push eax
call dword [0x10077c88]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0xf
jbe 0x10020a2a
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10020a20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10020a66
push 4
push eax
call esi
test eax, eax
jne 0x10020a66
mov ecx, dword [ebp - 0x5c]
push 0xffc4fc03
call dword [0x10077c90]
xor al, al
imul edx, dword [ebp - 0x74], 0x34
mov byte [ebp - 0x61], al
mov dword [ebp - 0x68], edx
movzx ecx, al
mov eax, dword [edi + 0x158]
add edx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x7c], edx
cmp word [eax + edx*2 + 0x48], 0
je 0x10021224
mov byte [ebp - 0xa0], 0x39
mov al, 0x6c
xor al, byte [ebp - 0xa0]
mov cl, 0x57
mov ah, cl
mov byte [ebp - 0x9f], al
mov al, byte [ebp - 0xa0]
mov dl, 0x52
mov ch, 0x56
mov byte [ebp - 0x6d], ah
mov dh, 0x4e
mov byte [ebp - 0x98], 0
xor cl, al
mov byte [ebp - 0x98], 0
xor dl, al
mov byte [ebp - 0x9e], cl
xor ch, al
mov byte [ebp - 0x9d], dl
xor dh, al
mov byte [ebp - 0x9b], ch
xor ah, al
mov byte [ebp - 0x9a], dh
mov al, byte [ebp - 0x6d]
lea ecx, [ebp - 0x9f]
xor al, byte [ebp - 0xa0]
lea edx, [ecx + 1]
xorps xmm0, xmm0
mov byte [ebp - 0x9c], ah
mov byte [ebp - 0x99], al
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020b20
sub ecx, edx
lea eax, [ebp - 0x9f]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10002130
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x87]
xorps xmm0, xmm0
mov word [ebp - 0x88], 0x20
mov byte [ebp - 0x87], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020b70
sub ecx, edx
lea eax, [ebp - 0x87]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002130
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x158]
movzx ecx, word [eax + ecx*2 + 0x48]
test ecx, ecx
je 0x10020c04
mov eax, dword [0x10077bf4]
push ecx
call eax
test eax, eax
je 0x10020c04
add eax, 4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x10020bca
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10020bc0
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10001e50
mov eax, dword [ebp - 0x6c]
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 0xa8]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10020bf2
push 4
push eax
call esi
test eax, eax
jne 0x10020bf2
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x10077c24]
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xac]
jmp 0x10020d99
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x7c]
cmp word [eax + ecx*2 + 0x48], 1
jne 0x10020db3
cmp byte [0x100850a8], 0
mov eax, dword [0x10085030]
mov dword [ebp - 0x60], eax
je 0x10020c6a
mov ecx, 0x10b8134
call fcn.1000f390
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10020c67
push 4
push eax
call esi
test eax, eax
jne 0x10020c67
mov eax, dword [ebp - 0x5c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x10020c67
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x10020c6a
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x38], 1
jne 0x10020cf9
mov byte [ebp - 0xb8], 0x73
mov al, 0x36
xor al, byte [ebp - 0xb8]
mov cl, 0x1f
xor cl, byte [ebp - 0xb8]
mov dl, 0x53
mov byte [ebp - 0xb7], al
mov dh, 1
mov byte [ebp - 0x6d], 0x12
mov ah, 0x3e
mov al, byte [ebp - 0x6d]
mov ch, 0x1c
mov byte [ebp - 0xb6], cl
mov cl, byte [ebp - 0xb8]
xor al, cl
mov byte [ebp - 0x6e], 0x17
mov byte [ebp - 0xb1], al
xor dl, cl
mov al, byte [ebp - 0x6e]
xor dh, cl
xor ah, cl
mov byte [ebp - 0xaf], 0
xor ch, cl
mov byte [ebp - 0xb5], dl
xor al, cl
mov byte [ebp - 0xb2], dh
mov byte [ebp - 0xb4], ah
lea edx, [ebp - 0xb7]
mov byte [ebp - 0xb3], ch
mov byte [ebp - 0xb0], al
mov byte [ebp - 0xaf], 0
jmp 0x10020d47
mov dh, 0x2b
mov byte [ebp - 0xca], 0
mov dl, 0x59
mov byte [ebp - 0xd0], dh
mov al, 0x60
mov byte [ebp - 0xca], 0
mov cl, 0x4a
mov ah, 0x5e
xor al, dh
xor cl, dh
xor dl, dh
mov byte [ebp - 0xcf], al
xor ah, dh
mov byte [ebp - 0xcd], dl
mov ch, 0x58
mov byte [ebp - 0xce], cl
xor ch, dh
mov byte [ebp - 0xcc], ah
mov byte [ebp - 0xcb], ch
lea edx, [ebp - 0xcf]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020d50
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10001e50
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xac]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10020d8f
push 4
push eax
call esi
test eax, eax
jne 0x10020d8c
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x10077c24]
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xa8]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10020db3
push 4
push eax
call esi
test eax, eax
jne 0x10020db3
mov ecx, dword [ebp - 0x5c]
push eax
call dword [0x10077c24]
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
cmova edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe8], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020de4
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.10002130
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 4
lea eax, [eax + eax*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10020e2f
push 4
push eax
call esi
test eax, eax
jne 0x10020e2f
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x10077c88]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x10020e6d
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10020e63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10020e93
push 4
push eax
call esi
test eax, eax
jne 0x10020e93
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x60]
call dword [0x10077c90]
mov eax, dword [edi + 0x158]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 0xac], 0x10
mov byte [ebp - 0xa4], 0
mov byte [ebp - 0xa4], 0
movzx ecx, word [eax + edx*2 + 0x58]
movzx eax, word [eax + edx*2 + 0x50]
mov dl, 0x30
push ecx
push eax
mov al, 0x35
mov cl, 0x74
mov dh, al
mov byte [ebp - 0x6e], cl
xor al, byte [ebp - 0xac]
mov ch, dl
mov byte [ebp - 0xab], al
mov ah, 0x3f
mov al, byte [ebp - 0xac]
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0xa9], dl
xor dh, al
mov byte [ebp - 0xaa], cl
xor ah, al
mov byte [ebp - 0xa6], dh
mov al, byte [ebp - 0x6e]
xor al, byte [ebp - 0xac]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0xa7], ch
lea ecx, [ebp - 0xab]
mov byte [ebp - 0xa8], ah
mov byte [ebp - 0xa5], al
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020f40
sub ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xab]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x168]
push eax
call fcn.1000b3c0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x10020f76
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0xd8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe8], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020fa0
sub ecx, dword [ebp - 0x60]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.10002130
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 6
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 0xb4]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10020fe8
push 4
push eax
call esi
test eax, eax
jne 0x10020fe8
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x10077c88]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x10021026
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002101c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
cmp ecx, 0xf
jbe 0x1002107f
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021075
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
movzx eax, word [eax + ecx*2 + 0x58]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb8]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10021119
push 4
push eax
call esi
test eax, eax
jne 0x10021119
mov eax, dword [ebp - 0x60]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0xf0], eax
call esi
test eax, eax
jne 0x10021119
mov eax, dword [ebp - 0x60]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0xec], eax
call esi
test eax, eax
jne 0x10021119
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x84]
mov dword [eax], 0
mov eax, dword [ebp - 0xec]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x60]
call dword [0x10077c74]
mov eax, dword [edi + 0x158]
mov esi, dword [ebp - 0x7c]
movzx esi, word [eax + esi*2 + 0x50]
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb8]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x1002116c
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x1002116c
mov ecx, dword [ebp - 0x84]
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 [0x10077c78]
mov ecx, dword [ebp - 0x6c]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [edi + ecx*4 + 0x84]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x1002119d
push 4
push eax
call esi
test eax, eax
jne 0x1002119d
mov ecx, dword [ebp - 0x84]
push 1
call dword [0x10077c24]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100211d5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100211cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10021210
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021206
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x1002124b
mov eax, dword [edi + ecx*4 + 0x84]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x1002124b
push 4
push eax
call esi
test eax, eax
jne 0x1002124b
mov ecx, dword [ebp - 0x84]
push eax
call dword [0x10077c24]
mov al, byte [ebp - 0x61]
mov edx, dword [ebp - 0x68]
inc al
mov byte [ebp - 0x61], al
cmp al, 4
jb 0x10020a72
xor al, al
imul ecx, dword [ebp - 0x74], 0x1a
mov byte [ebp - 0x61], al
mov dword [ebp - 0x84], ecx
nop dword [eax]
movzx edx, al
mov eax, dword [edi + 0x158]
add ecx, edx
mov dword [ebp - 0x6c], edx
mov esi, dword [eax + ecx*4 + 0x20]
mov eax, dword [eax + ecx*4 + 0x34]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], esi
lea eax, [esi - 1]
cmp eax, 0x5f5e0fe
ja 0x1002142a
mov esi, 0x35a4f8a0
mov dword [ebp - 0x7c], esi
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1002160f
xorps xmm0, xmm0
mov word [ebp - 0x8c], 0x4a
lea ecx, [ebp - 0x8b]
mov byte [ebp - 0x8b], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100212f7
sub ecx, edx
lea eax, [ebp - 0x8b]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002130
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 4], 7
cmp dword [ecx], 0
je 0x10021439
test esi, esi
je 0x10021439
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 0x10021439
cmp byte [ecx + 4], 0x2d
jae 0x10021439
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x10b8050
call eax
test eax, eax
jne 0x10021439
mov eax, 0x10624dd3
mov esi, dword [0x10077bf0]
mul dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
shr edx, 6
sub eax, edx
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x10021440
cmp dword [esi + 0x3c], 0
mov dword [ebp - 0x60], esi
je 0x10021440
push dword [ebp - 0x7c]
xor edx, edx
lea ecx, [ebp - 0x180]
push esi
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x1002140a
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021400
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
jmp 0x100214b8
test esi, esi
jne 0x100212a2
xor eax, eax
jmp 0x100212be
xor ecx, ecx
mov dword [ebp - 0x60], ecx
jmp 0x10021443
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x198]
push esi
push 0
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x1002149a
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021490
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*2]
mov edx, dword [edi + eax*4 + 0xf8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], edx
test edx, edx
je 0x10021545
add edx, 4
je 0x100214f7
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100214f1
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ecx + 4]
call dword [0x10077bfc]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi + eax*4 + 0xf8]
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x60], edx
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*4 + 0xf8]
mov dword [eax + 0x64], esi
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*4 + 0xf8]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0x68], ecx
mov ecx, dword [ebp - 0x6c]
test esi, esi
je 0x10021534
movsx esi, word [esi + 0x4e]
movsx eax, word [edx + 0x5e]
add esi, eax
jmp 0x10021538
movsx esi, word [edx + 0x5e]
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*4 + 0xf8]
mov dword [eax + 0x6c], esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*4 + 0xfc]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10021571
push 4
push eax
call esi
test eax, eax
jne 0x10021571
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x68]
call dword [0x10077c8c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0x100]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10021598
push 4
push eax
call esi
test eax, eax
jne 0x10021598
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
call dword [0x10077c58]
mov eax, dword [ebp - 0x6c]
mov eax, dword [edi + eax*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100215bd
push 4
push eax
call esi
test eax, eax
jne 0x100215bd
mov ecx, dword [ebp - 0x68]
push 1
call dword [0x10077c24]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100215f8
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100215ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x10021875
mov eax, dword [edi + edx*4 + 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10021639
push 4
push eax
call esi
test eax, eax
jne 0x10021636
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x10077c24]
mov edx, dword [ebp - 0x6c]
lea eax, [edx + edx*2]
mov eax, dword [edi + eax*4 + 0xfc]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1002165d
push 4
push eax
call esi
test eax, eax
jne 0x1002165d
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x10077c8c]
xorps xmm0, xmm0
mov word [ebp - 0x90], 0x22
lea ecx, [ebp - 0x8f]
mov byte [ebp - 0x8f], 0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x128], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x124], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021694
sub ecx, edx
lea eax, [ebp - 0x8f]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10002130
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], 8
lea eax, [eax + eax*2]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + eax*4 + 0x100]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100216e7
push 4
push eax
call esi
test eax, eax
jne 0x100216e7
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x138]
push eax
call dword [0x10077c58]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x10021728
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002171e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp dword [edi + eax*4 + 0xf8], 0
je 0x10021875
xorps xmm0, xmm0
mov word [ebp - 0x94], 8
lea ecx, [ebp - 0x93]
mov byte [ebp - 0x93], 0
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x13c], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021790
sub ecx, edx
lea eax, [ebp - 0x93]
push ecx
push eax
lea ecx, [ebp - 0x150]
call fcn.10002130
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 9
mov eax, dword [edi + eax*4 + 0xf8]
add eax, 4
mov dword [ebp - 0x68], eax
je 0x100217de
push 4
push eax
call esi
test eax, eax
jne 0x100217de
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x150]
push eax
call dword [0x10077bfc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0xf
jbe 0x1002181f
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021815
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100218cb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
mov eax, dword [edi + ecx*4 + 0xf8]
mov dword [eax + 0x60], 0
mov eax, dword [edi + ecx*4 + 0xf8]
mov dword [eax + 0x64], 0
mov eax, dword [edi + ecx*4 + 0xf8]
mov dword [eax + 0x68], 0
mov eax, dword [edi + ecx*4 + 0xf8]
mov dword [eax + 0x6c], 0
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0x84]
inc al
mov byte [ebp - 0x61], al
cmp al, 5
jb 0x10021270
movaps xmm1, xmmword [0x10079510]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov al, byte [ebp - 0x75]
inc al
mov byte [ebp - 0x75], al
cmp al, 4
jb 0x10020780
mov al, 1
jmp 0x100218ae
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.1004a015
mov esp, ebp
pop ebp
ret 8
call fcn.1004f344
int3