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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008035d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movsd xmm0, qword [0x100eb150]
ucomisd xmm0, qword [0x1008d508]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lahf
test ah, 0x44
jnp 0x100514bf
mov esi, 8
mov dword [ebp - 0x1c], 0x58584d2c
xor eax, eax
mov dword [ebp - 0x20], esi
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea eax, [esi + 1]
mov dword [ebp - 0x18], 0x49474f4d
mov byte [ebp - 0x14], 0x5e
call fcn.1007cdb0
mov edi, esp
lea eax, [ebp - 0x1b]
xor ecx, ecx
sub eax, edi
sub esi, ecx
lea edx, [ecx + edi]
mov cl, byte [ebp - 0x1c]
mov edi, eax
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x10051288
mov edi, esp
mov dword [ebp - 0x1c], 6
mov esi, 8
mov dword [ebp - 0x18], 0x687e780d
mov eax, esi
mov dword [ebp - 0x14], 0x69647f
mov byte [edi + esi], 0
call fcn.1007cd80
mov eax, esp
lea esi, [ebp - 0x17]
mov dword [ebp - 0x2c], eax
mov ecx, eax
sub esi, eax
mov edx, 6
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0xd
mov byte [ecx - 1], al
sub edx, 1
jne 0x100512d0
mov ecx, dword [ebp - 0x30]
mov eax, esp
push edx
push edi
mov byte [eax + 6], dl
mov eax, dword [0x100e8994]
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x100e8994]
push eax
call esi
mov edx, dword [0x100e8994]
mov edi, eax
mov eax, dword [ebp - 0x30]
mov ecx, eax
push 0
push dword [ebp - 0x2c]
mov edx, dword [edx]
mov esi, dword [edx + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
call edx
mov ecx, dword [0x100e8994]
push eax
call esi
mov ecx, dword [0x100e8994]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
cmp edi, eax
jne 0x100514bf
mov ecx, dword [0x100e8994]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x100514bf
mov ecx, dword [0x100e8960]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x100514bf
mov ecx, eax
call fcn.1007ae50
test al, al
je 0x100514bf
cvttsd2si ecx, qword [0x100eb158]
cmp ecx, 3
jge 0x100513a0
mov eax, dword [0x100e8e60]
push 5
push 0
push dword [eax + ecx*4]
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp 0x100514bf
mov eax, dword [0x100e8e6c]
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea ecx, [eax + ecx*8]
mov byte [ebp - 0x28], 0
mov eax, dword [ecx + 0x10]
cmp eax, 1
jb 0x100514df
dec eax
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x100513e2
mov ecx, dword [ecx]
lea eax, [ecx + 1]
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.100109d0
mov dword [ebp - 4], 0
cvttsd2si eax, qword [0x100eb158]
mov edx, dword [0x100e8e6c]
lea eax, [eax + eax*2]
mov esi, dword [edx + eax*8 + 0x10]
lea edi, [edx + eax*8]
lea eax, [esi + 2]
call fcn.1007cdb0
mov edx, esp
xor ecx, ecx
mov dword [ebp - 0x30], edx
test esi, esi
je 0x1005145c
mov esi, esp
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x1005142f
mov edx, dword [edi]
mov edi, edx
mov al, byte [edi + ecx + 1]
xor al, byte [edx]
mov byte [ecx + esi], al
inc ecx
movsd xmm0, qword [0x100eb158]
mov edx, dword [0x100e8e6c]
cvttsd2si eax, xmm0
lea eax, [eax + eax*2]
cmp ecx, dword [edx + eax*8 + 0x10]
lea edi, [edx + eax*8]
jb 0x10051423
mov edx, dword [ebp - 0x30]
jmp 0x10051464
movsd xmm0, qword [0x100eb158]
mov ecx, dword [0x100e8e6c]
cvttsd2si eax, xmm0
push edx
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 0x10]
mov ecx, dword [0x100e895c]
mov byte [eax + edx - 2], 0
mov eax, dword [ecx]
call dword [eax + 0x148]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100514bf
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100514b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100514b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007be73
add esp, 8
lea esp, [ebp - 0x44]
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.1007ba06
mov esp, ebp
pop ebp
ret 4
call fcn.100122c0
int3