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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c2f0
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x10080040]
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 esi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov dword [0x100851a0], eax
test esi, esi
je 0x10015bb5
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100150ea
cmp eax, 4
je 0x100150ea
cmp eax, 0x100
jne 0x10015bb5
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call fcn.1004c190
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0xf
add esp, 0xc
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 4], 0
mov eax, 0x10081ef0
cmp dword [0x10081f04], 0xf
mov dword [ebp - 0x11c], 0
cmova eax, dword [0x10081ef0]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x12c], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x148], 0x62
mov al, 0x2d
xor al, byte [ebp - 0x148]
mov cl, 0x12
xor cl, byte [ebp - 0x148]
mov dh, 0xc
mov byte [ebp - 0x147], al
mov ah, 0xb
mov byte [ebp - 0x146], cl
mov dl, 0x16
mov cl, byte [ebp - 0x148]
mov ch, 0xd
mov byte [ebp - 0x152], 0x4c
xor dl, cl
mov al, byte [ebp - 0x152]
xor ch, cl
xor al, cl
mov byte [ebp - 0x151], 0x2b
mov byte [ebp - 0x141], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x135], dh
mov byte [ebp - 0x140], al
xor dh, cl
mov al, byte [ebp - 0x135]
xor al, cl
mov byte [ebp - 0x136], ah
mov byte [ebp - 0x13f], al
xor ah, cl
mov al, byte [ebp - 0x136]
xor al, cl
mov byte [ebp - 0x144], ah
mov byte [ebp - 0x13e], al
lea eax, [ebp - 0x147]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x13d], 0
push eax
mov byte [ebp - 0x145], dl
mov byte [ebp - 0x143], ch
mov byte [ebp - 0x142], dh
mov byte [ebp - 0x13d], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi]
test eax, eax
je 0x1001538d
cmp esi, eax
jne 0x1001538d
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x10085390], 1
setne dl
mov dword [0x10085390], edx
mov byte [0x100850ee], dl
call fcn.1000efc0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10015258
mov esi, dword [esi]
mov byte [ebp - 0x148], 0x36
mov al, 0x65
xor al, byte [ebp - 0x148]
mov cl, 0x5d
xor cl, byte [ebp - 0x148]
mov ah, 0x5a
mov byte [ebp - 0x147], al
mov ch, ah
mov byte [ebp - 0x146], cl
mov dl, 0x5f
mov cl, byte [ebp - 0x148]
mov dh, 0x77
mov byte [ebp - 0x136], 0x44
xor ch, cl
mov al, byte [ebp - 0x136]
xor dl, cl
xor al, cl
mov byte [ebp - 0x135], 0x53
mov byte [ebp - 0x141], al
xor ah, cl
mov al, byte [ebp - 0x135]
xor dh, cl
xor al, cl
mov byte [ebp - 0x151], 0x57
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x143], ch
mov ch, 6
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x145], dl
mov cl, 0x6f
mov byte [ebp - 0x144], ah
mov dl, 0x75
mov byte [ebp - 0x13f], al
mov ah, 0x65
mov byte [ebp - 0x142], dh
mov al, 0x4b
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x134], ch
xor al, ch
mov byte [ebp - 0x12f], 0
xor cl, ch
mov byte [ebp - 0x133], al
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 0x12f], 0
lea eax, [ebp - 0x147]
push esi
push eax
lea eax, [ebp - 0x133]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x10015b7b
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015b71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bd4
jmp 0x10015b71
mov eax, dword [edi + 4]
test eax, eax
je 0x10015481
cmp esi, eax
jne 0x10015481
mov esi, dword [0x10085038]
xor eax, eax
cmp dword [0x10085394], 1
setne al
mov dword [0x10085394], eax
test esi, esi
je 0x10015401
mov esi, dword [esi + 0xc]
test esi, esi
je 0x10015401
test eax, eax
mov eax, dword [esi]
je 0x100153e5
test eax, eax
je 0x10015401
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10015401
mov ecx, dword [esi]
push 1
call dword [0x10077ca8]
jmp 0x10015401
test eax, eax
je 0x10015401
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10015401
mov ecx, dword [esi]
push eax
push eax
push eax
call dword [0x10077cac]
mov edx, dword [0x10085394]
lea ecx, [ebp - 0x16c]
call fcn.1000efc0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001541c
mov esi, dword [esi]
mov cl, 0x15
mov dword [ebp - 0x148], 0x7b705215
mov dword [ebp - 0x144], 0x7c43707c
xor eax, eax
mov dword [ebp - 0x140], 0x79777c66
mov word [ebp - 0x13c], 0x70
nop word [eax + eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xc
jae 0x10015465
mov cl, byte [ebp - 0x148]
jmp 0x10015450
mov ch, 0x49
mov byte [ebp - 0x13b], 0
mov byte [ebp - 0x134], ch
mov al, 4
mov cl, 0x20
mov dl, 0x3a
mov ah, 0x2a
jmp 0x10015306
mov eax, dword [edi + 8]
test eax, eax
je 0x10015582
cmp esi, eax
jne 0x10015582
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x1008539c], 1
setne dl
mov dword [0x1008539c], edx
call fcn.1000efc0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x100154bb
mov esi, dword [esi]
mov cl, 0x5c
mov byte [ebp - 0x148], 0x39
mov ch, cl
mov byte [ebp - 0x136], 0x7a
xor cl, byte [ebp - 0x148]
mov al, 0x6b
xor al, byte [ebp - 0x148]
mov dl, 0x57
mov byte [ebp - 0x147], al
mov ah, 0x5d
mov al, byte [ebp - 0x136]
mov dh, 0x4b
mov byte [ebp - 0x146], cl
mov cl, byte [ebp - 0x148]
xor al, cl
mov byte [ebp - 0x135], 0x58
mov byte [ebp - 0x141], al
xor dl, cl
mov al, byte [ebp - 0x135]
xor ah, cl
xor al, cl
mov byte [ebp - 0x151], 0x49
mov byte [ebp - 0x140], al
xor dh, cl
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x152], ch
xor ch, cl
mov byte [ebp - 0x13f], al
mov al, byte [ebp - 0x152]
xor al, cl
mov byte [ebp - 0x143], ch
mov ch, 1
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x145], dl
mov cl, 0x68
mov byte [ebp - 0x144], ah
mov dl, 0x72
mov byte [ebp - 0x13e], al
mov ah, 0x62
mov byte [ebp - 0x142], dh
mov al, 0x4c
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x134], ch
jmp 0x10015306
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1001565d
cmp esi, eax
jne 0x1001565d
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x100853a0], 1
setne dl
mov dword [0x100853a0], edx
call fcn.1000efc0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x100155bc
mov esi, dword [esi]
mov cl, 0x3f
mov dword [ebp - 0x14c], 0x515e6d3f
mov dword [ebp - 0x148], 0x58515654
xor eax, eax
mov dword [ebp - 0x144], 0x5a59597a
mov word [ebp - 0x140], 0x4b5c
mov byte [ebp - 0x13e], 0
nop
xor byte [ebp + eax - 0x14b], cl
inc eax
cmp eax, 0xd
jae 0x10015605
mov cl, byte [ebp - 0x14c]
jmp 0x100155f0
mov ch, 1
mov byte [ebp - 0x12f], 0
mov al, 0x4c
mov byte [ebp - 0x13e], 0
xor al, ch
mov byte [ebp - 0x134], ch
mov cl, 0x68
mov byte [ebp - 0x133], al
mov dl, 0x72
mov byte [ebp - 0x12f], 0
mov ah, 0x62
xor cl, ch
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
push esi
lea eax, [ebp - 0x14b]
jmp 0x10015342
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x100159d4
cmp esi, eax
jne 0x100159d4
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x100156d1
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x100156d1
push 4
push eax
call esi
test eax, eax
jne 0x100156d1
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x100156d1
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x17
ja 0x10015b7b
jmp 0x100156d3
xor esi, esi
cmp esi, dword [0x10085398]
je 0x10015b7b
mov dword [0x10085398], esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001570c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001570c
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x10077c80]
xor ecx, ecx
push esi
cmp esi, 0xa
jge 0x1001595f
movaps xmm0, xmmword [0x100790e0]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0x3e346a62
mov word [ebp - 0x13c], 0x3e
nop dword [eax]
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x14
jb 0x10015740
sub esp, 0x18
mov byte [ebp - 0x13b], 0
mov edx, esp
lea ecx, [ebp - 0x14f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015782
sub ecx, dword [ebp - 0x134]
push ecx
lea eax, [ebp - 0x14f]
mov ecx, edx
push eax
call fcn.10002130
lea eax, [ebp - 0x16c]
push eax
call fcn.1000b3c0
add esp, 0x20
lea ecx, [ebp - 0x12c]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x100157f3
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100157e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bd4
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [edi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10015822
push 4
push eax
call edi
test eax, eax
jne 0x10015822
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x12c]
push eax
call dword [0x10077c88]
mov ecx, 0x10b8130
call fcn.1000f390
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001586c
push 4
push eax
call edi
test eax, eax
jne 0x1001586c
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001586c
push 4
push eax
call edi
test eax, eax
jne 0x1001586c
mov ecx, dword [ebp - 0x134]
push eax
push esi
push eax
push eax
push eax
call dword [0x10077cc0]
mov edx, dword [0x10085398]
lea ecx, [ebp - 0x16c]
call fcn.1000efc0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10015887
mov esi, dword [esi]
mov byte [ebp - 0x144], 0x62
mov al, 0x25
xor al, byte [ebp - 0x144]
mov cl, 3
xor cl, byte [ebp - 0x144]
mov dl, 0xf
mov byte [ebp - 0x143], al
mov ah, 7
mov byte [ebp - 0x136], dl
mov ch, 0x36
mov al, byte [ebp - 0x136]
mov dh, 0xb
mov byte [ebp - 0x142], cl
mov cl, byte [ebp - 0x144]
xor al, cl
mov byte [ebp - 0x135], ah
mov byte [ebp - 0x13d], al
xor dl, cl
mov al, byte [ebp - 0x135]
xor ah, cl
xor al, cl
mov byte [ebp - 0x140], ah
xor ch, cl
mov byte [ebp - 0x13c], al
xor dh, cl
mov byte [ebp - 0x141], dl
mov byte [ebp - 0x13f], ch
mov al, 0x5c
mov ch, 0x11
mov byte [ebp - 0x13b], 0
xor al, ch
mov byte [ebp - 0x12f], 0
mov cl, 0x78
mov byte [ebp - 0x133], al
mov dl, 0x62
mov byte [ebp - 0x13e], dh
mov ah, 0x72
mov byte [ebp - 0x13b], 0
xor cl, ch
mov byte [ebp - 0x134], ch
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 0x12f], 0
lea eax, [ebp - 0x143]
push esi
jmp 0x10015342
movaps xmm0, xmmword [0x10078fc0]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0x44444e10
mov byte [ebp - 0x13c], 0
nop
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x13
jb 0x10015980
sub esp, 0x18
mov byte [ebp - 0x13c], 0
mov edx, esp
lea ecx, [ebp - 0x14f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100159c2
sub ecx, dword [ebp - 0x134]
jmp 0x1001578f
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10015b7b
cmp esi, eax
jne 0x10015b7b
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x10015a48
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10015a48
push 4
push eax
call esi
test eax, eax
jne 0x10015a48
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x10015a48
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x14
ja 0x10015b7b
jmp 0x10015a4a
xor esi, esi
cmp esi, dword [0x100853a4]
je 0x10015b7b
mov dword [0x100853a4], esi
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10015a83
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10015a83
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x10077c80]
mov eax, dword [edi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10015aac
push 4
push eax
call edi
test eax, eax
jne 0x10015aac
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x10077c8c]
movd xmm0, dword [0x100853a4]
mov ecx, 0x10b8150
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10078c84]
movss dword [ebp - 0x134], xmm0
movss dword [0x10080b5c], xmm0
call fcn.1000f390
test eax, eax
je 0x10015af8
lea esi, [eax + 0x1ac]
push 4
push esi
call edi
test eax, eax
jne 0x10015af8
movss xmm0, dword [ebp - 0x134]
movss dword [esi], xmm0
mov edx, dword [0x100853a4]
lea ecx, [ebp - 0x16c]
call fcn.1000efc0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10015b13
mov esi, dword [esi]
mov cl, 0x72
mov dword [ebp - 0x148], 0x1f133172
mov dword [ebp - 0x144], 0x20130017
xor eax, eax
mov dword [ebp - 0x140], 0x17151c13
mov byte [ebp - 0x13c], 0
nop dword [eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xb
jae 0x10015b55
mov cl, byte [ebp - 0x148]
jmp 0x10015b40
mov ch, 0x18
mov byte [ebp - 0x13c], 0
mov byte [ebp - 0x134], ch
mov al, 0x55
mov cl, 0x71
mov dl, 0x6b
mov ah, 0x7b
jmp 0x10015306
push ecx
push edx
call fcn.1004a076
add esp, 8
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x10015bb1
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015ba7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015bd4
push ecx
push edx
call fcn.1004a076
add esp, 8
mov al, 1
jmp 0x10015bb7
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.1004a015
mov esp, ebp
pop ebp
ret 8
call fcn.1004f344
int3