Function at 0x1004b170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057aff
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1006a018]
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 dword [ebp - 0x78], edi
mov eax, dword [edi]
mov dword [0x1006c5fc], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1004b925
cmp dword [ebp + 0xc], 1
jne 0x1004b925
cmp eax, dword [edi + 0xc]
jne 0x1004b944
mov ecx, dword [edi + 8]
call fcn.10011e00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.10004e70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x1004b2b7
mov ah, 9
mov byte [ebp - 0x6c], 0
mov al, 0x5d
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x68
mov byte [ebp - 0x6f], al
mov dl, 0x6e
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.100053b0
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x100630b0]
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0x5c531a
nop dword [eax]
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x12
jb 0x1004b250
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x7d], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.100053b0
push 0
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0xac]
push eax
push eax
call dword [0x10062574]
lea ecx, [ebp - 0xac]
call fcn.10004d70
lea ecx, [ebp - 0x2c]
call fcn.10004d70
jmp 0x1004b913
cmp ecx, 0x20
jbe 0x1004b379
mov ah, 1
mov byte [ebp - 0x6c], 0
mov al, 0x55
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x60
mov byte [ebp - 0x6f], al
mov dl, 0x66
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.100053b0
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x10062fe0]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x551c1514
mov word [ebp - 0x80], 0x5a
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x14
jb 0x1004b312
lea eax, [ebp - 0x93]
mov byte [ebp - 0x7f], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.100053b0
push 0
push ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0xac]
push eax
push eax
call dword [0x10062574]
lea ecx, [ebp - 0xac]
call fcn.10004d70
lea ecx, [ebp - 0x2c]
call fcn.10004d70
jmp 0x1004b913
xor esi, esi
test ecx, ecx
je 0x1004b3c4
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x48]
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, edi
cmp byte [eax + esi], 0x20
je 0x1004b3bc
cmp edx, 0x10
lea eax, [ebp - 0x48]
cmovae eax, edi
movsx eax, byte [eax + esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
add esp, 4
test eax, eax
je 0x1004b445
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
inc esi
cmp esi, ecx
jb 0x1004b385
mov edi, dword [ebp - 0x78]
mov byte [ebp - 0x70], 0x34
mov al, 0x73
xor al, byte [ebp - 0x70]
mov ah, 0x51
mov byte [ebp - 0x6f], al
sub esp, 0x18
mov al, byte [ebp - 0x70]
mov cl, 0x55
mov ch, 0x14
mov dword [ebp - 0x68], esp
xor cl, al
mov byte [ebp - 0x69], 0
xor ah, al
mov byte [ebp - 0x6e], cl
xor ch, al
mov byte [ebp - 0x6c], ah
mov dl, 0x59
mov byte [ebp - 0x6b], ch
mov dh, 0x79
mov byte [ebp - 0x69], 0
xor dl, al
xor dh, al
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
mov ecx, esp
mov byte [ebp - 0x6a], dh
push eax
call fcn.100053b0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1004b53a
mov eax, dword [ecx]
jmp 0x1004b53c
mov ah, 7
mov byte [ebp - 0x6c], 0
mov al, 0x53
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x66
mov byte [ebp - 0x6f], al
mov dl, 0x60
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0x2c]
call fcn.100053b0
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x10063690]
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xbc], 0x5954481c
movaps xmm0, xmmword [0x100636a0]
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xb8], 0x5b5d481c
movaps xmm0, xmmword [0x10063730]
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb4], 0x1258551c
mov word [ebp - 0xb0], 0x1d
nop word [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x3c
jb 0x1004b4d0
lea eax, [ebp - 0xeb]
mov byte [ebp - 0xaf], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.100053b0
push 0
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0xac]
push eax
push eax
call dword [0x10062574]
lea ecx, [ebp - 0xac]
call fcn.10004d70
lea ecx, [ebp - 0x2c]
call fcn.10004d70
jmp 0x1004b913
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004e70
mov byte [ebp - 4], 0
call fcn.1000fce0
add esp, 0x30
test al, al
jne 0x1004b828
mov dh, 0x5c
mov byte [ebp - 0x6a], 0
mov al, 0x1b
mov byte [ebp - 0x70], dh
mov ah, 0x39
mov byte [ebp - 0x6a], 0
sub esp, 0x18
mov cl, 0x3d
mov ch, 0x11
mov dword [ebp - 0x68], esp
xor al, dh
xor ah, dh
xor cl, dh
mov byte [ebp - 0x6f], al
xor ch, dh
mov byte [ebp - 0x6c], ah
mov dl, 0x31
mov byte [ebp - 0x6e], cl
mov byte [ebp - 0x6b], ch
lea eax, [ebp - 0x6f]
xor dl, dh
mov ecx, esp
push eax
mov byte [ebp - 0x6d], dl
call fcn.100053b0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1004b5d0
mov eax, dword [ecx]
jmp 0x1004b5d2
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004e70
mov byte [ebp - 4], 0
call fcn.1000fce0
add esp, 0x30
test al, al
jne 0x1004b828
mov dl, 0x60
mov byte [ebp - 0x75], 0
mov al, 0x27
mov byte [ebp - 0x78], dl
sub esp, 0x18
mov byte [ebp - 0x75], 0
mov cl, 0x2d
mov dword [ebp - 0x68], esp
xor al, dl
xor cl, dl
mov byte [ebp - 0x77], al
lea eax, [ebp - 0x77]
mov byte [ebp - 0x76], cl
mov ecx, esp
push eax
call fcn.100053b0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ab0
mov byte [ebp - 4], 0
call fcn.1000fce0
add esp, 0x30
test al, al
jne 0x1004b828
mov ch, 0x7d
mov byte [ebp - 0x73], 0
mov al, 0x3c
mov byte [ebp - 0x78], ch
mov ah, 0x14
mov byte [ebp - 0x73], 0
xor al, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x77], al
mov cl, 0x19
mov byte [ebp - 0x74], ah
xor cl, ch
mov dword [ebp - 0x6c], esp
mov dl, 0x10
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.100053b0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ab0
mov byte [ebp - 4], 0
call fcn.1000fce0
add esp, 0x30
test al, al
jne 0x1004b828
mov ch, 8
mov byte [ebp - 0x73], 0
mov cl, 0x6d
mov byte [ebp - 0x78], ch
mov ah, cl
mov byte [ebp - 0x73], 0
mov al, 0x4c
xor ah, ch
xor al, ch
mov byte [ebp - 0x74], ah
sub esp, 0x18
mov byte [ebp - 0x77], al
xor cl, ch
mov dword [ebp - 0x6c], esp
mov dl, 0x7e
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.100053b0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10004ab0
mov byte [ebp - 4], 0
call fcn.1000fce0
add esp, 0x30
test al, al
jne 0x1004b828
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x79], 0xa1
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x64], vtable.ByteBuffer.0
mov byte [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0x1000
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.1000c100
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x64], vtable.Packet.0
cmp eax, 0x989680
ja 0x1004b79a
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1004b791
push esi
lea ecx, [ebp - 0x54]
call fcn.1000c2a0
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov al, byte [ebp - 0x79]
mov byte [edx + ecx], al
inc dword [ebp - 0x58]
push 3
push 0x10
push 0xa4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.1000c060
mov ecx, eax
call fcn.1000c060
mov ecx, eax
call fcn.1000c060
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov esi, eax
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.1000bf90
movzx ecx, byte [edi + 0x1a]
movzx eax, byte [edi + 0x19]
push ecx
push eax
movzx eax, byte [edi + 0x18]
mov ecx, esi
push eax
call fcn.1000c060
mov ecx, eax
call fcn.1000c060
mov ecx, eax
call fcn.1000c060
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.100124e0
mov ecx, edi
call fcn.1004bc10
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.1000c230
lea ecx, [ebp - 0x48]
call fcn.10004d70
mov al, 1
jmp 0x1004b927
mov ah, 0xa
mov byte [ebp - 0x6c], 0
mov al, 0x5e
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x6b
mov byte [ebp - 0x6f], al
mov dl, 0x6d
xor cl, ah
xor dl, ah
mov byte [ebp - 0x6e], cl
lea eax, [ebp - 0x6f]
mov byte [ebp - 0x6d], dl
push eax
lea ecx, [ebp - 0xac]
call fcn.100053b0
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x100638b0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x5e0a1110
mov dword [ebp - 0x1c], 0x1112121f
mov dword [ebp - 0x18], 0x501a1b09
mov word [ebp - 0x14], 0x5f
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x1004b885
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.100053b0
push 0
push ecx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xac]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x94]
push eax
push eax
call dword [0x10062574]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1004b8e3
inc eax
push eax
push dword [ebp - 0x94]
call fcn.10005180
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x1004b913
inc eax
push eax
push dword [ebp - 0xac]
call fcn.10005180
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1004b925
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10005180
xor al, al
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.10052ee0
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [edi + 0x10]
jne 0x1004ba54
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x79], 0xa1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x1000
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x11
call fcn.1000c100
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp - 0x30], vtable.Packet.0
cmp eax, 0x989680
ja 0x1004b9e5
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1004b9dc
push esi
lea ecx, [ebp - 0x20]
call fcn.1000c2a0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp - 0x79]
mov byte [edx + ecx], al
inc dword [ebp - 0x24]
push 4
push 0x10
push 0xa4
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0x13
call fcn.1000c060
mov ecx, eax
call fcn.1000c060
mov ecx, eax
call fcn.1000c060
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], eax
cmp ecx, 0x4000
ja 0x1004ba37
mov ecx, dword ds:[0x10059ad4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x78]
push dword [ebp - 0x68]
call dword [0x10059ad0]
mov ecx, edi
call fcn.1004bc10
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.1000c230
mov al, 1
jmp 0x1004b927
cmp eax, dword [edi + 4]
jne 0x1004ba5e
call fcn.1004bc10
mov al, 1
jmp 0x1004b927