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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066d70
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x1007c040]
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 [0x1007f9f0], eax
test esi, esi
je 0x1001f1a9
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1001e6da
cmp eax, 4
je 0x1001e6da
cmp eax, 0x100
jne 0x1001f1a9
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0xf
add esp, 0xc
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 4], 0
mov eax, 0x1007d470
cmp dword [0x1007d484], 0xf
mov dword [ebp - 0x11c], 0
cmova eax, dword [0x1007d470]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x12c], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x148], 0x5d
mov al, 0x12
xor al, byte [ebp - 0x148]
mov cl, 0x2d
xor cl, byte [ebp - 0x148]
mov dh, 0x33
mov byte [ebp - 0x147], al
mov ah, 0x34
mov byte [ebp - 0x146], cl
mov dl, 0x29
mov cl, byte [ebp - 0x148]
mov ch, 0x32
mov byte [ebp - 0x152], 0x73
xor dl, cl
mov al, byte [ebp - 0x152]
xor ch, cl
xor al, cl
mov byte [ebp - 0x151], 0x14
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 0x1001e97e
cmp esi, eax
jne 0x1001e97e
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x1007fbe0], 1
setne dl
mov dword [0x1007fbe0], edx
mov byte [0x1007f932], dl
call fcn.10011370
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001e848
mov esi, dword [esi]
mov byte [ebp - 0x148], 0x52
mov al, 1
xor al, byte [ebp - 0x148]
mov cl, 0x39
xor cl, byte [ebp - 0x148]
mov ah, 0x3e
mov byte [ebp - 0x147], al
mov ch, ah
mov byte [ebp - 0x146], cl
mov dl, 0x3b
mov cl, byte [ebp - 0x148]
mov dh, 0x13
mov byte [ebp - 0x136], 0x20
xor ch, cl
mov al, byte [ebp - 0x136]
xor dl, cl
xor al, cl
mov byte [ebp - 0x135], 0x37
mov byte [ebp - 0x141], al
xor ah, cl
mov al, byte [ebp - 0x135]
xor dh, cl
xor al, cl
mov byte [ebp - 0x151], 0x33
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x143], ch
mov ch, 0xd
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x145], dl
mov cl, 0x64
mov byte [ebp - 0x144], ah
mov dl, 0x7e
mov byte [ebp - 0x13f], al
mov ah, 0x6e
mov byte [ebp - 0x142], dh
mov al, 0x40
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 0x1001f16b
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f161
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f161
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [edi + 4]
test eax, eax
je 0x1001ea71
cmp esi, eax
jne 0x1001ea71
mov esi, dword [0x1007f868]
xor eax, eax
cmp dword [0x1007fbe4], 1
setne al
mov dword [0x1007fbe4], eax
test esi, esi
je 0x1001e9f2
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1001e9f2
test eax, eax
mov eax, dword [esi]
je 0x1001e9d6
test eax, eax
je 0x1001e9f2
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001e9f2
mov ecx, dword [esi]
push 1
call dword [0x10073668]
jmp 0x1001e9f2
test eax, eax
je 0x1001e9f2
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001e9f2
mov ecx, dword [esi]
push eax
push eax
push eax
call dword [0x1007366c]
mov edx, dword [0x1007fbe4]
lea ecx, [ebp - 0x16c]
call fcn.10011370
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001ea0d
mov esi, dword [esi]
mov cl, 9
mov dword [ebp - 0x148], 0x676c4e09
mov dword [ebp - 0x144], 0x605f6c60
xor eax, eax
mov dword [ebp - 0x140], 0x656b607a
mov word [ebp - 0x13c], 0x6c
nop dword [eax + eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xc
jae 0x1001ea55
mov cl, byte [ebp - 0x148]
jmp 0x1001ea40
mov ch, 0x4c
mov byte [ebp - 0x13b], 0
mov byte [ebp - 0x134], ch
mov al, 1
mov cl, 0x25
mov dl, 0x3f
mov ah, 0x2f
jmp 0x1001e8f6
mov eax, dword [edi + 8]
test eax, eax
je 0x1001eb72
cmp esi, eax
jne 0x1001eb72
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x1007fbec], 1
setne dl
mov dword [0x1007fbec], edx
call fcn.10011370
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001eaab
mov esi, dword [esi]
mov cl, 0x21
mov byte [ebp - 0x148], 0x44
mov ch, cl
mov byte [ebp - 0x136], 7
xor cl, byte [ebp - 0x148]
mov al, 0x16
xor al, byte [ebp - 0x148]
mov dl, 0x2a
mov byte [ebp - 0x147], al
mov ah, 0x20
mov al, byte [ebp - 0x136]
mov dh, 0x36
mov byte [ebp - 0x146], cl
mov cl, byte [ebp - 0x148]
xor al, cl
mov byte [ebp - 0x135], 0x25
mov byte [ebp - 0x141], al
xor dl, cl
mov al, byte [ebp - 0x135]
xor ah, cl
xor al, cl
mov byte [ebp - 0x151], 0x34
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, 0x2f
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x145], dl
mov cl, 0x46
mov byte [ebp - 0x144], ah
mov dl, 0x5c
mov byte [ebp - 0x13e], al
mov ah, 0x4c
mov byte [ebp - 0x142], dh
mov al, 0x62
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x134], ch
jmp 0x1001e8f6
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1001ec4d
cmp esi, eax
jne 0x1001ec4d
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x1007fbf0], 1
setne dl
mov dword [0x1007fbf0], edx
call fcn.10011370
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001ebac
mov esi, dword [esi]
mov cl, 0x68
mov dword [ebp - 0x14c], 0x6093a68
mov dword [ebp - 0x148], 0xf060103
xor eax, eax
mov dword [ebp - 0x144], 0xd0e0e2d
mov word [ebp - 0x140], 0x1c0b
mov byte [ebp - 0x13e], 0
nop
xor byte [ebp + eax - 0x14b], cl
inc eax
cmp eax, 0xd
jae 0x1001ebf5
mov cl, byte [ebp - 0x14c]
jmp 0x1001ebe0
mov ch, 0x2d
mov byte [ebp - 0x12f], 0
mov al, 0x60
mov byte [ebp - 0x13e], 0
xor al, ch
mov byte [ebp - 0x134], ch
mov cl, 0x44
mov byte [ebp - 0x133], al
mov dl, 0x5e
mov byte [ebp - 0x12f], 0
mov ah, 0x4e
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 0x1001e932
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001efc4
cmp esi, eax
jne 0x1001efc4
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x1001ecc1
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001ecc1
push 4
push eax
call esi
test eax, eax
jne 0x1001ecc1
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x1001ecc1
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x17
ja 0x1001f16b
jmp 0x1001ecc3
xor esi, esi
cmp esi, dword [0x1007fbe8]
je 0x1001f16b
mov dword [0x1007fbe8], esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001ecfc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001ecfc
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x10073630]
xor ecx, ecx
push esi
cmp esi, 0xa
jge 0x1001ef4f
movaps xmm0, xmmword [0x10074b40]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0x1f154b43
mov word [ebp - 0x13c], 0x1f
nop dword [eax]
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x14
jb 0x1001ed30
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 0x1001ed72
sub ecx, dword [ebp - 0x134]
push ecx
lea eax, [ebp - 0x14f]
mov ecx, edx
push eax
call fcn.100051a0
lea eax, [ebp - 0x16c]
push eax
call fcn.10004d30
add esp, 0x20
lea ecx, [ebp - 0x12c]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x1001ede3
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001edd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e978
push ecx
push edx
call fcn.100641c5
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 0x1001ee12
push 4
push eax
call edi
test eax, eax
jne 0x1001ee12
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x12c]
push eax
call dword [0x10073638]
mov ecx, 0x10b8130
call fcn.10013040
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001ee5c
push 4
push eax
call edi
test eax, eax
jne 0x1001ee5c
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001ee5c
push 4
push eax
call edi
test eax, eax
jne 0x1001ee5c
mov ecx, dword [ebp - 0x134]
push eax
push esi
push eax
push eax
push eax
call dword [0x10073688]
mov edx, dword [0x1007fbe8]
lea ecx, [ebp - 0x16c]
call fcn.10011370
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001ee77
mov esi, dword [esi]
mov byte [ebp - 0x144], 0x73
mov al, 0x34
xor al, byte [ebp - 0x144]
mov cl, 0x12
xor cl, byte [ebp - 0x144]
mov dl, 0x1e
mov byte [ebp - 0x143], al
mov ah, 0x16
mov byte [ebp - 0x136], dl
mov ch, 0x27
mov al, byte [ebp - 0x136]
mov dh, 0x1a
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, 0x78
mov ch, 0x35
mov byte [ebp - 0x13b], 0
xor al, ch
mov byte [ebp - 0x12f], 0
mov cl, 0x5c
mov byte [ebp - 0x133], al
mov dl, 0x46
mov byte [ebp - 0x13e], dh
mov ah, 0x56
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 0x1001e932
movaps xmm0, xmmword [0x100754c0]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0x1010b55
mov byte [ebp - 0x13c], 0
nop
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x13
jb 0x1001ef70
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 0x1001efb2
sub ecx, dword [ebp - 0x134]
jmp 0x1001ed7f
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001f16b
cmp esi, eax
jne 0x1001f16b
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x1001f038
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001f038
push 4
push eax
call esi
test eax, eax
jne 0x1001f038
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x1001f038
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x14
ja 0x1001f16b
jmp 0x1001f03a
xor esi, esi
cmp esi, dword [0x1007fbf4]
je 0x1001f16b
mov dword [0x1007fbf4], esi
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001f073
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001f073
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x10073630]
mov eax, dword [edi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x1001f09c
push 4
push eax
call edi
test eax, eax
jne 0x1001f09c
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x1007363c]
movd xmm0, dword [0x1007fbf4]
mov ecx, 0x10b8150
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10074724]
movss dword [ebp - 0x134], xmm0
movss dword [0x1007c0dc], xmm0
call fcn.10013040
test eax, eax
je 0x1001f0e8
lea esi, [eax + 0x1ac]
push 4
push esi
call edi
test eax, eax
jne 0x1001f0e8
movss xmm0, dword [ebp - 0x134]
movss dword [esi], xmm0
mov edx, dword [0x1007fbf4]
lea ecx, [ebp - 0x16c]
call fcn.10011370
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001f103
mov esi, dword [esi]
mov cl, 0x32
mov dword [ebp - 0x148], 0x5f537132
mov dword [ebp - 0x144], 0x60534057
xor eax, eax
mov dword [ebp - 0x140], 0x57555c53
mov byte [ebp - 0x13c], 0
nop dword [eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xb
jae 0x1001f145
mov cl, byte [ebp - 0x148]
jmp 0x1001f130
mov ch, 0x1d
mov byte [ebp - 0x13c], 0
mov byte [ebp - 0x134], ch
mov al, 0x50
mov cl, 0x74
mov dl, 0x6e
mov ah, 0x7e
jmp 0x1001e8f6
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x1001f1a5
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f19b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e978
push ecx
push edx
call fcn.100641c5
add esp, 8
mov al, 1
jmp 0x1001f1ab
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.10064164
mov esp, ebp
pop ebp
ret 8