Function at 0x10037610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x1006a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, word [edi + 0xf6]
xor ecx, ecx
movaps xmm0, xmmword [0x10063ae0]
push eax
movzx eax, word [edi + 0xf4]
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x77363c
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x10037661
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003768f
mov eax, dword [edx]
jmp 0x10037691
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x1003769e
xor ecx, ecx
jmp 0x100376ad
lea ecx, [ebp - 0x23]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100376a4
sub ecx, esi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.100052b0
lea eax, [ebp - 0x80]
push eax
call fcn.1000be20
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x100376d6
mov edx, dword [edx]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp byte [edx], 0
jne 0x100376f1
xor ecx, ecx
jmp 0x100376ff
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100376f6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.100052b0
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1003772f
push 4
push esi
call ebx
test eax, eax
jne 0x1003772f
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call dword [0x1006254c]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10037741
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10005180
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x1003776c
inc eax
push eax
push dword [ebp - 0x80]
call fcn.10005180
movzx eax, word [edi + 0xf8]
test ax, ax
jne 0x10037806
mov cl, 0x7e
mov byte [ebp - 0xe], 0
mov al, 0x53
mov byte [ebp - 0x10], cl
xor al, cl
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xf], al
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x100377a8
xor ecx, ecx
jmp 0x100377b9
lea ecx, [ebp - 0xf]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100377b0
sub ecx, edx
push ecx
lea eax, [ebp - 0xf]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100052b0
mov dword [ebp - 4], 2
mov esi, dword [edi + 0x54]
test esi, esi
je 0x100377e9
push 4
push esi
call ebx
test eax, eax
jne 0x100377e9
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call dword [0x1006254c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10037932
inc eax
push eax
push dword [ebp - 0x3c]
jmp 0x1003792d
push eax
mov cl, 0x30
mov dword [ebp - 0x20], 0x53596430
mov dword [ebp - 0x1c], 0xa44555b
xor eax, eax
mov dword [ebp - 0x18], 0x54151310
mov byte [ebp - 0x14], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xb
jae 0x10037833
mov cl, byte [ebp - 0x20]
jmp 0x10037824
sub esp, 0x18
mov byte [ebp - 0x14], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10037854
mov eax, dword [edx]
jmp 0x10037856
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x10037863
xor ecx, ecx
jmp 0x10037879
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037870
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100052b0
lea eax, [ebp - 0x80]
push eax
call fcn.1000be20
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
jb 0x100378a2
mov edx, dword [edx]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp byte [edx], 0
jne 0x100378bd
xor ecx, ecx
jmp 0x100378cb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100378c2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.100052b0
mov byte [ebp - 4], 4
mov esi, dword [edi + 0x54]
test esi, esi
je 0x100378f5
push 4
push esi
call ebx
test eax, eax
jne 0x100378f5
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call dword [0x1006254c]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10037907
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10005180
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x10037932
inc eax
push eax
push dword [ebp - 0x80]
call fcn.10005180
movzx eax, word [edi + 0xf4]
sub esp, 8
movss xmm1, dword [0x10062a18]
xor ecx, ecx
mov byte [ebp - 0x40], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
movaps xmm0, xmmword [0x100637f0]
movups xmmword [ebp - 0x50], xmm0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0xf
jb 0x10037968
sub esp, 0x18
mov byte [ebp - 0x40], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10037996
mov eax, dword [edx]
jmp 0x10037998
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x4f], 0
jne 0x100379a5
xor ecx, ecx
jmp 0x100379b9
lea ecx, [ebp - 0x4f]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100379b0
sub ecx, esi
push ecx
lea eax, [ebp - 0x4f]
mov ecx, edx
push eax
call fcn.100052b0
lea eax, [ebp - 0x98]
push eax
call fcn.1000be20
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 5
cmp dword [edx + 0x14], 0x10
jb 0x100379e5
mov edx, dword [edx]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp byte [edx], 0
jne 0x10037a00
xor ecx, ecx
jmp 0x10037a0e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037a05
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100052b0
mov byte [ebp - 4], 6
mov esi, dword [edi + 0x58]
test esi, esi
je 0x10037a38
push 4
push esi
call ebx
test eax, eax
jne 0x10037a38
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call dword [0x1006254c]
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x10037a4a
inc eax
push eax
push dword [ebp - 0x68]
call fcn.10005180
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x10037a74
inc eax
push eax
push dword [ebp - 0x98]
call fcn.10005180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret