Function at 0x1001285b
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0x1ac
mov eax, 0x10072d87
call fcn.1003bd50
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
mov dword [0x10098ce8], eax
test edi, edi
je 0x10012e87
cmp dword [ebp + 0xc], 1
jne 0x10012e87
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.10053790
add esp, 0xc
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 4], ebx
mov eax, 0x10095e30
cmp dword [0x10095e44], 0x10
mov dword [ebp - 0x13c], ebx
cmovae eax, dword [0x10095e30]
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 0x14c], bl
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x53
pop ebx
mov cl, 0x7d
mov dword [ebp - 0x128], 0x90d327d
mov word [ebp - 0x124], 0x1214
xor edx, edx
mov byte [ebp - 0x122], 0x13
mov byte [ebp - 0x121], bl
mov dword [ebp - 0x120], 0x141334
xor cl, byte [ebp + edx - 0x127]
mov byte [ebp + edx - 0x127], cl
inc edx
cmp edx, 0xa
jae 0x10012927
mov cl, byte [ebp - 0x128]
jmp 0x1001290b
lea eax, [ebp - 0x127]
mov byte [ebp - 0x11d], 0
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esi], 0
je 0x10012969
cmp edi, dword [esi]
jne 0x10012969
mov ecx, esi
call fcn.10012fe0
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.10004022
mov al, 1
jmp 0x10012e89
cmp dword [esi + 4], 0
je 0x10012bec
cmp edi, dword [esi + 4]
jne 0x10012bec
cmp dword [0x1009cf80], 1
jne 0x10012952
mov ecx, dword [esi + 0x18]
mov byte [0x10098c47], 1
call fcn.1000d62a
push eax
lea ecx, [ebp - 0x134]
call fcn.10003b96
xor ebx, ebx
mov byte [ebp - 4], 1
mov edi, ebx
cmp dword [ebp - 0x124], ebx
jbe 0x100129e0
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
movsx eax, byte [eax + edi]
push eax
call fcn.1005ab9d
pop ecx
test eax, eax
je 0x10012afb
inc edi
cmp edi, dword [ebp - 0x124]
jb 0x100129b0
mov ecx, dword [esi + 0x18]
call fcn.1000d62a
cmp dword [eax + 0x14], 0x10
jb 0x100129f0
mov eax, dword [eax]
push eax
call fcn.1005b5fd
mov dword [esi + 0x1c], eax
pop ecx
cmp eax, 0x64
jle 0x10012af0
movaps xmm0, xmmword [0x10089b50]
mov ecx, ebx
movups xmmword [ebp - 0x160], xmm0
mov word [ebp - 0x150], 0x302d
mov byte [ebp - 0x14e], bl
mov al, byte [ebp + ecx - 0x15f]
xor al, byte [ebp - 0x160]
mov byte [ebp + ecx - 0x15f], al
inc ecx
cmp ecx, 0x11
jb 0x10012a22
lea eax, [ebp - 0x15f]
mov byte [ebp - 0x14e], bl
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1000416d
mov byte [ebp - 4], 4
mov ecx, ebx
movaps xmm0, xmmword [0x10089bb0]
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x164], 0x3a357e
movaps xmm0, xmmword [0x1008a170]
movups xmmword [ebp - 0x174], xmm0
mov al, byte [ebp + ecx - 0x183]
xor al, byte [ebp - 0x184]
mov byte [ebp + ecx - 0x183], al
inc ecx
cmp ecx, 0x22
jb 0x10012a80
lea eax, [ebp - 0x183]
mov byte [ebp - 0x161], bl
push eax
lea ecx, [ebp - 0x1b8]
call fcn.1000416d
push ebx
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1a0]
and dword [esp], 0
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x10087fc4]
push ebx
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10004022
push ebx
push 1
lea ecx, [ebp - 0x1a0]
call fcn.10004022
lea ecx, [ebp - 0x134]
jmp 0x10012da6
movaps xmm0, xmmword [0x10089880]
mov edx, ebx
movups xmmword [ebp - 0x160], xmm0
mov word [ebp - 0x150], 0x2439
mov byte [ebp - 0x14e], bl
mov cl, byte [ebp - 0x160]
xor byte [ebp + edx - 0x15f], cl
inc edx
cmp edx, 0x11
jb 0x10012b1a
lea eax, [ebp - 0x15f]
mov byte [ebp - 0x14e], bl
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1000416d
mov byte [ebp - 4], 2
mov edx, ebx
movaps xmm0, xmmword [0x10089dc0]
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x168], 0x11161901
movaps xmm0, xmmword [0x100897a0]
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0x555a06
mov cl, byte [ebp - 0x188]
xor byte [ebp + edx - 0x187], cl
inc edx
cmp edx, 0x26
jb 0x10012b7b
lea eax, [ebp - 0x187]
mov byte [ebp - 0x161], bl
push eax
lea ecx, [ebp - 0x1b8]
call fcn.1000416d
push ebx
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1a0]
and dword [esp], 0
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x10087fc4]
push ebx
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10004022
push ebx
push 1
lea ecx, [ebp - 0x1a0]
call fcn.10004022
mov dword [esi + 0x1c], ebx
jmp 0x10012af0
cmp dword [esi + 8], 0
je 0x10012bfb
cmp edi, dword [esi + 8]
je 0x10012952
cmp dword [esi + 0xc], 0
je 0x10012cc1
cmp edi, dword [esi + 0xc]
jne 0x10012cc1
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x1009cf80], 1
setne dl
mov dword [0x1009cf80], edx
call fcn.1000be98
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x10012c35
mov ecx, dword [ecx]
xor ebx, ebx
mov dword [ebp - 0x124], 0x16172362
mov dl, 0x62
mov word [ebp - 0x120], 0xd
mov eax, ebx
xor byte [ebp + eax - 0x123], dl
inc eax
cmp eax, 4
jae 0x10012c63
mov dl, byte [ebp - 0x124]
jmp 0x10012c4e
mov byte [ebp - 0x11f], bl
mov dl, 0x45
mov dword [ebp - 0x15c], 0x202c1545
mov eax, ebx
mov dword [ebp - 0x158], 0x3d002026
mov dword [ebp - 0x154], 0x2b242d26
mov word [ebp - 0x150], 0x2022
mov byte [ebp - 0x14e], bl
xor byte [ebp + eax - 0x15b], dl
inc eax
cmp eax, 0xd
jae 0x10012caf
mov dl, byte [ebp - 0x15c]
jmp 0x10012c9a
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x123]
jmp 0x10012d8b
cmp dword [esi + 0x10], 0
je 0x10012db3
cmp edi, dword [esi + 0x10]
jne 0x10012db3
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x1009cf84], 1
setne dl
mov dword [0x1009cf84], edx
call fcn.1000be98
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x10012cfb
mov ecx, dword [ecx]
mov dl, 0x31
mov dword [ebp - 0x128], 0x5e456231
mov dword [ebp - 0x124], 0x5f785a52
xor eax, eax
mov word [ebp - 0x120], 0x5f
xor byte [ebp + eax - 0x127], dl
inc eax
cmp eax, 8
jae 0x10012d31
mov dl, byte [ebp - 0x128]
jmp 0x10012d1c
mov byte [ebp - 0x11f], 0
xor eax, eax
mov byte [ebp - 0x15c], bl
mov dword [ebp - 0x15b], 0x30363a03
mov dword [ebp - 0x157], 0x302b1636
mov dword [ebp - 0x153], 0x343d323b
mov word [ebp - 0x14f], 0x36
xor byte [ebp + eax - 0x15b], bl
inc eax
cmp eax, 0xd
jae 0x10012d7c
mov bl, byte [ebp - 0x15c]
jmp 0x10012d67
lea eax, [ebp - 0x11c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x127]
push ecx
push eax
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14e], bl
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1a0]
push ebx
push 1
call fcn.10004022
jmp 0x10012954
cmp dword [esi + 0x14], 0
je 0x10012952
cmp edi, dword [esi + 0x14]
jne 0x10012952
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x1009cf88], 1
setne dl
mov dword [0x1009cf88], edx
call fcn.1000be98
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x10012ded
mov edx, dword [edx]
push 0x5c
pop ecx
mov bl, 0x39
mov word [ebp - 0x124], 0x6a39
mov byte [ebp - 0x122], cl
xor eax, eax
mov word [ebp - 0x121], 0x5555
mov byte [ebp - 0x11f], 0
xor byte [ebp + eax - 0x123], bl
inc eax
cmp eax, 4
jae 0x10012e28
mov bl, byte [ebp - 0x124]
jmp 0x10012e13
xor ebx, ebx
mov byte [ebp - 0x15c], cl
mov byte [ebp - 0x11f], bl
mov eax, ebx
mov dword [ebp - 0x15b], 0x3f39350c
mov dword [ebp - 0x157], 0x3f241939
mov dword [ebp - 0x153], 0x3b323d34
mov word [ebp - 0x14f], 0x39
xor byte [ebp + eax - 0x15b], cl
inc eax
cmp eax, 0xd
jae 0x10012e74
mov cl, byte [ebp - 0x15c]
jmp 0x10012e5f
lea eax, [ebp - 0x11c]
push eax
push edx
lea eax, [ebp - 0x123]
jmp 0x10012d8c
xor al, al
call fcn.1003bcfa
ret 8