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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10051018]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov byte [esp + 4], 0x4f
mov al, 0x2d
xor al, byte [esp + 4]
mov dl, 0x3b
mov byte [esp + 5], al
mov dh, 0x20
mov al, byte [esp + 4]
mov bl, 0x21
push esi
push edi
xor dl, al
mov byte [esp + 0x15], 0
xor dh, al
mov byte [esp + 0xe], dl
mov edi, ecx
mov byte [esp + 0x13], dh
sub esp, 0x18
mov byte [esp + 0x2d], 0
mov edx, esp
mov ah, 0x10
mov cl, 0x2b
mov ch, 0x3d
mov bh, 0x3f
xor bl, al
xor ah, al
mov byte [esp + 0x27], bl
xor cl, al
mov byte [esp + 0x28], ah
xor ch, al
mov byte [esp + 0x29], cl
xor bh, al
mov byte [esp + 0x2a], ch
mov byte [esp + 0x2c], bh
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003a5cb
mov eax, dword [edx]
jmp 0x1003a5cd
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1003a5db
xor ecx, ecx
jmp 0x1003a5eb
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a5e2
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [edi]
call fcn.1000e680
movaps xmm0, xmmword [0x1004a6f0]
add esp, 0x18
mov dword [edi + 0x10], eax
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], 0
nop dword [eax + eax]
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xf
jb 0x1003a620
sub esp, 0x18
mov byte [esp + 0x34], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003a650
mov eax, dword [edx]
jmp 0x1003a652
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1003a660
xor ecx, ecx
jmp 0x1003a670
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a667
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [edi]
call fcn.1000e680
movaps xmm0, xmmword [0x1004ac00]
add esp, 0x18
mov dword [edi + 0x14], eax
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x50565447
mov byte [esp + 0x20], 0
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x13
jb 0x1003a6a5
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003a6d5
mov eax, dword [edx]
jmp 0x1003a6d7
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1003a6e5
xor ecx, ecx
jmp 0x1003a6f9
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a6f0
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [edi]
call fcn.1000e680
add esp, 0x18
mov dword [edi + 4], eax
mov cl, 0x41
mov dword [esp + 0xc], 0x2f352341
mov dword [esp + 0x10], 0x2f34271e
xor eax, eax
mov dword [esp + 0x14], 0x32202d22
mov word [esp + 0x18], 0x32
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x1003a746
mov cl, byte [esp + 0xc]
jmp 0x1003a736
sub esp, 0x18
mov byte [esp + 0x31], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003a768
mov eax, dword [edx]
jmp 0x1003a76a
mov eax, edx
mov byte [eax], 0
cmp byte [esp + 0x25], 0
jne 0x1003a778
xor ecx, ecx
jmp 0x1003a789
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a780
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [edi]
call fcn.1000e680
add esp, 0x18
mov dword [edi + 8], eax
mov cl, 6
mov dword [esp + 0xc], 0x68726406
mov dword [esp + 0x10], 0x72696a59
xor eax, eax
mov dword [esp + 0x14], 0x7f746372
mov byte [esp + 0x18], 0
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xb
jae 0x1003a7d4
mov cl, byte [esp + 0xc]
jmp 0x1003a7c4
sub esp, 0x18
mov byte [esp + 0x30], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x25], 0
jne 0x1003a7fa
xor ecx, ecx
jmp 0x1003a80a
lea ecx, [esp + 0x25]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a801
sub ecx, esi
push ecx
lea eax, [esp + 0x29]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [edi]
call fcn.1000e680
mov ebx, dword [0x10052f10]
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [edi + 0xc], eax
test ebx, ebx
je 0x1003a88a
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x1003a88a
mov ebx, dword [ebx]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test ebx, ebx
je 0x1003a867
push 4
push ebx
call esi
test eax, eax
jne 0x1003a867
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call dword [0x10049fe0]
mov ebx, dword [edi]
test ebx, ebx
je 0x1003a88a
push 4
push ebx
call esi
test eax, eax
jne 0x1003a88a
mov eax, dword [esp + 0x28]
mov ecx, ebx
push 5
add eax, 0xf5
push eax
call dword [0x10049fe4]
mov ebx, dword [edi]
test ebx, ebx
je 0x1003a8a3
push 4
push ebx
call esi
test eax, eax
jne 0x1003a8a3
push 0x14
mov ecx, ebx
call dword [0x1004a000]
mov ebx, dword [edi]
test ebx, ebx
je 0x1003a8bc
push 4
push ebx
call esi
test eax, eax
jne 0x1003a8bc
push 1
mov ecx, ebx
call dword [0x10049fec]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1003a8d5
push 4
push ebx
call esi
test eax, eax
jne 0x1003a8d5
push eax
mov ecx, ebx
call dword [0x10049fec]
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1003a8ee
push 4
push ebx
call esi
test eax, eax
jne 0x1003a8ee
push eax
mov ecx, ebx
call dword [0x10049fec]
mov edi, dword [edi + 0xc]
test edi, edi
je 0x1003a907
push 4
push edi
call esi
test eax, eax
jne 0x1003a907
push eax
mov ecx, edi
call dword [0x10049fec]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret