Function at 0x46ba00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4956f7
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4d8b40]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x104], esi
mov eax, dword [edi + 8]
mov dword [ebp - 0x120], esi
cmp dword [eax + 0x10], 0
jne 0x46c3de
movss xmm0, dword [edi]
lea eax, [ebp - 0x100]
push 1
push ecx
movss dword [esp], xmm0
push eax
call fcn.0046b190
movss xmm0, dword [edi + 4]
lea eax, [ebp - 0x88]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
mov dword [ebp - 4], 0
call fcn.0046b190
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 - 0x108], al
mov eax, 0x57
cmovae eax, ecx
mov ecx, dword [ebp - 0xf0]
mov byte [ebp - 0x114], al
mov eax, Ordinal_1
sub eax, ecx
mov dword [ebp - 0x110], ecx
cmp eax, 7
jb 0x46c405
cmp dword [ebp - 0xec], 0xf
lea eax, [ebp - 0x100]
lea edi, [ecx + 7]
mov dword [ebp - 0x30], 0
cmova eax, dword [ebp - 0x100]
lea esi, [ebp - 0x40]
mov dword [ebp - 0x11c], eax
xorps xmm0, xmm0
mov eax, 0xf
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp edi, eax
jbe 0x46bb62
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x46bb2e
mov eax, Ordinal_1
jmp 0x46bb38
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00415650
mov ecx, dword [ebp - 0x110]
mov esi, eax
mov eax, dword [ebp - 0x104]
add esp, 8
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x2c], eax
mov eax, dword [str._GPGLL_]
mov dword [ebp - 0x30], edi
mov dword [esi], eax
mov ax, word [0x4a18e8]
mov word [esi + 4], ax
mov al, byte [0x4a18ea]
push ecx
push dword [ebp - 0x11c]
mov byte [esi + 6], al
lea eax, [esi + 7]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + edi], 0
push 1
push 0x49c2cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00420890
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x108]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00422280
movups xmm0, xmmword [ebp - 0xa0]
mov byte [ebp - 0xa0], 0
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0xd8], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
push 1
push 0x49c2cc
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.00420890
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x74], 0xf
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmova eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x70]
push eax
mov byte [ebp - 4], 5
call fcn.00420890
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
push 1
mov byte [ebp - 4], 6
push 0x49c2cc
lea ecx, [ebp - 0x58]
call fcn.00420890
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x114]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.00422280
movups xmm0, xmmword [ebp - 0xb8]
mov byte [ebp - 0xb8], 0
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [ebp - 0xa8]
movq qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
push 3
push 0x4a18e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.00420890
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 - 0xbc]
mov byte [ebp - 4], 0xa
cmp ecx, 0xf
jbe 0x46bdc5
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46bdbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bef3
push ecx
push edx
call fcn.0048599f
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xc
cmp ecx, 0xf
jbe 0x46be18
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46be0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bef3
push ecx
push edx
call fcn.0048599f
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
cmp ecx, 0xf
jbe 0x46be62
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46be58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bef3
push ecx
push edx
call fcn.0048599f
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov ecx, dword [ebp - 0xd4]
mov byte [ebp - 4], 0xe
cmp ecx, 0xf
jbe 0x46beae
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46bea4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bef3
push ecx
push edx
call fcn.0048599f
add esp, 8
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x10
cmp ecx, 0xf
jbe 0x46bf03
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46bef9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46bef9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048599f
add esp, 8
mov esi, dword [ebp - 0x18]
xor edx, edx
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea ecx, [edx + 1]
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x104], edi
cmp esi, ecx
jbe 0x46bf4b
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 0x46bf30
mov dword [ebp - 0x118], edx
cmp esi, edi
jae 0x46bf7f
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 - 0x11c], esi
mov dword [ebp - 0x114], ecx
jmp 0x46c082
mov edx, Ordinal_1
mov eax, edx
sub eax, esi
cmp eax, 1
jb 0x46c405
lea eax, [esi + 1]
mov ecx, eax
mov dword [ebp - 0x114], eax
or ecx, 0xf
cmp ecx, edx
jbe 0x46bfa7
mov ecx, edx
jmp 0x46bfce
mov eax, edi
shr eax, 1
mov dword [ebp - 0x110], eax
mov eax, edx
mov edx, dword [ebp - 0x110]
sub eax, edx
cmp edi, eax
jbe 0x46bfc6
mov ecx, Ordinal_1
jmp 0x46bfce
lea eax, [edi + edx]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415650
add esp, 8
mov edi, eax
cmp dword [ebp - 0x104], 0xf
lea eax, [esi + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x14], eax
push esi
jbe 0x46c05a
push dword [ebp - 0x28]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x104]
add esp, 0xc
mov eax, dword [ebp - 0x28]
inc edx
mov word [edi + esi], 0x2a
mov ecx, eax
cmp edx, 0x1000
jb 0x46c04e
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x104], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x46c3cc
mov eax, dword [ebp - 0x104]
push edx
push eax
call fcn.0048599f
add esp, 8
jmp 0x46c06d
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 - 0x108]
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x28], edi
mov eax, edx
mov dword [ebp - 0x104], 0x37
sar eax, 4
mov edx, 0x30
cmp eax, 0xa
cmovge edx, dword [ebp - 0x104]
add dl, al
mov dword [ebp - 0x110], edx
cmp ecx, esi
jae 0x46c0d7
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 - 0x108], eax
jmp 0x46c1e3
mov edx, Ordinal_1
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x46c405
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0x104], eax
or ecx, 0xf
cmp ecx, edx
jbe 0x46c0ff
mov ecx, edx
jmp 0x46c126
mov eax, esi
shr eax, 1
mov dword [ebp - 0x108], eax
mov eax, edx
mov edx, dword [ebp - 0x108]
sub eax, edx
cmp esi, eax
jbe 0x46c11e
mov ecx, Ordinal_1
jmp 0x46c126
lea eax, [esi + edx]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415650
mov esi, eax
add esp, 8
cmp dword [ebp - 0x11c], 0xf
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x14], eax
jbe 0x46c1b8
mov eax, dword [ebp - 0x114]
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x114]
add esp, 0xc
mov ecx, dword [ebp - 0x110]
mov byte [esi + eax], cl
mov ecx, dword [ebp - 0x11c]
inc ecx
mov byte [esi + eax + 1], 0
mov eax, edi
cmp ecx, 0x1000
jb 0x46c1ac
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c3cc
push ecx
push edi
call fcn.0048599f
add esp, 8
jmp 0x46c1da
mov edi, dword [ebp - 0x114]
lea eax, [ebp - 0x28]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x110]
add esp, 0xc
mov byte [esi + edi], al
mov byte [esi + edi + 1], 0
mov edi, dword [ebp - 0x104]
mov dword [ebp - 0x28], esi
mov edx, dword [ebp - 0x118]
and edx, 0xf
cmp edx, 0xa
sbb cl, cl
add dl, 0x37
and cl, 0xf9
add cl, dl
mov edx, dword [ebp - 0x108]
mov byte [ebp - 0x109], cl
cmp edi, edx
jae 0x46c225
lea eax, [edi + 1]
cmp edx, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, esi
mov byte [edi + eax], cl
mov byte [edi + eax + 1], 0
jmp 0x46c32d
mov eax, Ordinal_1
sub eax, edi
cmp eax, 1
jb 0x46c405
lea ecx, [edi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x46c24a
mov ecx, Ordinal_1
jmp 0x46c277
mov eax, edx
shr eax, 1
mov dword [ebp - 0x104], eax
mov eax, Ordinal_1
sub eax, dword [ebp - 0x104]
cmp edx, eax
jbe 0x46c26a
mov ecx, Ordinal_1
jmp 0x46c277
mov eax, dword [ebp - 0x104]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415650
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x108], 0xf
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x14], eax
push edi
jbe 0x46c309
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x104]
add esp, 0xc
mov al, byte [ebp - 0x109]
mov byte [edi + ecx], al
mov eax, esi
mov byte [edi + ecx + 1], 0
mov ecx, dword [ebp - 0x108]
inc ecx
cmp ecx, 0x1000
jb 0x46c2f4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c3cc
push ecx
push esi
call fcn.0048599f
mov eax, dword [ebp - 0x104]
add esp, 8
mov dword [ebp - 0x28], eax
jmp 0x46c32d
lea eax, [ebp - 0x28]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x104]
add esp, 0xc
mov al, byte [ebp - 0x109]
mov dword [ebp - 0x28], ecx
mov byte [edi + ecx], al
mov byte [edi + ecx + 1], 0
mov esi, dword [ebp - 0x120]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x74]
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 0x46c38b
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46c381
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c3cc
push ecx
push edx
call fcn.0048599f
add esp, 8
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x46c3e6
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46c3d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46c3d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048599f
add esp, 8
jmp 0x46c3e6
push eax
mov ecx, esi
call fcn.00416330
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.00485bfe
mov esp, ebp
pop ebp
ret 4
call fcn.00420860
int3