Function at 0x46ea40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499af4
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4d04c0]
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 eax, dword [edi + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x108], esi
mov dword [ebp - 0xec], esi
cmp dword [eax + 0x10], 0
jne 0x46f339
movss xmm0, dword [edi]
lea eax, [ebp - 0xe8]
push 1
push ecx
movss dword [esp], xmm0
push eax
call fcn.0046e1d0
movss xmm0, dword [edi + 4]
lea eax, [ebp - 0x70]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
mov dword [ebp - 4], 0
call fcn.0046e1d0
movss xmm0, dword [edi]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov ecx, 0x4e
mov eax, 0x53
mov byte [ebp - 4], 1
movss xmm0, dword [edi + 4]
cmovae eax, ecx
mov ecx, 0x45
comiss xmm0, xmm1
mov byte [ebp - 0xec], al
mov eax, 0x57
cmovae eax, ecx
mov byte [ebp - 0xf8], al
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xd0]
push str._GPGLL_
push eax
call fcn.00415ab0
add esp, 0xc
push 1
push 0x49dd00
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004211a0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0xec]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004231a0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
push 1
push 0x49dd00
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.004211a0
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call fcn.004211a0
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 1
push 0x49dd00
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004211a0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.004231a0
movups xmm0, xmmword [ebp - 0x88]
mov byte [ebp - 0x88], 0
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
push 3
push 0x4a59f8
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.004211a0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xa
cmp ecx, 0xf
jbe 0x46ed1b
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46ed11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ee4f
push ecx
push edx
call fcn.00489a49
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp ecx, 0xf
jbe 0x46ed6e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46ed64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ee4f
push ecx
push edx
call fcn.00489a49
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x46edb8
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46edae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ee4f
push ecx
push edx
call fcn.00489a49
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xe
cmp ecx, 0xf
jbe 0x46ee04
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46edfa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ee4f
push ecx
push edx
call fcn.00489a49
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x10
cmp ecx, 0xf
jbe 0x46ee5f
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46ee55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46ee55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00489a49
add esp, 8
mov esi, dword [ebp - 0x18]
xor edx, edx
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
lea ecx, [edx + 1]
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xec], edi
cmp esi, ecx
jbe 0x46eeb0
cmp edi, 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
movsx eax, byte [eax + ecx]
inc ecx
xor edx, eax
cmp ecx, esi
jb 0x46ee95
mov dword [ebp - 0xfc], edx
cmp esi, edi
jae 0x46eee4
lea eax, [esi + 1]
cmp edi, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov word [eax + esi], 0x2a
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x100], ecx
jmp 0x46efe3
mov eax, Ordinal_1
sub eax, esi
cmp eax, 1
jb 0x46f360
lea eax, [esi + 1]
mov ecx, eax
mov dword [ebp - 0x100], eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x46ef11
mov ecx, Ordinal_1
jmp 0x46ef2f
mov edx, edi
mov eax, Ordinal_1
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x46ef27
mov ecx, Ordinal_1
jmp 0x46ef2f
lea eax, [edi + edx]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415b60
add esp, 8
mov edi, eax
cmp dword [ebp - 0xec], 0xf
lea eax, [esi + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x14], eax
push esi
jbe 0x46efbb
push dword [ebp - 0x28]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0xec]
add esp, 0xc
mov eax, dword [ebp - 0x28]
inc edx
mov word [edi + esi], 0x2a
mov ecx, eax
cmp edx, 0x1000
jb 0x46efaf
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0xec], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x46f327
mov eax, dword [ebp - 0xec]
push edx
push eax
call fcn.00489a49
add esp, 8
jmp 0x46efce
lea eax, [ebp - 0x28]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [edi + esi], 0x2a
mov esi, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x28], edi
mov eax, edx
mov dword [ebp - 0xec], 0x37
sar eax, 4
mov edx, 0x30
cmp eax, 0xa
cmovge edx, dword [ebp - 0xec]
add dl, al
mov dword [ebp - 0xf8], edx
cmp ecx, esi
jae 0x46f038
lea eax, [ecx + 1]
cmp esi, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, edi
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0xf0], eax
jmp 0x46f144
mov edx, Ordinal_1
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x46f360
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0xec], eax
or ecx, 0xf
cmp ecx, edx
jbe 0x46f060
mov ecx, edx
jmp 0x46f087
mov eax, esi
shr eax, 1
mov dword [ebp - 0xf0], eax
mov eax, edx
mov edx, dword [ebp - 0xf0]
sub eax, edx
cmp esi, eax
jbe 0x46f07f
mov ecx, Ordinal_1
jmp 0x46f087
lea eax, [esi + edx]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415b60
mov esi, eax
add esp, 8
cmp dword [ebp - 0x104], 0xf
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x14], eax
jbe 0x46f119
mov eax, dword [ebp - 0x100]
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x100]
add esp, 0xc
mov ecx, dword [ebp - 0xf8]
mov byte [esi + eax], cl
mov ecx, dword [ebp - 0x104]
inc ecx
mov byte [esi + eax + 1], 0
mov eax, edi
cmp ecx, 0x1000
jb 0x46f10d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f327
push ecx
push edi
call fcn.00489a49
add esp, 8
jmp 0x46f13b
mov edi, dword [ebp - 0x100]
lea eax, [ebp - 0x28]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xf8]
add esp, 0xc
mov byte [esi + edi], al
mov byte [esi + edi + 1], 0
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0x28], esi
mov edx, dword [ebp - 0xfc]
and edx, 0xf
cmp edx, 0xa
sbb cl, cl
add dl, 0x37
and cl, 0xf9
add cl, dl
mov edx, dword [ebp - 0xf0]
mov byte [ebp - 0xf1], cl
cmp edi, edx
jae 0x46f186
lea eax, [edi + 1]
cmp edx, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, esi
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x46f28e
mov eax, Ordinal_1
sub eax, edi
cmp eax, 1
jb 0x46f360
lea ecx, [edi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x46f1ab
mov ecx, Ordinal_1
jmp 0x46f1d8
mov eax, edx
shr eax, 1
mov dword [ebp - 0xec], eax
mov eax, Ordinal_1
sub eax, dword [ebp - 0xec]
cmp edx, eax
jbe 0x46f1cb
mov ecx, Ordinal_1
jmp 0x46f1d8
mov eax, dword [ebp - 0xec]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415b60
mov ecx, eax
add esp, 8
cmp dword [ebp - 0xf0], 0xf
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x14], eax
push edi
jbe 0x46f26a
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0xec]
add esp, 0xc
mov al, byte [ebp - 0xf1]
mov byte [ecx + edi], al
mov eax, esi
mov byte [ecx + edi + 1], 0
mov ecx, dword [ebp - 0xf0]
inc ecx
cmp ecx, 0x1000
jb 0x46f255
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f327
push ecx
push esi
call fcn.00489a49
mov eax, dword [ebp - 0xec]
add esp, 8
mov dword [ebp - 0x28], eax
jmp 0x46f28e
lea eax, [ebp - 0x28]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0xec]
add esp, 0xc
mov al, byte [ebp - 0xf1]
mov dword [ebp - 0x28], ecx
mov byte [ecx + edi], al
mov byte [ecx + edi + 1], 0
mov esi, dword [ebp - 0x108]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x5c]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
cmp ecx, 0xf
jbe 0x46f2e9
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46f2df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f327
push ecx
push edx
call fcn.00489a49
add esp, 8
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0xf
jbe 0x46f341
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46f32d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46f32d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00489a49
add esp, 8
jmp 0x46f341
push eax
mov ecx, esi
call fcn.00416790
mov eax, esi
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.00489ca8
mov esp, ebp
pop ebp
ret 4
call fcn.00421170
int3