Function at 0x10029160
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090808
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xb4], 0
xor ebx, ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xd0], ebx
xor eax, eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0xa8], al
push 0x8b
push eax
lea eax, [ebp - 0xa7]
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xd0], 0x800c
push 0xf0000000
push 0x18
push eax
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1002930f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10029298
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x100292f4
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100292d3
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x7eb
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100292eb
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x10029912
mov dword [ebp - 0xa4], 0x6602
mov dword [ebp - 0xa8], 0x208
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
push eax
push str.8uszehxbFgNeXNlMdzPIgJ7IRT4Niojc8wVUxMBQHqqJiOGriM01hTE7MuzoRN7vgNgYL1CYGft7unk6Juf8qGN0Frj86dQ5ytpJgYywTdOVVvknqfG1NME9tV72t1f4
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.1005465d
add esp, 0x10
lea eax, [ebp - 0xbc]
push eax
push 0x100
push 0
push 0x8c
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x100293d4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002927e
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100292d3
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x7f6
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100292eb
lea eax, [ebp - 0xac]
push eax
push 0
push dword [ebp - 0xbc]
push 0x8009
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10029460
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002927e
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100292d3
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x7fa
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100292eb
push 0
lea eax, [ebp - 0xd0]
push eax
push 5
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x100294e3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002927e
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100292d3
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x7fd
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100292eb
push 0
push dword [ebp + 0x10]
push esi
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10029561
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002927e
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100292d3
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x800
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100292eb
push 0
lea eax, [ebp - 0xb0]
push eax
push 0
push 2
push dword [ebp - 0xac]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
call edi
test eax, eax
jne 0x100295e8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002927e
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100292d3
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x805
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100292eb
mov eax, dword [ebp - 0xb0]
add eax, 0xa
push eax
call fcn.1005218a
add esp, 4
mov esi, eax
mov dword [ebp - 0xb8], esi
test esi, esi
jne 0x100296b1
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10029637
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10029694
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x10029673
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x809
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002968b
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 5
jmp 0x10029912
push 0
lea eax, [ebp - 0xb0]
push eax
push esi
push 2
push dword [ebp - 0xac]
call edi
test eax, eax
jne 0x10029731
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1002927e
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100292d3
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x80c
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100292eb
push dword [ebp - 0xd8]
mov edx, dword [ebp - 0xb0]
mov ecx, esi
call fcn.10028920
add esp, 4
mov edi, eax
test edi, edi
je 0x100297f4
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1002977e
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x100297da
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100297b9
mov byte [esi + 0xffff], 0
push esi
push str.HMAC
push 1
mov edx, 0x810
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100297d1
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, edi
jmp 0x10029912
mov dword [ebp - 4], 0
call fcn.1002981a
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10029912
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret