Function at 0x10046e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055fea
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x10061040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4a4e4248
mov dword [ebp - 0x18], 0xb7b8464c
mov dword [ebp - 0x14], 0x100bab7
nop dword [eax + eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x10046ec0
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x168], 0
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046ef5
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.10002ed0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1c], 0x45454349
mov dword [ebp - 0x18], 0xb3b4484d
mov dword [ebp - 0x14], 0x100b1b0
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x10046f30
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x150], 0
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x14c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046f65
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.10002ed0
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x1c], 0x454e424b
mov dword [ebp - 0x18], 0xb5b54e49
mov dword [ebp - 0x14], 0x100b4b7
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x10046fa0
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046fd5
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.10002ed0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x1c], 0x484b4a4b
mov dword [ebp - 0x18], 0xb3b14e4a
mov dword [ebp - 0x14], 0x100b3b5
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x10047010
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x120], 0
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047045
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.10002ed0
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4d4d4d4b
mov dword [ebp - 0x18], 0xb9b04849
mov dword [ebp - 0x14], 0x100bab5
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x10047080
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x108], 0
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x104], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100470b5
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x118]
call fcn.10002ed0
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4944484b
mov dword [ebp - 0x18], 0xb8b94e4b
mov dword [ebp - 0x14], 0x100b5b0
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x100470f0
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xf0], 0
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047125
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.10002ed0
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4d454a48
mov dword [ebp - 0x18], 0xb8b24b4d
mov dword [ebp - 0x14], 0x100b4ba
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x10047160
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xd8], 0
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047195
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0xe8]
call fcn.10002ed0
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4b494948
mov dword [ebp - 0x18], 0xb3b8474e
mov dword [ebp - 0x14], 0x100bbb0
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x100471d0
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc0], 0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047205
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.10002ed0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0x1c], 0x4b4f4d49
mov dword [ebp - 0x18], 0xb2b74a4e
mov dword [ebp - 0x14], 0x100b2b3
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jb 0x10047240
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xa8], 0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047275
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.10002ed0
mov byte [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x28], 0x4e4a4a4f
mov dword [ebp - 0x24], 0xb0b1464a
mov word [ebp - 0x20], 0xb1
mov byte [ebp - 0x1e], 1
nop dword [eax]
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 9
jb 0x100472b0
push ecx
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x1e], 0
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10051850
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov dword [ebp - 0x40], 0x4548484b
mov dword [ebp - 0x3c], 0xb5b04c4a
mov dword [ebp - 0x38], 0x100b1b7
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x40], al
inc ecx
cmp ecx, 0xa
jb 0x100472f0
push ecx
lea eax, [ebp - 0x36]
mov byte [ebp - 0x35], 0
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
call fcn.10051850
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov dword [ebp - 0x34], 0x4a4e4e43
mov dword [ebp - 0x30], 0xb3b84747
mov word [ebp - 0x2c], 0xb6
mov byte [ebp - 0x2a], 1
lea eax, [ecx + 0x7a]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 9
jb 0x10047333
push ecx
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x2a], 0
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x70]
call fcn.10051850
lea edi, [ebp - 0x178]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x190], 0
sub ecx, edi
mov dword [ebp - 0x18c], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x188], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004745b
cmp eax, 0xaaaaaaa
ja 0x10047600
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x180], esi
cmp esi, 0x1000
jb 0x100473df
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x10047605
push eax
call fcn.1005463e
add esp, 4
test eax, eax
je 0x1004759a
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x100473f2
test esi, esi
je 0x100473f0
push esi
call fcn.1005463e
add esp, 4
mov esi, eax
jmp 0x100473f2
xor esi, esi
mov eax, dword [ebp - 0x180]
add eax, esi
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xe
cmp edi, eax
je 0x10047448
nop dword [eax]
push edi
mov ecx, esi
call fcn.10030820
add esi, 0x18
lea eax, [ebp - 0x58]
add edi, 0x18
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x10047430
push ecx
mov edx, esi
mov ecx, esi
call fcn.10051960
add esp, 4
mov dword [ebp - 0x18c], esi
push 0x10002bb0
push 0xc
push 0x18
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x10
push eax
call fcn.10054adb
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x184], ecx
cmp eax, ecx
je 0x10047562
push eax
lea ecx, [ebp - 0x58]
call fcn.10030820
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x58]
lea edx, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmp eax, 0xf
cmova ecx, edi
cmp dword [ebp + 0x1c], 0xf
cmova edx, dword [ebp + 8]
cmp esi, dword [ebp - 0x48]
jne 0x1004751b
sub esi, 4
jb 0x100474d5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100474da
add edx, 4
add ecx, 4
sub esi, 4
jae 0x100474c4
cmp esi, 0xfffffffc
je 0x1004750e
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10047507
cmp esi, 0xfffffffd
je 0x1004750e
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10047507
cmp esi, 0xfffffffe
je 0x1004750e
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10047507
cmp esi, 0xffffffff
je 0x1004750e
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004750e
sbb eax, eax
or eax, 1
jmp 0x10047510
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x100475a0
cmp eax, 0xf
jbe 0x10047547
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004753d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004759a
push ecx
push edi
call fcn.10054988
add esp, 8
mov eax, dword [ebp - 0x180]
add eax, 0x18
mov dword [ebp - 0x180], eax
cmp eax, dword [ebp - 0x184]
jne 0x10047494
mov byte [ebp - 0x179], 0
lea ecx, [ebp - 0x190]
call fcn.10050f50
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x100475df
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100475d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100475d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp eax, 0xf
jbe 0x100475cc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100475c2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004759a
push ecx
push edi
call fcn.10054988
add esp, 8
mov byte [ebp - 0x179], 1
jmp 0x10047569
push ecx
push edx
call fcn.10054988
add esp, 8
mov al, byte [ebp - 0x179]
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.10054550
mov esp, ebp
pop ebp
ret
call fcn.100519e0
call fcn.10001800
int3