Function at 0x10016510
Capabilities:
Authenticate hmac
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
mov eax, dword [0x100a1084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x34], 0x52
mov al, 5
xor al, byte [ebp - 0x34]
mov cl, 1
xor cl, byte [ebp - 0x34]
mov ah, 0x61
mov byte [ebp - 0x33], al
mov dl, 0x60
mov byte [ebp - 0x32], cl
mov ch, dl
mov cl, byte [ebp - 0x34]
mov dh, 0x7c
mov byte [ebp - 0xd], 0x3e
xor ah, cl
mov al, byte [ebp - 0xd]
mov bl, 0xd
xor al, cl
mov byte [ebp - 0xe], 0x3e
mov byte [ebp - 0x2b], al
mov bh, 0x36
mov al, byte [ebp - 0xe]
xor dl, cl
xor al, cl
mov byte [ebp - 0x2f], ah
mov byte [ebp - 0x2a], al
xor bl, cl
lea eax, [ebp - 0x33]
mov byte [ebp - 0x29], 0
xor ch, cl
mov byte [ebp - 0x31], dl
xor dh, cl
mov byte [ebp - 0x30], bl
xor bh, cl
mov byte [ebp - 0x2e], ch
push eax
mov byte [ebp - 0x2d], dh
mov byte [ebp - 0x2c], bh
mov byte [ebp - 0x29], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x100165be
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ah, 0x1e
mov byte [ebp - 0x1b], 0
mov al, 0x6c
mov byte [ebp - 0x20], ah
xor al, ah
mov dword [ebp - 0x14], 0
mov cl, 0x7b
mov byte [ebp - 0x1f], al
mov dl, 0x7d
mov dword [ebp - 0x18], 0
mov bl, 0x68
mov byte [ebp - 0x1b], 0
xor cl, ah
xor dl, ah
xor bl, ah
mov byte [ebp - 0x1e], cl
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x1d], dl
push eax
push esi
mov byte [ebp - 0x1c], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.10015d30
cmp al, 0xe9
jne 0x1001668e
mov byte [ebp - 0x24], 0xe
mov al, 0x5c
xor al, byte [ebp - 0x24]
mov dl, 0x6d
mov byte [ebp - 0x23], al
mov ah, 0x48
mov al, byte [ebp - 0x24]
mov bh, dl
xor ah, al
mov byte [ebp - 0x1b], 0
mov cl, 0x6b
mov byte [ebp - 0x1f], ah
mov ch, 0x7b
mov byte [ebp - 0x1b], 0
mov dh, 0x60
xor cl, al
xor ch, al
mov byte [ebp - 0x22], cl
mov bl, 0x78
mov byte [ebp - 0x1e], ch
xor dl, al
lea ecx, [ebp - 0x4c]
xor bl, al
mov byte [ebp - 0x21], dl
xor dh, al
mov byte [ebp - 0x20], bl
xor bh, al
mov byte [ebp - 0x1d], dh
lea eax, [ebp - 0x23]
mov byte [ebp - 0x1c], bh
push eax
call fcn.100029b0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.10019690
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x1001668e
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.10002790
mov bh, 0x34
mov byte [ebp - 0x1c], 0
mov al, 0x63
mov byte [ebp - 0x24], bh
mov ah, 0x51
mov byte [ebp - 0x1c], 0
xor al, bh
xor ah, bh
mov byte [ebp - 0x23], al
mov cl, 0x67
mov byte [ebp - 0x1f], ah
mov dl, 0x75
lea eax, [ebp - 0x23]
mov ch, 0x57
mov dh, 0x42
mov bl, 0x66
push eax
xor cl, bh
xor dl, bh
xor ch, bh
mov byte [ebp - 0x22], cl
xor dh, bh
mov byte [ebp - 0x21], dl
xor bl, bh
mov byte [ebp - 0x1e], ch
push esi
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1d], dh
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.10015d30
cmp al, 0xe9
jne 0x10016746
mov cl, 0x1c
mov dword [ebp - 0x34], 0x5d4f4b1c
mov dword [ebp - 0x30], 0x7872794f
xor eax, eax
mov dword [ebp - 0x2c], 0x7f72695a
mov byte [ebp - 0x28], 0
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xb
jae 0x10016712
mov cl, byte [ebp - 0x34]
jmp 0x10016703
lea eax, [ebp - 0x33]
mov byte [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.100029b0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
call fcn.10019690
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x10016746
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.10002790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret