Function at 0x10039680
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100438af
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 [0x10053230], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10039e34
cmp dword [ebp + 0xc], 1
jne 0x10039e34
cmp eax, dword [edi + 0xc]
jne 0x10039e53
mov ecx, dword [edi + 8]
call fcn.1000e980
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.10004610
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x100397c7
mov ah, 0x42
mov byte [ebp - 0x6c], 0
mov al, 0x16
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x23
mov byte [ebp - 0x6f], al
mov dl, 0x25
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.10003b20
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x1004ac50]
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0x2e2168
nop dword [eax]
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x12
jb 0x10039760
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x7d], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10003b20
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 [0x1004a074]
lea ecx, [ebp - 0xac]
call fcn.10003a60
lea ecx, [ebp - 0x2c]
call fcn.10003a60
jmp 0x10039e22
cmp ecx, 0x20
jbe 0x10039889
mov ah, 2
mov byte [ebp - 0x6c], 0
mov al, 0x56
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x63
mov byte [ebp - 0x6f], al
mov dl, 0x65
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.10003b20
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x1004a4b0]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x470e0706
mov word [ebp - 0x80], 0x48
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x14
jb 0x10039822
lea eax, [ebp - 0x93]
mov byte [ebp - 0x7f], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10003b20
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 [0x1004a074]
lea ecx, [ebp - 0xac]
call fcn.10003a60
lea ecx, [ebp - 0x2c]
call fcn.10003a60
jmp 0x10039e22
xor esi, esi
test ecx, ecx
je 0x100398d4
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 0x100398cc
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 0x10039955
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
inc esi
cmp esi, ecx
jb 0x10039895
mov edi, dword [ebp - 0x78]
mov byte [ebp - 0x70], 0x70
mov al, 0x37
xor al, byte [ebp - 0x70]
mov ah, 0x15
mov byte [ebp - 0x6f], al
sub esp, 0x18
mov al, byte [ebp - 0x70]
mov cl, 0x11
mov ch, 0x50
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, 0x1d
mov byte [ebp - 0x6b], ch
mov dh, 0x3d
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.10003b20
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 0x10039a4a
mov eax, dword [ecx]
jmp 0x10039a4c
mov ah, 0x19
mov byte [ebp - 0x6c], 0
mov al, 0x4d
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x78
mov byte [ebp - 0x6f], al
mov dl, 0x7e
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.10003b20
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x1004ab70]
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xbc], 0x727f6337
movaps xmm0, xmmword [0x1004ab80]
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xb8], 0x70766337
movaps xmm0, xmmword [0x1004ad60]
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb4], 0x39737e37
mov word [ebp - 0xb0], 0x36
nop word [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x3c
jb 0x100399e0
lea eax, [ebp - 0xeb]
mov byte [ebp - 0xaf], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10003b20
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 [0x1004a074]
lea ecx, [ebp - 0xac]
call fcn.10003a60
lea ecx, [ebp - 0x2c]
call fcn.10003a60
jmp 0x10039e22
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004610
mov byte [ebp - 4], 0
call fcn.1000c860
add esp, 0x30
test al, al
jne 0x10039d38
mov dh, 0x53
mov byte [ebp - 0x6a], 0
mov al, 0x14
mov byte [ebp - 0x70], dh
mov ah, 0x36
mov byte [ebp - 0x6a], 0
sub esp, 0x18
mov cl, 0x32
mov ch, 0x1e
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, 0x3e
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.10003b20
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 0x10039ae0
mov eax, dword [ecx]
jmp 0x10039ae2
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10004610
mov byte [ebp - 4], 0
call fcn.1000c860
add esp, 0x30
test al, al
jne 0x10039d38
mov dl, 0x1c
mov byte [ebp - 0x75], 0
mov al, 0x5b
mov byte [ebp - 0x78], dl
sub esp, 0x18
mov byte [ebp - 0x75], 0
mov cl, 0x51
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.10003b20
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10007e80
mov byte [ebp - 4], 0
call fcn.1000c860
add esp, 0x30
test al, al
jne 0x10039d38
mov ch, 0x2b
mov byte [ebp - 0x73], 0
mov al, 0x6a
mov byte [ebp - 0x78], ch
mov ah, 0x42
mov byte [ebp - 0x73], 0
xor al, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x77], al
mov cl, 0x4f
mov byte [ebp - 0x74], ah
xor cl, ch
mov dword [ebp - 0x6c], esp
mov dl, 0x46
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.10003b20
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10007e80
mov byte [ebp - 4], 0
call fcn.1000c860
add esp, 0x30
test al, al
jne 0x10039d38
mov ch, 0x22
mov byte [ebp - 0x73], 0
mov cl, 0x47
mov byte [ebp - 0x78], ch
mov ah, cl
mov byte [ebp - 0x73], 0
mov al, 0x66
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, 0x54
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.10003b20
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.10007e80
mov byte [ebp - 4], 0
call fcn.1000c860
add esp, 0x30
test al, al
jne 0x10039d38
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.10008530
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 0x10039caa
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10039ca1
push esi
lea ecx, [ebp - 0x54]
call fcn.100086d0
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.10008490
mov ecx, eax
call fcn.10008490
mov ecx, eax
call fcn.10008490
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov esi, eax
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.100083c0
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.10008490
mov ecx, eax
call fcn.10008490
mov ecx, eax
call fcn.10008490
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub edx, ecx
call fcn.1000efe0
mov ecx, edi
call fcn.1003a120
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.10008660
lea ecx, [ebp - 0x48]
call fcn.10003a60
mov al, 1
jmp 0x10039e36
mov ah, 0x67
mov al, 0x33
xor dl, dl
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], dl
mov cl, 6
mov byte [ebp - 0x6f], al
xor cl, ah
mov byte [ebp - 0x6c], 0
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.10003b20
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [0x1004a9b0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x51051e1f
mov dword [ebp - 0x1c], 0x1e1d1d10
mov dword [ebp - 0x18], 0x5f151406
mov word [ebp - 0x14], 0x50
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x10039d94
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10003b20
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 [0x1004a074]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x10039df2
inc eax
push eax
push dword [ebp - 0x94]
call fcn.10004c80
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x10039e22
inc eax
push eax
push dword [ebp - 0xac]
call fcn.10004c80
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10039e34
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10004c80
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.1003fc80
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [edi + 0x10]
jne 0x10039f63
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.10008530
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 0x10039ef4
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10039eeb
push esi
lea ecx, [ebp - 0x20]
call fcn.100086d0
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.10008490
mov ecx, eax
call fcn.10008490
mov ecx, eax
call fcn.10008490
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 0x10039f46
mov ecx, dword ds:[0x10045a9c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x78]
push dword [ebp - 0x68]
call dword [0x10045a98]
mov ecx, edi
call fcn.1003a120
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008660
mov al, 1
jmp 0x10039e36
cmp eax, dword [edi + 4]
jne 0x10039f6d
call fcn.1003a120
mov al, 1
jmp 0x10039e36