Function at 0x10023940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fe1a
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x10083040]
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 [0x10088240], eax
test ecx, ecx
je 0x10024b4c
cmp dword [ebp + 0xc], 1
jne 0x10024b4c
cmp dword [0x10088030], 0
je 0x10024b4c
mov eax, dword [edi + 4]
test eax, eax
je 0x100239b1
cmp ecx, eax
jne 0x100239b1
mov ecx, edi
call fcn.10025780
mov al, 1
jmp 0x10024b4e
mov eax, dword [edi + 0x138]
test eax, eax
je 0x100239e0
cmp ecx, eax
jne 0x100239e0
mov eax, dword [edi + 0x144]
cmp eax, 1
jle 0x100239d9
dec eax
push eax
mov ecx, edi
mov dword [edi + 0x144], eax
call fcn.10026730
mov al, 1
jmp 0x10024b4e
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x100239ff
cmp ecx, eax
jne 0x100239ff
mov eax, dword [edi + 0x144]
cmp eax, dword [edi + 0x148]
jge 0x100239d9
inc eax
jmp 0x100239cb
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 0x100239d9
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
movaps xmm1, xmmword [0x1007bf50]
mov byte [ebp - 0x75], al
movzx ecx, al
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*8 + 0x30]
test eax, eax
je 0x10024b38
cmp dword [ebp + 8], eax
jne 0x10024b38
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 0x10024b38
mov eax, dword [edi + 0x158]
mov edx, dword [ebp - 0x80]
add eax, 0x18
nop dword [eax]
cmp dword [eax], edx
je 0x10023aa4
inc dword [ebp - 0x74]
add eax, 0x68
cmp dword [ebp - 0x74], ecx
jl 0x10023a90
jmp 0x10024b38
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 0x10023be1
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x18], 0x191f0217
xor ecx, ecx
mov word [ebp - 0x14], 0x2b18
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 0x10023ae0
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 0x10023b15
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 0x10023b58
push 4
push eax
call esi
test eax, eax
jne 0x10023b58
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x108]
push eax
call dword [0x1007acbc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x10023b99
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023b8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
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 0x10023bd5
push 4
push eax
call esi
test eax, eax
jne 0x10023bd5
mov ecx, dword [ebp - 0x80]
push 0xff5cb9fe
call dword [0x1007acc4]
mov dword [ebp - 0x80], 0xff808080
jmp 0x10023d16
mov cl, 0x72
mov dword [ebp - 0xc8], 0x1c272972
mov dword [ebp - 0xc4], 0x52001716
xor eax, eax
mov dword [ebp - 0xc0], 0x2f0b1305
mov byte [ebp - 0xbc], 0
nop word [eax + eax]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0xb
jae 0x10023c25
mov cl, byte [ebp - 0xc8]
jmp 0x10023c10
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 0x10023c53
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 0x10023c99
push 4
push eax
call esi
test eax, eax
jne 0x10023c99
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x120]
push eax
call dword [0x1007acbc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0xf
jbe 0x10023cda
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023cd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
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 0x10023d16
push 4
push eax
call esi
test eax, eax
jne 0x10023d16
mov ecx, dword [ebp - 0x5c]
push 0xffc4fc03
call dword [0x1007acc4]
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 0x100244c4
mov byte [ebp - 0xa0], 0x6e
mov al, 0x3b
xor al, byte [ebp - 0xa0]
xor ah, ah
mov byte [ebp - 0x9f], al
xor cl, cl
mov al, byte [ebp - 0xa0]
mov dl, 5
mov ch, 1
mov byte [ebp - 0x6d], ah
mov dh, 0x19
mov byte [ebp - 0x98], 0
xor cl, al
mov dword [ebp - 0x30], 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 - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023dc3
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], 3
mov byte [ebp - 0x87], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023e11
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 0x10023ea5
mov eax, dword [0x1007ac14]
push ecx
call eax
test eax, eax
je 0x10023ea5
add eax, 4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x10023e6b
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10023e61
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 0x10023e93
push 4
push eax
call esi
test eax, eax
jne 0x10023e93
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x1007ac58]
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xac]
jmp 0x10024039
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x7c]
cmp word [eax + ecx*2 + 0x48], 1
jne 0x10024053
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x60], eax
je 0x10023f0b
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10023f08
push 4
push eax
call esi
test eax, eax
jne 0x10023f08
mov eax, dword [ebp - 0x5c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x10023f08
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x10023f0b
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x38], 1
jne 0x10023f9a
mov byte [ebp - 0xb8], 0x3d
mov al, 0x78
xor al, byte [ebp - 0xb8]
mov cl, 0x51
xor cl, byte [ebp - 0xb8]
mov dl, 0x1d
mov byte [ebp - 0xb7], al
mov dh, 0x4f
mov byte [ebp - 0x6d], 0x5c
mov ah, 0x70
mov al, byte [ebp - 0x6d]
mov ch, 0x52
mov byte [ebp - 0xb6], cl
mov cl, byte [ebp - 0xb8]
xor al, cl
mov byte [ebp - 0x6e], 0x59
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 0x10023fe8
mov dh, 0x11
mov byte [ebp - 0xca], 0
mov dl, 0x63
mov byte [ebp - 0xd0], dh
mov al, 0x5a
mov byte [ebp - 0xca], 0
mov cl, 0x70
mov ah, 0x64
xor al, dh
xor cl, dh
xor dl, dh
mov byte [ebp - 0xcf], al
xor ah, dh
mov byte [ebp - 0xcd], dl
mov ch, 0x62
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023ff0
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 0x1002402f
push 4
push eax
call esi
test eax, eax
jne 0x1002402c
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x1007ac58]
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 0x10024053
push 4
push eax
call esi
test eax, eax
jne 0x10024053
mov ecx, dword [ebp - 0x5c]
push eax
call dword [0x1007ac58]
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 0x10024084
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 0x100240cf
push 4
push eax
call esi
test eax, eax
jne 0x100240cf
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x1007acbc]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1002410d
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024103
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10024133
push 4
push eax
call esi
test eax, eax
jne 0x10024133
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x60]
call dword [0x1007acc4]
mov eax, dword [edi + 0x158]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 0xac], 0x5f
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, 0x7f
push ecx
push eax
mov al, 0x7a
mov cl, 0x3b
mov dh, al
mov byte [ebp - 0x6e], cl
xor al, byte [ebp - 0xac]
mov ch, dl
mov byte [ebp - 0xab], al
mov ah, 0x70
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 0x100241e0
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.1000bae0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x10024216
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 0x10024240
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 0x10024288
push 4
push eax
call esi
test eax, eax
jne 0x10024288
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x1007acbc]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x100242c6
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100242bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
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 0x1002431f
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024315
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
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 0x100243b9
push 4
push eax
call esi
test eax, eax
jne 0x100243b9
mov eax, dword [ebp - 0x60]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0xf0], eax
call esi
test eax, eax
jne 0x100243b9
mov eax, dword [ebp - 0x60]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0xec], eax
call esi
test eax, eax
jne 0x100243b9
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 [0x1007aca8]
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 0x1002440c
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x1002440c
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 [0x1007acac]
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 0x1002443d
push 4
push eax
call esi
test eax, eax
jne 0x1002443d
mov ecx, dword [ebp - 0x84]
push 1
call dword [0x1007ac58]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10024475
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002446b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100244b0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100244a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x100244eb
mov eax, dword [edi + ecx*4 + 0x84]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x100244eb
push 4
push eax
call esi
test eax, eax
jne 0x100244eb
mov ecx, dword [ebp - 0x84]
push eax
call dword [0x1007ac58]
mov al, byte [ebp - 0x61]
mov edx, dword [ebp - 0x68]
inc al
mov byte [ebp - 0x61], al
cmp al, 4
jb 0x10023d22
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 0x100246ca
mov esi, 0x35a4f8a0
mov dword [ebp - 0x7c], esi
mov ecx, dword [0x1007ac0c]
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 0x100248af
xorps xmm0, xmm0
mov word [ebp - 0x8c], 0x52
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 0x10024597
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 0x100246d9
test esi, esi
je 0x100246d9
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 0x100246d9
cmp byte [ecx + 4], 0x2d
jae 0x100246d9
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x10b8050
call eax
test eax, eax
jne 0x100246d9
mov eax, 0x10624dd3
mov esi, dword [0x1007ac10]
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 0x100246e0
cmp dword [esi + 0x3c], 0
mov dword [ebp - 0x60], esi
je 0x100246e0
push dword [ebp - 0x7c]
xor edx, edx
lea ecx, [ebp - 0x180]
push esi
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x100246aa
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100246a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
jmp 0x10024758
test esi, esi
jne 0x10024542
xor eax, eax
jmp 0x1002455e
xor ecx, ecx
mov dword [ebp - 0x60], ecx
jmp 0x100246e3
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x198]
push esi
push 0
call fcn.1000af80
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x1002473a
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024730
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
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 0x100247e5
add edx, 4
je 0x10024797
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10024791
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ecx + 4]
call dword [0x1007ac20]
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 0x100247d4
movsx esi, word [esi + 0x4e]
movsx eax, word [edx + 0x5e]
add esi, eax
jmp 0x100247d8
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 0x10024811
push 4
push eax
call esi
test eax, eax
jne 0x10024811
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x68]
call dword [0x1007acc0]
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0x100]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10024838
push 4
push eax
call esi
test eax, eax
jne 0x10024838
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
call dword [0x1007ac8c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [edi + eax*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1002485d
push 4
push eax
call esi
test eax, eax
jne 0x1002485d
mov ecx, dword [ebp - 0x68]
push 1
call dword [0x1007ac58]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10024898
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002488e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x10024b15
mov eax, dword [edi + edx*4 + 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x100248d9
push 4
push eax
call esi
test eax, eax
jne 0x100248d6
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x1007ac58]
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 0x100248fd
push 4
push eax
call esi
test eax, eax
jne 0x100248fd
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x1007acc0]
xorps xmm0, xmm0
mov word [ebp - 0x90], 0x17
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 0x10024934
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 0x10024987
push 4
push eax
call esi
test eax, eax
jne 0x10024987
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x138]
push eax
call dword [0x1007ac8c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x100249c8
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100249be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
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 0x10024b15
xorps xmm0, xmm0
mov word [ebp - 0x94], 0x77
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 0x10024a30
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 0x10024a7e
push 4
push eax
call esi
test eax, eax
jne 0x10024a7e
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x150]
push eax
call dword [0x1007ac20]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0xf
jbe 0x10024abf
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024ab5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b6b
push ecx
push edx
call fcn.1004d526
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 0x10024510
movaps xmm1, xmmword [0x1007bf50]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov al, byte [ebp - 0x75]
inc al
mov byte [ebp - 0x75], al
cmp al, 4
jb 0x10023a30
mov al, 1
jmp 0x10024b4e
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.1004d4c5
mov esp, ebp
pop ebp
ret 8
call fcn.100527f4
int3