Function at 0x408f6c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp CryptDestroyHash
push 0xffffffffffffffff
push CryptDestroyHash
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc0]
push eax
lea eax, [esp + 0x94]
push eax
mov esi, ecx
call fcn.0059ed90
add esp, 8
xor ebx, ebx
mov dword [esp + 0xb8], ebx
cmp dword [esp + 0xa4], ebx
jne RegEnumKeyExA
cmp dword [esp + 0xa8], 0x10
jb 0x470d71
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00564155
add esp, 4
xor al, al
jmp LookupAccountSidW
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x7b0ddb
mov byte [ecx + 4], bl
call fcn.00405920
mov ecx, dword [esi + 4]
push 2
call fcn.00405853
mov edi, eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x17], bl
cmp edi, ebx
je GetTokenInformation
push 0x7b0f04
lea ecx, [esp + 0x40]
call fcn.00403706
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
mov byte [esp + 0xbc], 1
call fcn.00506070
cmp dword [esp + 0x54], 8
mov ebp, eax
mov dword [esp + 0x20], ebp
mov byte [esp + 0xb8], 0
jb 0x470df9
mov eax, dword [esp + 0x40]
push eax
call fcn.00564155
add esp, 4
xor ecx, ecx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], cx
cmp ebp, ebx
je GetSecurityDescriptorLength
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x470e2c
lea eax, [esp + 0x94]
mov edx, dword [esp + 0xa4]
push 0x2e
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00406fcd
add esp, 0x10
mov esi, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax - 1]
mov byte [esp + 0xb8], 2
test ecx, ecx
jbe 0x470fd7
mov dword [esp + 0x18], 0
mov dword [esp + 0x8c], 0xf
mov dword [esp + RegisterEventSourceWx88], 0
mov byte [esp + 0x78], 0
mov byte [esp + 0xb8], 3
mov edi, ebx
cmp ebx, eax
jae SetServiceStatus
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x88], 0
je 0x470ec8
push 0x2e
push 1
lea ecx, [esp + 0x7c]
call fcn.0040323d
mov esi, dword [esp + 0x34]
sub esi, dword [esp + 0x30]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x470ee8
call fcn.00565471
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
lea eax, [ecx + ebp]
push 0
push eax
lea ecx, [esp + 0x80]
call fcn.00401e38
mov esi, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x1c
cmp edi, eax
jb 0x470ead
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00406bef
add esp, 8
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x5c]
mov ecx, ebp
mov byte [esp + 0xbc], 4
call eax
cmp dword [esp + 0x70], 8
mov byte [esp + 0x17], al
jb reloc.ADVAPI32.dll_RegQueryInfoKeyA
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00564155
add esp, 4
cmp byte [esp + 0x17], 0
mov byte [esp + 0xb8], 2
jne 0x470fbc
cmp dword [esp + 0x8c], 0x10
jb reloc.ADVAPI32.dll_OpenServiceA
mov edx, dword [esp + 0x78]
push edx
call fcn.00564155
add esp, 4
mov esi, dword [esp + 0x34]
add dword [esp + 0x18], 0x1c
mov ecx, esi
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
inc ebx
lea ecx, [eax - 1]
cmp ebx, ecx
jb ReportEventA
jmp 0x470fd3
cmp dword [esp + 0x8c], 0x10
jb 0x470fd3
mov edx, dword [esp + 0x78]
push edx
call fcn.00564155
add esp, 4
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
lea ecx, [ebp + 8]
call edx
mov eax, dword [esp + 0x30]
xor esi, esi
mov byte [esp + 0xb8], 0
cmp eax, esi
je 0x471016
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call fcn.004023dd
mov edx, dword [esp + 0x40]
push edx
call fcn.00564155
add esp, 0x14
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00564155
add esp, 4
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
cmp dword [esp + 0xa8], 0x10
jb reloc.ADVAPI32.dll_StartServiceCtrlDispatcherA
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00564155
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00564b24
add esp, 0xa8
ret 4