Function at 0x10041690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064150
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov bh, 0x15
mov byte [ebp - 0xd], 0x12
mov byte [ebp - 0xe], bh
mov al, 4
mov bh, byte [ebp - 0xd]
mov dl, 0x1e
mov byte [ebp - 0x20], 0x70
mov bl, 0x2f
xor bh, byte [ebp - 0x20]
mov ah, 0x13
xor al, byte [ebp - 0x20]
mov dh, 0x1c
mov byte [ebp - 0xd], bh
mov cl, 0x1f
mov byte [ebp - 0x1f], bh
mov ch, 3
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x20]
xor dl, al
mov byte [ebp - 0x16], 0
xor bl, al
mov byte [ebp - 0x1d], dl
xor ah, al
mov byte [ebp - 0x1c], bl
xor dh, al
mov byte [ebp - 0x1b], ah
xor cl, al
mov byte [ebp - 0x1a], dh
xor ch, al
mov byte [ebp - 0x19], cl
xor bh, al
mov byte [ebp - 0x18], ch
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x17], bh
mov byte [ebp - 0x16], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x10041733
xor ecx, ecx
jmp 0x10041749
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041740
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004178c
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
mov cl, 0x6d
mov dword [ebp - 0x20], 0x3190f6d
mov dword [ebp - 0x1c], 0x1f0c1a32
xor eax, eax
mov dword [ebp - 0x18], 0x1f02041f
mov byte [ebp - 0x14], 0
nop dword [eax]
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xb
jae 0x100417bf
mov cl, byte [ebp - 0x20]
jmp 0x100417b0
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x100417df
xor ecx, ecx
jmp 0x100417ee
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100417e5
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 8], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10041831
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
mov bh, 0x39
mov byte [ebp - 0xd], 0x3e
mov byte [ebp - 0xe], bh
mov al, 0x28
mov bh, byte [ebp - 0xd]
mov cl, 0x32
mov byte [ebp - 0x20], 0x5c
mov dl, 3
xor bh, byte [ebp - 0x20]
mov bl, 0x2e
xor al, byte [ebp - 0x20]
mov ah, 0x33
mov byte [ebp - 0xd], bh
mov ch, 0x3b
mov byte [ebp - 0x1f], bh
mov dh, 0x29
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x20]
xor cl, al
mov byte [ebp - 0x16], 0
xor dl, al
mov byte [ebp - 0x1d], cl
xor bl, al
mov byte [ebp - 0x1c], dl
xor ah, al
mov byte [ebp - 0x1b], bl
xor ch, al
mov byte [ebp - 0x1a], ah
xor dh, al
mov byte [ebp - 0x19], ch
xor bh, al
mov byte [ebp - 0x18], dh
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x17], bh
mov byte [ebp - 0x16], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x100418ab
xor ecx, ecx
jmp 0x100418ba
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100418b1
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0xc], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x100418fd
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
mov byte [ebp - 0x1c], 0x2a
mov al, 0x5e
xor al, byte [ebp - 0x1c]
mov bh, 0x48
xor bh, byte [ebp - 0x1c]
mov cl, 0x44
mov byte [ebp - 0x1a], al
mov dl, 0x75
mov al, byte [ebp - 0x1c]
mov bl, 0x47
mov ah, 0x4b
mov byte [ebp - 0x13], 0
mov ch, 0x4d
mov byte [ebp - 0x1b], bh
mov dh, 0x4f
mov byte [ebp - 0x13], 0
xor cl, al
mov dword [ebp - 0x44], 0xf
xor dl, al
mov byte [ebp - 0x19], cl
xor bl, al
mov byte [ebp - 0x18], dl
xor ah, al
mov byte [ebp - 0x17], bl
xor ch, al
mov byte [ebp - 0x16], ah
xor dh, al
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x14], dh
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
test bh, bh
jne 0x10041960
xor ecx, ecx
jmp 0x1004196f
lea ecx, [ebp - 0x1b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041966
sub ecx, edx
push ecx
lea eax, [ebp - 0x1b]
push eax
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0x10], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x100419b2
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
mov bh, 3
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0xe], bh
mov al, 4
mov byte [ebp - 0xd], 0x12
xor bl, bl
mov bh, byte [ebp - 0xd]
mov cl, 0x1e
xor bh, byte [ebp - 0x20]
mov dl, 0x2f
mov byte [ebp - 0xf], al
mov ah, 2
xor al, byte [ebp - 0x20]
mov ch, 0x19
mov byte [ebp - 0xd], bh
mov dh, 0x15
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x20]
mov byte [ebp - 0x1f], bh
xor cl, al
mov bh, byte [ebp - 0xe]
xor dl, al
xor ah, al
mov byte [ebp - 0x15], bl
xor bl, al
mov byte [ebp - 0x1d], cl
xor ch, al
mov byte [ebp - 0x1c], dl
xor dh, al
mov byte [ebp - 0x1b], bl
xor bh, al
mov byte [ebp - 0x1a], ah
mov al, byte [ebp - 0xf]
xor al, byte [ebp - 0x20]
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x19], ch
mov byte [ebp - 0x18], dh
mov byte [ebp - 0x17], bh
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x10041a37
xor ecx, ecx
jmp 0x10041a49
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041a40
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 4
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10041a8c
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [0x1006c980]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x727a7e
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x12
jb 0x10041aa0
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x10041acd
xor ecx, ecx
jmp 0x10041adc
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041ad3
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 5
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0x18], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10041b1f
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [0x1006c940]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x10041b30
lea eax, [ebp - 0x23]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.100017e0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 6
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0x1c], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10041b83
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [0x1006c950]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x10041b94
lea eax, [ebp - 0x23]
mov byte [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.100017e0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 7
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0x20], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10041be7
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [0x1006c970]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x7c677d71
mov word [ebp - 0x14], 0x66
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x14
jb 0x10041c01
lea eax, [ebp - 0x27]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.100017e0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 8
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0x24], eax
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10041c54
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [str._PwMDEGZILwCAD]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x474b7744
mov dword [ebp - 0x2c], 0x5c465d
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x16
jb 0x10041c70
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x29], 0
push eax
lea ecx, [ebp - 0x70]
call fcn.100017e0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 9
push eax
push dword [esi]
call fcn.10012500
mov dword [esi + 0x28], eax
add esp, 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10041cc3
push 1
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10002610
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.10042f30
push dword [esi]
call fcn.10012700
or eax, 0x38
push eax
push dword [esi]
call fcn.10012b70
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret