Function at 0x10039ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043fef
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10051018]
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 [0x100535f4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1003a685
cmp dword [ebp + 0xc], 1
jne 0x1003a685
cmp eax, dword [edi + 0xc]
jne 0x1003a6a4
mov ecx, dword [edi + 8]
call fcn.1000eb40
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.10004fa0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x1003a017
mov ah, 0x2e
mov byte [ebp - 0x6c], 0
mov al, 0x7a
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x4f
mov byte [ebp - 0x6f], al
mov dl, 0x49
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.10004570
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x1004ade0]
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0x2b246d
nop dword [eax]
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x12
jb 0x10039fb0
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x7d], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10004570
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 [0x1004a064]
lea ecx, [ebp - 0xac]
call fcn.100044b0
lea ecx, [ebp - 0x2c]
call fcn.100044b0
jmp 0x1003a673
cmp ecx, 0x20
jbe 0x1003a0d9
mov ah, 0xf
mov byte [ebp - 0x6c], 0
mov al, 0x5b
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x6e
mov byte [ebp - 0x6f], al
mov dl, 0x68
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.10004570
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x1004ae60]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x3a737a7b
mov word [ebp - 0x80], 0x35
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x14
jb 0x1003a072
lea eax, [ebp - 0x93]
mov byte [ebp - 0x7f], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10004570
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 [0x1004a064]
lea ecx, [ebp - 0xac]
call fcn.100044b0
lea ecx, [ebp - 0x2c]
call fcn.100044b0
jmp 0x1003a673
xor esi, esi
test ecx, ecx
je 0x1003a124
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 0x1003a11c
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 0x1003a1a5
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
inc esi
cmp esi, ecx
jb 0x1003a0e5
mov edi, dword [ebp - 0x78]
mov byte [ebp - 0x70], 0x72
mov al, 0x35
xor al, byte [ebp - 0x70]
mov ah, 0x17
mov byte [ebp - 0x6f], al
sub esp, 0x18
mov al, byte [ebp - 0x70]
mov cl, 0x13
mov ch, 0x52
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, 0x1f
mov byte [ebp - 0x6b], ch
mov dh, 0x3f
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.10004570
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 0x1003a29a
mov eax, dword [ecx]
jmp 0x1003a29c
mov ah, 0x7e
mov byte [ebp - 0x6c], 0
mov al, 0x2a
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x1f
mov byte [ebp - 0x6f], al
mov dl, 0x19
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.10004570
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x1004a4c0]
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xbc], 0x15180450
movaps xmm0, xmmword [0x1004a4a0]
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xb8], 0x17110450
movaps xmm0, xmmword [0x1004a7a0]
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb4], 0x5e141950
mov word [ebp - 0xb0], 0x51
nop word [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x3c
jb 0x1003a230
lea eax, [ebp - 0xeb]
mov byte [ebp - 0xaf], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10004570
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 [0x1004a064]
lea ecx, [ebp - 0xac]
call fcn.100044b0
lea ecx, [ebp - 0x2c]
call fcn.100044b0
jmp 0x1003a673
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004fa0
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a588
mov dh, 0x25
mov byte [ebp - 0x6a], 0
mov al, 0x62
mov byte [ebp - 0x70], dh
mov ah, 0x40
mov byte [ebp - 0x6a], 0
sub esp, 0x18
mov cl, 0x44
mov ch, 0x68
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, 0x48
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.10004570
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 0x1003a330
mov eax, dword [ecx]
jmp 0x1003a332
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004fa0
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a588
mov dl, 0x16
mov byte [ebp - 0x75], 0
mov al, 0x51
mov byte [ebp - 0x78], dl
sub esp, 0x18
mov byte [ebp - 0x75], 0
mov cl, 0x5b
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.10004570
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10008810
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a588
mov ch, 0x76
mov byte [ebp - 0x73], 0
mov al, 0x37
mov byte [ebp - 0x78], ch
mov ah, 0x1f
mov byte [ebp - 0x73], 0
xor al, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x77], al
mov cl, 0x12
mov byte [ebp - 0x74], ah
xor cl, ch
mov dword [ebp - 0x6c], esp
mov dl, 0x1b
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.10004570
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10008810
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a588
mov ch, 0x68
mov byte [ebp - 0x73], 0
mov cl, 0xd
mov byte [ebp - 0x78], ch
mov ah, cl
mov byte [ebp - 0x73], 0
mov al, 0x2c
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, 0x1e
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.10004570
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10008810
mov byte [ebp - 4], 0
call fcn.1000ca30
add esp, 0x30
test al, al
jne 0x1003a588
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.10008ca0
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 0x1003a4fa
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1003a4f1
push esi
lea ecx, [ebp - 0x54]
call fcn.10008e40
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.10008c00
mov ecx, eax
call fcn.10008c00
mov ecx, eax
call fcn.10008c00
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov esi, eax
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.10008b30
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.10008c00
mov ecx, eax
call fcn.10008c00
mov ecx, eax
call fcn.10008c00
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.1000f1a0
mov ecx, edi
call fcn.1003a970
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.10008dd0
lea ecx, [ebp - 0x48]
call fcn.100044b0
mov al, 1
jmp 0x1003a687
mov ah, 0x27
mov byte [ebp - 0x6c], 0
mov al, 0x73
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x46
mov byte [ebp - 0x6f], al
mov dl, 0x40
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.10004570
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x1004ab20]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x481c0706
mov dword [ebp - 0x1c], 0x7040409
mov dword [ebp - 0x18], 0x460c0d1f
mov word [ebp - 0x14], 0x49
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x1003a5e5
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10004570
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 [0x1004a064]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1003a643
inc eax
push eax
push dword [ebp - 0x94]
call fcn.10005610
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x1003a673
inc eax
push eax
push dword [ebp - 0xac]
call fcn.10005610
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1003a685
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10005610
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.100404d0
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [edi + 0x10]
jne 0x1003a7b4
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.10008ca0
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 0x1003a745
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1003a73c
push esi
lea ecx, [ebp - 0x20]
call fcn.10008e40
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.10008c00
mov ecx, eax
call fcn.10008c00
mov ecx, eax
call fcn.10008c00
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 0x1003a797
mov ecx, dword ds:[0x10045a8c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x78]
push dword [ebp - 0x68]
call dword [0x10045a88]
mov ecx, edi
call fcn.1003a970
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008dd0
mov al, 1
jmp 0x1003a687
cmp eax, dword [edi + 4]
jne 0x1003a7be
call fcn.1003a970
mov al, 1
jmp 0x1003a687