Function at 0x100310e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100677aa
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x1007c040]
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 [0x1007fa8c], eax
test ecx, ecx
je 0x10032302
cmp dword [ebp + 0xc], 1
jne 0x10032302
cmp dword [0x1007f860], 0
je 0x10032302
mov eax, dword [edi + 4]
test eax, eax
je 0x10031151
cmp ecx, eax
jne 0x10031151
mov ecx, edi
call fcn.10032f30
mov al, 1
jmp 0x10032304
mov eax, dword [edi + 0x138]
test eax, eax
je 0x10031180
cmp ecx, eax
jne 0x10031180
mov eax, dword [edi + 0x144]
cmp eax, 1
jle 0x10031179
dec eax
push eax
mov ecx, edi
mov dword [edi + 0x144], eax
call fcn.10034b50
mov al, 1
jmp 0x10032304
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x1003119f
cmp ecx, eax
jne 0x1003119f
mov eax, dword [edi + 0x144]
cmp eax, dword [edi + 0x148]
jge 0x10031179
inc eax
jmp 0x1003116b
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 0x10031179
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
movaps xmm1, xmmword [0x10074cc0]
mov byte [ebp - 0x75], al
movzx ecx, al
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*8 + 0x30]
test eax, eax
je 0x100322e8
cmp dword [ebp + 8], eax
jne 0x100322e8
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 0x100322e8
mov eax, dword [edi + 0x158]
mov edx, dword [ebp - 0x80]
add eax, 0x18
nop dword [eax]
cmp dword [eax], edx
je 0x10031244
inc dword [ebp - 0x74]
add eax, 0x68
cmp dword [ebp - 0x74], ecx
jl 0x10031230
jmp 0x100322e8
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 0x10031381
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x18], 0xa0c1104
xor ecx, ecx
mov word [ebp - 0x14], 0x380b
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 0x10031280
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 0x100312b5
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.100051a0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100312f8
push 4
push eax
call esi
test eax, eax
jne 0x100312f8
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x108]
push eax
call dword [0x10073638]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x10031339
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003132f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
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 0x10031375
push 4
push eax
call esi
test eax, eax
jne 0x10031375
mov ecx, dword [ebp - 0x80]
push 0xff5cb9fe
call dword [0x10073640]
mov dword [ebp - 0x80], 0xff808080
jmp 0x100314b6
mov cl, 8
mov dword [ebp - 0xc8], 0x665d5308
mov dword [ebp - 0xc4], 0x287a6d6c
xor eax, eax
mov dword [ebp - 0xc0], 0x5571697f
mov byte [ebp - 0xbc], 0
nop word [eax + eax]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0xb
jae 0x100313c5
mov cl, byte [ebp - 0xc8]
jmp 0x100313b0
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 0x100313f3
sub ecx, edx
lea eax, [ebp - 0xc7]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.100051a0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10031439
push 4
push eax
call esi
test eax, eax
jne 0x10031439
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x120]
push eax
call dword [0x10073638]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0xf
jbe 0x1003147a
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031470
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
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 0x100314b6
push 4
push eax
call esi
test eax, eax
jne 0x100314b6
mov ecx, dword [ebp - 0x5c]
push 0xffc4fc03
call dword [0x10073640]
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 0x10031c74
mov byte [ebp - 0xa0], 0x3f
mov al, 0x6a
xor al, byte [ebp - 0xa0]
mov cl, 0x51
mov ah, cl
mov byte [ebp - 0x9f], al
mov al, byte [ebp - 0xa0]
mov dl, 0x54
mov ch, 0x50
mov byte [ebp - 0x6d], ah
mov dh, 0x48
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 0x10031570
sub ecx, edx
lea eax, [ebp - 0x9f]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100051a0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x87]
xorps xmm0, xmm0
mov word [ebp - 0x88], 0x51
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 0x100315c0
sub ecx, edx
lea eax, [ebp - 0x87]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100051a0
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 0x10031654
mov eax, dword [0x10073590]
push ecx
call eax
test eax, eax
je 0x10031654
add eax, 4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x1003161a
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10031610
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10004eb0
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 0x10031642
push 4
push eax
call esi
test eax, eax
jne 0x10031642
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x100735d4]
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xac]
jmp 0x100317e9
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x7c]
cmp word [eax + ecx*2 + 0x48], 1
jne 0x10031803
cmp byte [0x1007f8dc], 0
mov eax, dword [0x1007f860]
mov dword [ebp - 0x60], eax
je 0x100316ba
mov ecx, 0x10b8134
call fcn.10013040
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100316b7
push 4
push eax
call esi
test eax, eax
jne 0x100316b7
mov eax, dword [ebp - 0x5c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x100316b7
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x100316ba
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x38], 1
jne 0x10031749
mov byte [ebp - 0xb8], 0x7a
mov al, 0x3f
xor al, byte [ebp - 0xb8]
mov cl, 0x16
xor cl, byte [ebp - 0xb8]
mov dl, 0x5a
mov byte [ebp - 0xb7], al
mov dh, 8
mov byte [ebp - 0x6d], 0x1b
mov ah, 0x37
mov al, byte [ebp - 0x6d]
mov ch, 0x15
mov byte [ebp - 0xb6], cl
mov cl, byte [ebp - 0xb8]
xor al, cl
mov byte [ebp - 0x6e], 0x1e
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 0x10031797
mov dh, 0x4f
mov byte [ebp - 0xca], 0
mov dl, 0x3d
mov byte [ebp - 0xd0], dh
mov al, 4
mov byte [ebp - 0xca], 0
mov cl, 0x2e
mov ah, 0x3a
xor al, dh
xor cl, dh
xor dl, dh
mov byte [ebp - 0xcf], al
xor ah, dh
mov byte [ebp - 0xcd], dl
mov ch, 0x3c
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 0x100317a0
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10004eb0
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 0x100317df
push 4
push eax
call esi
test eax, eax
jne 0x100317dc
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x100735d4]
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 0x10031803
push 4
push eax
call esi
test eax, eax
jne 0x10031803
mov ecx, dword [ebp - 0x5c]
push eax
call dword [0x100735d4]
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 0x10031834
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.100051a0
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 0x1003187f
push 4
push eax
call esi
test eax, eax
jne 0x1003187f
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x100318bd
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100318b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x100318e3
push 4
push eax
call esi
test eax, eax
jne 0x100318e3
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x60]
call dword [0x10073640]
mov eax, dword [edi + 0x158]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 0xac], 0x42
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, 0x62
push ecx
push eax
mov al, 0x67
mov cl, 0x26
mov dh, al
mov byte [ebp - 0x6e], cl
xor al, byte [ebp - 0xac]
mov ch, dl
mov byte [ebp - 0xab], al
mov ah, 0x6d
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 0x10031990
sub ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xab]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x168]
push eax
call fcn.10004d30
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x100319c6
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 0x100319f0
sub ecx, dword [ebp - 0x60]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.100051a0
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 0x10031a38
push 4
push eax
call esi
test eax, eax
jne 0x10031a38
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x10031a76
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031a6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
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 0x10031acf
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031ac5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
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 0x10031b69
push 4
push eax
call esi
test eax, eax
jne 0x10031b69
mov eax, dword [ebp - 0x60]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0xf0], eax
call esi
test eax, eax
jne 0x10031b69
mov eax, dword [ebp - 0x60]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0xec], eax
call esi
test eax, eax
jne 0x10031b69
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 [0x10073624]
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 0x10031bbc
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x10031bbc
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 [0x10073628]
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 0x10031bed
push 4
push eax
call esi
test eax, eax
jne 0x10031bed
mov ecx, dword [ebp - 0x84]
push 1
call dword [0x100735d4]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10031c25
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031c1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10031c60
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031c56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x10031c9b
mov eax, dword [edi + ecx*4 + 0x84]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x10031c9b
push 4
push eax
call esi
test eax, eax
jne 0x10031c9b
mov ecx, dword [ebp - 0x84]
push eax
call dword [0x100735d4]
mov al, byte [ebp - 0x61]
mov edx, dword [ebp - 0x68]
inc al
mov byte [ebp - 0x61], al
cmp al, 4
jb 0x100314c2
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 0x10031e7a
mov esi, 0x35a4f8a0
mov dword [ebp - 0x7c], esi
mov ecx, dword [0x10073588]
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 0x1003205f
xorps xmm0, xmm0
mov word [ebp - 0x8c], 0x4c
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 0x10031d47
sub ecx, edx
lea eax, [ebp - 0x8b]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.100051a0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 4], 7
cmp dword [ecx], 0
je 0x10031e89
test esi, esi
je 0x10031e89
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 0x10031e89
cmp byte [ecx + 4], 0x2d
jae 0x10031e89
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x10b8050
call eax
test eax, eax
jne 0x10031e89
mov eax, 0x10624dd3
mov esi, dword [0x1007358c]
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 0x10031e90
cmp dword [esi + 0x3c], 0
mov dword [ebp - 0x60], esi
je 0x10031e90
push dword [ebp - 0x7c]
xor edx, edx
lea ecx, [ebp - 0x180]
push esi
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x10031e5a
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031e50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
jmp 0x10031f08
test esi, esi
jne 0x10031cf2
xor eax, eax
jmp 0x10031d0e
xor ecx, ecx
mov dword [ebp - 0x60], ecx
jmp 0x10031e93
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x198]
push esi
push 0
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x10031eea
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031ee0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
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 0x10031f95
add edx, 4
je 0x10031f47
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10031f41
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ecx + 4]
call dword [0x1007359c]
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 0x10031f84
movsx esi, word [esi + 0x4e]
movsx eax, word [edx + 0x5e]
add esi, eax
jmp 0x10031f88
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 0x10031fc1
push 4
push eax
call esi
test eax, eax
jne 0x10031fc1
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x68]
call dword [0x1007363c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0x100]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10031fe8
push 4
push eax
call esi
test eax, eax
jne 0x10031fe8
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
call dword [0x10073608]
mov eax, dword [ebp - 0x6c]
mov eax, dword [edi + eax*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003200d
push 4
push eax
call esi
test eax, eax
jne 0x1003200d
mov ecx, dword [ebp - 0x68]
push 1
call dword [0x100735d4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10032048
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003203e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x100322c5
mov eax, dword [edi + edx*4 + 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10032089
push 4
push eax
call esi
test eax, eax
jne 0x10032086
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x100735d4]
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 0x100320ad
push 4
push eax
call esi
test eax, eax
jne 0x100320ad
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x1007363c]
xorps xmm0, xmm0
mov word [ebp - 0x90], 0x2b
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 0x100320e4
sub ecx, edx
lea eax, [ebp - 0x8f]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.100051a0
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 0x10032137
push 4
push eax
call esi
test eax, eax
jne 0x10032137
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x138]
push eax
call dword [0x10073608]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x10032178
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003216e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
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 0x100322c5
xorps xmm0, xmm0
mov word [ebp - 0x94], 0x30
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 0x100321e0
sub ecx, edx
lea eax, [ebp - 0x93]
push ecx
push eax
lea ecx, [ebp - 0x150]
call fcn.100051a0
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 0x1003222e
push 4
push eax
call esi
test eax, eax
jne 0x1003222e
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x150]
push eax
call dword [0x1007359c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0xf
jbe 0x1003226f
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032265
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100322fc
push ecx
push edx
call fcn.100641c5
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 0x10031cc0
movaps xmm1, xmmword [0x10074cc0]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov al, byte [ebp - 0x75]
inc al
mov byte [ebp - 0x75], al
cmp al, 4
jb 0x100311d0
mov al, 1
jmp 0x10032304
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064164
mov esp, ebp
pop ebp
ret 8