Function at 0x1001eb60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092deb
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x100bb084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov dword [0x100bffe0], eax
test edi, edi
je 0x1001f333
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1001ebbb
cmp eax, 4
je 0x1001ebbb
cmp eax, 0x100
jne 0x1001f333
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.10060920
add esp, 0xc
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 4], 0
mov eax, 0x100c421c
cmp dword [0x100c4230], 0x10
mov dword [ebp - 0x11c], 0
cmovae eax, dword [0x100c421c]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x12c], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x144], 0x52
mov al, 0x1d
xor al, byte [ebp - 0x144]
mov cl, 0x22
xor cl, byte [ebp - 0x144]
mov ch, 0x3c
mov byte [ebp - 0x143], al
mov bl, 0x3b
mov byte [ebp - 0x14e], ch
mov ah, 0x3d
mov al, byte [ebp - 0x14e]
mov dl, 0x26
mov byte [ebp - 0x142], cl
mov dh, 0x7c
mov cl, byte [ebp - 0x144]
mov bh, 0x1b
xor al, cl
mov byte [ebp - 0x14d], bl
mov byte [ebp - 0x13b], al
xor ah, cl
mov al, byte [ebp - 0x14d]
xor dl, cl
xor al, cl
mov byte [ebp - 0x13f], ah
mov byte [ebp - 0x13a], al
xor bl, cl
lea eax, [ebp - 0x143]
mov byte [ebp - 0x139], 0
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x141], dl
xor ch, cl
mov byte [ebp - 0x140], bl
xor dh, cl
mov byte [ebp - 0x13e], ch
xor bh, cl
mov byte [ebp - 0x13d], dh
push eax
mov byte [ebp - 0x13c], bh
mov byte [ebp - 0x139], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esi]
test eax, eax
je 0x1001ed9d
cmp edi, eax
jne 0x1001ed9d
xor edx, edx
lea ecx, [ebp - 0x168]
cmp dword [0x100c4250], 1
setne dl
cmp edx, 1
mov dword [0x100c4250], edx
sete byte [0x100bff23]
call fcn.10012cf0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1001ed06
mov esi, dword [esi]
mov byte [ebp - 0x144], 0x32
mov al, 0x61
xor al, byte [ebp - 0x144]
mov bl, 0x5e
mov byte [ebp - 0x143], al
mov ah, bl
mov al, byte [ebp - 0x144]
mov cl, 0x59
xor cl, al
mov byte [ebp - 0x14d], 0x53
xor bl, al
mov byte [ebp - 0x13a], 0
xor ah, al
mov byte [ebp - 0x142], cl
mov dl, 0x5b
mov byte [ebp - 0x140], bl
xor dl, al
mov byte [ebp - 0x13f], ah
mov ch, 0x73
mov byte [ebp - 0x141], dl
xor ch, al
mov byte [ebp - 0x13a], 0
mov dh, 0x40
mov byte [ebp - 0x13e], ch
xor dh, al
mov bh, 0x57
xor bh, al
mov byte [ebp - 0x13d], dh
mov al, byte [ebp - 0x14d]
mov ah, 0x1f
xor al, byte [ebp - 0x144]
mov cl, 0x76
mov byte [ebp - 0x13b], al
mov dl, 0x6c
mov byte [ebp - 0x13c], bh
mov al, 0x52
mov bl, 0x7c
jmp 0x1001f2b6
mov eax, dword [esi + 4]
test eax, eax
je 0x1001ee70
cmp edi, eax
jne 0x1001ee70
mov esi, dword [0x100bfe58]
xor eax, eax
cmp dword [0x100c4254], 1
setne al
mov dword [0x100c4254], eax
test esi, esi
je 0x1001edff
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1001edff
test eax, eax
je 0x1001edf5
mov eax, dword [esi]
test eax, eax
je 0x1001edff
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001edff
mov ecx, dword [esi]
push 1
call dword [0x100ad924]
jmp 0x1001edff
sub esp, 0xc
mov ecx, esi
call fcn.1001a510
mov edx, dword [0x100c4254]
lea ecx, [ebp - 0x168]
call fcn.10012cf0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1001ee1a
mov esi, dword [esi]
mov cl, 0x6e
mov dword [ebp - 0x144], 0xb296e
mov dword [ebp - 0x140], 0x7380b07
xor eax, eax
mov dword [ebp - 0x13c], 0x20c071d
mov word [ebp - 0x138], 0xb
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xc
jae 0x1001ee5a
mov cl, byte [ebp - 0x144]
jmp 0x1001ee45
mov byte [ebp - 0x137], 0
mov ah, 0x53
mov al, 0x1e
mov cl, 0x3a
mov dl, 0x20
mov bl, 0x30
jmp 0x1001f2b6
mov eax, dword [esi + 8]
test eax, eax
je 0x1001ef55
cmp edi, eax
jne 0x1001ef55
xor edx, edx
lea ecx, [ebp - 0x168]
cmp dword [0x100c425c], 1
setne dl
mov dword [0x100c425c], edx
call fcn.10012cf0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1001eeaa
mov esi, dword [esi]
mov cl, 0x49
mov byte [ebp - 0x144], 0x2c
mov ah, cl
mov byte [ebp - 0x14d], 0x5c
xor cl, byte [ebp - 0x144]
mov al, 0x7e
xor al, byte [ebp - 0x144]
mov dl, 0x42
mov byte [ebp - 0x143], al
mov bl, 0x48
mov al, byte [ebp - 0x14d]
mov ch, 0x5e
mov byte [ebp - 0x142], cl
mov dh, 0x6f
mov cl, byte [ebp - 0x144]
mov bh, 0x4d
xor al, cl
mov byte [ebp - 0x14e], ah
mov byte [ebp - 0x13b], al
xor dl, cl
mov al, byte [ebp - 0x14e]
xor bl, cl
xor ah, cl
mov byte [ebp - 0x139], 0
xor ch, cl
mov byte [ebp - 0x141], dl
xor dh, cl
mov byte [ebp - 0x140], bl
xor bh, cl
mov byte [ebp - 0x13f], ah
xor al, cl
mov byte [ebp - 0x13e], ch
mov byte [ebp - 0x13a], al
mov ah, 0x45
mov byte [ebp - 0x13d], dh
mov al, 8
mov byte [ebp - 0x13c], bh
mov cl, 0x2c
mov byte [ebp - 0x139], 0
mov dl, 0x36
mov bl, 0x26
jmp 0x1001f2b6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1001f00d
cmp edi, eax
jne 0x1001f00d
xor edx, edx
lea ecx, [ebp - 0x168]
cmp dword [0x100c4260], 1
setne dl
mov dword [0x100c4260], edx
call fcn.10012cf0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1001ef8f
mov esi, dword [esi]
mov cl, 0x70
mov dword [ebp - 0x148], 0x1e112270
mov dword [ebp - 0x144], 0x171e191b
xor eax, eax
mov dword [ebp - 0x140], 0x15161635
mov word [ebp - 0x13c], 0x413
mov byte [ebp - 0x13a], 0
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xd
jae 0x1001efd6
mov cl, byte [ebp - 0x148]
jmp 0x1001efc1
mov ah, 0xd
mov byte [ebp - 0x13a], 0
mov al, 0x40
mov byte [ebp - 0x134], ah
xor al, ah
mov cl, 0x64
mov dl, 0x7e
mov byte [ebp - 0x133], al
xor cl, ah
xor dl, ah
mov bl, 0x6e
xor bl, ah
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x147]
jmp 0x1001f2d7
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1001f1e0
cmp edi, ecx
jne 0x1001f1e0
call fcn.10014bf0
mov edi, eax
cmp edi, 0x17
ja 0x1001f311
cmp edi, dword [0x100c4258]
je 0x1001f311
mov dword [0x100c4258], edi
mov edx, edi
mov ecx, dword [esi + 0x14]
call fcn.10014bc0
xor ecx, ecx
push edi
cmp edi, 0xa
jge 0x1001f09c
movaps xmm0, xmmword [str.cdBNF]
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], 0x1319474f
mov word [ebp - 0x138], 0x13
nop word [eax + eax]
mov al, byte [ebp - 0x14c]
xor byte [ebp + ecx - 0x14b], al
inc ecx
cmp ecx, 0x14
jb 0x1001f080
mov byte [ebp - 0x137], 0
jmp 0x1001f0da
movaps xmm0, xmmword [0x100af520]
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x13c], 0x42424816
mov byte [ebp - 0x138], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x14c]
xor byte [ebp + ecx - 0x14b], al
inc ecx
cmp ecx, 0x13
jb 0x1001f0c0
mov byte [ebp - 0x138], 0
sub esp, 0x18
lea eax, [ebp - 0x14b]
mov ecx, esp
push eax
call fcn.10004b40
lea eax, [ebp - 0x168]
push eax
call fcn.100043b0
add esp, 0x20
lea ecx, [ebp - 0x12c]
push eax
call fcn.1000f870
lea ecx, [ebp - 0x168]
call fcn.100044d0
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x12c]
call fcn.10014cc0
push ecx
push edi
call fcn.1001f700
mov edx, dword [0x100c4258]
lea ecx, [ebp - 0x168]
call fcn.10012cf0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1001f141
mov esi, dword [esi]
mov al, 0x72
mov byte [ebp - 0x140], 0x35
xor al, byte [ebp - 0x140]
mov dl, 0x58
mov byte [ebp - 0x13f], al
mov bl, 0x50
mov al, byte [ebp - 0x140]
mov ah, 0x61
xor ah, al
mov byte [ebp - 0x137], 0
mov dh, dl
mov byte [ebp - 0x13b], ah
xor dl, al
mov byte [ebp - 0x137], 0
mov bh, bl
mov byte [ebp - 0x13d], dl
xor bl, al
xor dh, al
xor bh, al
mov byte [ebp - 0x13c], bl
mov ah, 6
mov byte [ebp - 0x139], dh
mov cl, 0x54
mov byte [ebp - 0x134], ah
xor cl, al
mov byte [ebp - 0x138], bh
mov ch, 0x5c
mov byte [ebp - 0x13e], cl
xor ch, al
mov cl, 0x6f
mov al, 0x4b
mov byte [ebp - 0x13a], ch
xor al, ah
mov dl, 0x75
xor cl, ah
mov byte [ebp - 0x133], al
xor dl, ah
mov bl, 0x65
xor bl, ah
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x13f]
jmp 0x1001f2d7
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1001f311
cmp edi, ecx
jne 0x1001f311
call fcn.10014bf0
mov edi, eax
cmp edi, 0x14
ja 0x1001f311
cmp edi, dword [0x100c4264]
je 0x1001f311
mov dword [0x100c4264], edi
mov edx, edi
mov ecx, dword [esi + 0x18]
call fcn.10014bc0
mov ecx, dword [esi + 0x20]
mov edx, edi
call fcn.10014cf0
movd xmm0, dword [0x100c4264]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x100aee44]
movss dword [0x100bb99c], xmm0
call fcn.1001e400
mov edx, dword [0x100c4264]
lea ecx, [ebp - 0x168]
call fcn.10012cf0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1001f264
mov esi, dword [esi]
mov cl, 0x67
mov dword [ebp - 0x144], 0xa062467
mov dword [ebp - 0x140], 0x35061502
xor eax, eax
mov dword [ebp - 0x13c], 0x2000906
mov byte [ebp - 0x138], 0
nop dword [eax]
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xb
jae 0x1001f2a5
mov cl, byte [ebp - 0x144]
jmp 0x1001f290
mov byte [ebp - 0x138], 0
mov ah, 0x23
mov al, 0x6e
mov cl, 0x4a
mov dl, 0x50
mov bl, 0x40
xor al, ah
mov byte [ebp - 0x134], ah
xor cl, ah
mov byte [ebp - 0x133], al
xor dl, ah
xor bl, ah
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x143]
push esi
push eax
lea eax, [ebp - 0x133]
mov byte [ebp - 0x12f], 0
push eax
mov byte [ebp - 0x132], cl
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], bl
mov byte [ebp - 0x12f], 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x168]
call fcn.100044d0
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x1001f32f
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.100048f0
mov al, 1
jmp 0x1001f335
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005baa0
mov esp, ebp
pop ebp
ret 8