Function at 0x10029da0
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 0x10089a25
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x100a8080]
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
cmp byte [edi + 0x20], 0
mov ecx, 0xe10
je 0x1002a16d
mov esi, dword [edi + 0x24]
test esi, esi
jle 0x10029dfc
dec esi
mov dword [edi + 0x24], esi
test esi, esi
js 0x1002a15c
mov eax, esi
mov dword [ebp - 0x1c], 0
cdq
xorps xmm0, xmm0
idiv ecx
mov eax, 0x88888889
mov dword [ebp - 0x18], 0xf
mov ecx, edx
imul ecx
movups xmmword [ebp - 0x2c], xmm0
mov eax, esi
mov esi, 0x3c
add edx, ecx
mov byte [ebp - 0x2c], 0
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
idiv esi
mov dword [ebp - 4], 0
push edx
push ecx
cmp ecx, 0xa
jae 0x10029f83
cmp edx, 0xa
jae 0x10029f21
mov al, 0x73
mov byte [ebp - 0x38], 0x43
mov ch, al
mov byte [ebp - 0x30], 0
xor al, byte [ebp - 0x38]
mov cl, 0x66
mov dl, 0x27
mov byte [ebp - 0x37], al
mov al, byte [ebp - 0x38]
mov dh, cl
xor cl, al
mov byte [ebp - 0x39], dl
xor dl, al
mov byte [ebp - 0x36], cl
xor ch, al
mov byte [ebp - 0x35], dl
xor dh, al
mov byte [ebp - 0x33], ch
mov ah, 0x79
mov byte [ebp - 0x32], dh
xor ah, al
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x39]
lea ecx, [ebp - 0x37]
xor al, byte [ebp - 0x38]
lea esi, [ecx + 1]
sub esp, 0x18
mov byte [ebp - 0x34], ah
mov edx, esp
mov byte [ebp - 0x31], al
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 0x10029ec0
sub ecx, esi
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x58]
push eax
call fcn.10004de0
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.1000bc40
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1002a04e
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a044
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a524
jmp 0x1002a044
mov byte [ebp - 0x38], 0x1f
mov al, 0x2f
xor al, byte [ebp - 0x38]
mov cl, 0x3a
mov dl, 0x7b
mov byte [ebp - 0x37], al
mov al, byte [ebp - 0x38]
mov ch, cl
mov dh, dl
mov byte [ebp - 0x31], 0
mov ah, 0x25
mov byte [ebp - 0x31], 0
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x35], dl
xor dh, al
mov byte [ebp - 0x36], cl
xor ah, al
mov byte [ebp - 0x32], dh
sub esp, 0x18
mov byte [ebp - 0x33], ch
mov edx, esp
mov byte [ebp - 0x34], ah
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029f77
jmp 0x10029ec7
cmp edx, 0xa
jae 0x10029fec
mov al, 0x1f
mov byte [ebp - 0x38], 0x3a
mov ch, al
mov cl, 0x5e
xor al, byte [ebp - 0x38]
xor dl, dl
mov dh, cl
mov byte [ebp - 0x31], dl
mov byte [ebp - 0x37], al
mov ah, 0xa
mov al, byte [ebp - 0x38]
xor cl, al
mov byte [ebp - 0x31], 0
xor dl, al
mov byte [ebp - 0x36], cl
xor ch, al
mov byte [ebp - 0x35], dl
xor dh, al
mov byte [ebp - 0x33], ch
xor ah, al
mov byte [ebp - 0x32], dh
sub esp, 0x18
mov byte [ebp - 0x34], ah
mov edx, esp
lea ecx, [ebp - 0x37]
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 0x10029fe0
jmp 0x10029ec7
mov dh, 0x4c
mov byte [ebp - 0x32], 0
mov cl, 0x28
mov byte [ebp - 0x38], dh
mov al, 0x69
mov byte [ebp - 0x32], 0
mov ch, cl
mov dl, 0x76
mov ah, al
xor cl, dh
xor ch, dh
mov byte [ebp - 0x36], cl
xor al, dh
mov byte [ebp - 0x33], ch
xor dl, dh
mov byte [ebp - 0x37], al
xor ah, dh
mov byte [ebp - 0x35], dl
sub esp, 0x18
mov byte [ebp - 0x34], ah
mov edx, esp
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a038
jmp 0x10029ec7
push ecx
push edx
call fcn.100675d1
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [0x1009feb0]
cmova eax, dword [ebp - 0x2c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x36184e30
mov byte [ebp - 0x44], 0
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x13
jb 0x1002a072
sub esp, 0x18
mov byte [ebp - 0x44], 0
mov edx, esp
lea ecx, [ebp - 0x57]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a0a2
sub ecx, esi
lea eax, [ebp - 0x57]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x70]
push eax
call fcn.10004de0
add esp, 0x20
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov esi, dword [edi + 8]
test esi, esi
je 0x1002a0e9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002a0e9
push dword [ebp - 0x40]
mov ecx, esi
call dword [0x1009dfc8]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1002a121
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a117
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a524
push ecx
push edx
call fcn.100675d1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002a15c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a152
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a524
push ecx
push edx
call fcn.100675d1
add esp, 8
cmp dword [edi + 0x24], 0
jg 0x1002a16d
mov byte [edi + 0x20], 0
mov dword [edi + 0x24], 0
cmp byte [edi + 0x21], 0
je 0x1002a3d4
movzx eax, word [edi + 0x28]
mov ecx, eax
test ax, ax
jle 0x1002a18a
dec eax
mov word [edi + 0x28], ax
movzx ecx, ax
test cx, cx
js 0x1002a3c3
movsx esi, cx
xorps xmm0, xmm0
mov eax, esi
mov dword [ebp - 0x1c], 0
cdq
mov ecx, 0xe10
idiv ecx
mov eax, 0x88888889
mov dword [ebp - 0x18], 0xf
mov ecx, edx
imul ecx
movups xmmword [ebp - 0x2c], xmm0
mov eax, esi
mov esi, 0x3c
add edx, ecx
mov byte [ebp - 0x2c], 0
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
idiv esi
movzx ecx, cx
movzx eax, dx
mov dword [ebp - 4], 2
cmp ecx, 0xa
jae 0x1002a3f2
cmp eax, 0xa
jae 0x1002a3f2
push eax
push ecx
mov al, 0x13
mov byte [ebp - 0x38], 0x23
mov ch, al
mov byte [ebp - 0x30], 0
xor al, byte [ebp - 0x38]
mov cl, 6
mov dl, 0x47
mov byte [ebp - 0x37], al
mov al, byte [ebp - 0x38]
mov dh, cl
xor cl, al
mov byte [ebp - 0x39], dl
xor dl, al
mov byte [ebp - 0x36], cl
xor ch, al
mov byte [ebp - 0x35], dl
xor dh, al
mov byte [ebp - 0x33], ch
mov ah, 0x19
mov byte [ebp - 0x32], dh
xor ah, al
mov byte [ebp - 0x30], 0
mov al, byte [ebp - 0x39]
lea ecx, [ebp - 0x37]
xor al, byte [ebp - 0x38]
lea esi, [ecx + 1]
sub esp, 0x18
mov byte [ebp - 0x34], ah
mov edx, esp
mov byte [ebp - 0x31], al
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a260
sub ecx, esi
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x70]
push eax
call fcn.10004de0
add esp, 0x24
lea ecx, [ebp - 0x2c]
push eax
call fcn.1000bc40
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1002a2be
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a2b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a524
push ecx
push edx
call fcn.100675d1
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
movaps xmm0, xmmword [str._IAMEBEBK_fxEAI]
cmova eax, dword [ebp - 0x2c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x5f09770c
mov word [ebp - 0x44], 0x71
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x14
jb 0x1002a2e4
sub esp, 0x18
mov byte [ebp - 0x43], 0
mov edx, esp
lea ecx, [ebp - 0x57]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a314
sub ecx, esi
lea eax, [ebp - 0x57]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x70]
push eax
call fcn.10004de0
add esp, 0x20
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1002a35b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002a35b
push dword [ebp - 0x40]
mov ecx, esi
call dword [0x1009dfc8]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1002a38f
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a385
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a524
push ecx
push edx
call fcn.100675d1
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002a3c3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a3b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a524
push ecx
push edx
call fcn.100675d1
add esp, 8
cmp word [edi + 0x28], 0
jg 0x1002a3d4
xor eax, eax
mov byte [edi + 0x21], 0
mov word [edi + 0x28], ax
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.10067570
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, eax
mov esi, ecx
push edx
push esi
cmp ecx, 0xa
jae 0x1002a45f
mov byte [ebp - 0x38], 0x3e
mov al, 0xe
xor al, byte [ebp - 0x38]
mov cl, 0x1b
mov dl, 0x5a
mov byte [ebp - 0x37], al
mov al, byte [ebp - 0x38]
mov ch, cl
mov dh, dl
mov byte [ebp - 0x31], 0
mov ah, 4
mov byte [ebp - 0x31], 0
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x35], dl
xor dh, al
mov byte [ebp - 0x36], cl
xor ah, al
mov byte [ebp - 0x32], dh
sub esp, 0x18
mov byte [ebp - 0x33], ch
mov edx, esp
mov byte [ebp - 0x34], ah
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a453
jmp 0x1002a267
cmp eax, 0xa
jae 0x1002a4cc
mov al, 0x20
mov byte [ebp - 0x38], 5
mov ch, al
mov byte [ebp - 0x31], 0
xor al, byte [ebp - 0x38]
mov cl, 0x61
mov dh, cl
mov byte [ebp - 0x37], al
mov al, byte [ebp - 0x38]
mov dl, 0x3f
mov ah, 0x35
mov byte [ebp - 0x31], 0
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x35], dl
xor dh, al
mov byte [ebp - 0x36], cl
xor ah, al
mov byte [ebp - 0x32], dh
sub esp, 0x18
mov byte [ebp - 0x33], ch
mov edx, esp
mov byte [ebp - 0x34], ah
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
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 0x1002a4c0
jmp 0x1002a267
mov dh, 0x5a
mov byte [ebp - 0x32], 0
mov cl, 0x3e
mov byte [ebp - 0x38], dh
mov al, 0x7f
mov byte [ebp - 0x32], 0
mov ch, cl
mov dl, 0x60
mov ah, al
xor cl, dh
xor ch, dh
mov byte [ebp - 0x36], cl
xor al, dh
mov byte [ebp - 0x33], ch
xor dl, dh
mov byte [ebp - 0x37], al
xor ah, dh
mov byte [ebp - 0x35], dl
sub esp, 0x18
mov byte [ebp - 0x34], ah
mov edx, esp
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a518
jmp 0x1002a267
call fcn.1006cd3b
int3