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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041a4f
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1004e018]
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 [0x10050230], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10037fe5
cmp dword [ebp + 0xc], 1
jne 0x10037fe5
cmp eax, dword [edi + 0xc]
jne 0x10038004
mov ecx, dword [edi + 8]
call fcn.1000d5f0
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.100045d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x10037977
mov ah, 0x63
mov byte [ebp - 0x6c], 0
mov al, 0x37
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 2
mov byte [ebp - 0x6f], al
mov dl, 4
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.10003ae0
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x100488e0]
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0xe0148
nop dword [eax]
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x12
jb 0x10037910
lea eax, [ebp - 0x8f]
mov byte [ebp - 0x7d], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10003ae0
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 [0x10048044]
lea ecx, [ebp - 0xac]
call fcn.10003a20
lea ecx, [ebp - 0x2c]
call fcn.10003a20
jmp 0x10037fd3
cmp ecx, 0x20
jbe 0x10037a39
mov ah, 0x58
mov byte [ebp - 0x6c], 0
mov al, 0xc
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x39
mov byte [ebp - 0x6f], al
mov dl, 0x3f
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.10003ae0
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x10048720]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x70393031
mov word [ebp - 0x80], 0x7f
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x14
jb 0x100379d2
lea eax, [ebp - 0x93]
mov byte [ebp - 0x7f], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10003ae0
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 [0x10048044]
lea ecx, [ebp - 0xac]
call fcn.10003a20
lea ecx, [ebp - 0x2c]
call fcn.10003a20
jmp 0x10037fd3
xor esi, esi
test ecx, ecx
je 0x10037a84
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 0x10037a7c
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 0x10037b05
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x48]
inc esi
cmp esi, ecx
jb 0x10037a45
mov edi, dword [ebp - 0x78]
mov byte [ebp - 0x70], 2
mov al, 0x45
xor al, byte [ebp - 0x70]
mov ah, 0x67
mov byte [ebp - 0x6f], al
sub esp, 0x18
mov al, byte [ebp - 0x70]
mov cl, 0x63
mov ch, 0x22
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, 0x6f
mov byte [ebp - 0x6b], ch
mov dh, 0x4f
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.10003ae0
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 0x10037bfa
mov eax, dword [ecx]
jmp 0x10037bfc
mov ah, 0x58
mov byte [ebp - 0x6c], 0
mov al, 0xc
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 0x39
mov byte [ebp - 0x6f], al
mov dl, 0x3f
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.10003ae0
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x10048a60]
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xbc], 0x737e6236
movaps xmm0, xmmword [0x10048a70]
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xb8], 0x71776236
movaps xmm0, xmmword [0x10048d00]
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb4], 0x38727f36
mov word [ebp - 0xb0], 0x37
nop word [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x3c
jb 0x10037b90
lea eax, [ebp - 0xeb]
mov byte [ebp - 0xaf], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.10003ae0
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 [0x10048044]
lea ecx, [ebp - 0xac]
call fcn.10003a20
lea ecx, [ebp - 0x2c]
call fcn.10003a20
jmp 0x10037fd3
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.100045d0
mov byte [ebp - 4], 0
call fcn.1000b4d0
add esp, 0x30
test al, al
jne 0x10037ee8
mov dh, 0x4b
mov byte [ebp - 0x6a], 0
mov al, 0xc
mov byte [ebp - 0x70], dh
mov ah, 0x2e
mov byte [ebp - 0x6a], 0
sub esp, 0x18
mov cl, 0x2a
mov ch, 6
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, 0x26
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.10003ae0
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 0x10037c90
mov eax, dword [ecx]
jmp 0x10037c92
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.100045d0
mov byte [ebp - 4], 0
call fcn.1000b4d0
add esp, 0x30
test al, al
jne 0x10037ee8
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.10003ae0
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.1000b4d0
add esp, 0x30
test al, al
jne 0x10037ee8
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.10003ae0
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.1000b4d0
add esp, 0x30
test al, al
jne 0x10037ee8
mov ch, 0x7e
mov byte [ebp - 0x73], 0
mov cl, 0x1b
mov byte [ebp - 0x78], ch
mov ah, cl
mov byte [ebp - 0x73], 0
mov al, 0x3a
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, 8
mov byte [ebp - 0x76], cl
xor dl, ch
lea eax, [ebp - 0x77]
mov ecx, esp
mov byte [ebp - 0x75], dl
push eax
call fcn.10003ae0
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.1000b4d0
add esp, 0x30
test al, al
jne 0x10037ee8
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 0x10037e5a
mov ecx, dword [ebp - 0x58]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x10037e51
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.1000dc50
mov ecx, edi
call fcn.100382d0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], vtable.ByteBuffer.0
call fcn.10008660
lea ecx, [ebp - 0x48]
call fcn.10003a20
mov al, 1
jmp 0x10037fe7
mov ah, 0x60
mov byte [ebp - 0x6c], 0
mov al, 0x34
mov byte [ebp - 0x70], ah
xor al, ah
mov byte [ebp - 0x6c], 0
mov cl, 1
mov byte [ebp - 0x6f], al
mov dl, 7
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.10003ae0
mov byte [ebp - 4], 0xc
xor ecx, ecx
movaps xmm0, xmmword [str._GF_]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0xf5b4041
mov dword [ebp - 0x1c], 0x4043434e
mov dword [ebp - 0x18], 0x14b4a58
mov word [ebp - 0x14], 0xe
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x10037f45
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x13], 0
push eax
lea ecx, [ebp - 0x94]
call fcn.10003ae0
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 [0x10048044]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x10037fa3
inc eax
push eax
push dword [ebp - 0x94]
call fcn.10004c40
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x10037fd3
inc eax
push eax
push dword [ebp - 0xac]
call fcn.10004c40
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10037fe5
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10004c40
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.1003de80
mov esp, ebp
pop ebp
ret 8
cmp eax, dword [edi + 0x10]
jne 0x10038114
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 0x100380a5
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + 1]
cmp eax, esi
jae 0x1003809c
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 0x100380f7
mov ecx, dword ds:[0x10043a6c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x78]
push dword [ebp - 0x68]
call dword [0x10043a68]
mov ecx, edi
call fcn.100382d0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], vtable.ByteBuffer.0
call fcn.10008660
mov al, 1
jmp 0x10037fe7
cmp eax, dword [edi + 4]
jne 0x1003811e
call fcn.100382d0
mov al, 1
jmp 0x10037fe7