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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55b958
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5b1700]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0x20]
push eax
push 0x2011f
push edi
push str.SYSTEMCurrentControlSetControlSession_Manager
mov dword [esp + 0x78], edi
push 0x80000002
mov dword [esp + 0x34], edi
call dword [0x567018]
mov esi, eax
cmp esi, edi
jne 0x4096b5
mov ecx, dword [esp + 0x20]
mov eax, dword [0x5c4c54]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, 0x5c4c54
mov ebx, 0x80
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x68], 3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
mov dword [esp + 0x14], ebx
jge 0x409697
mov ecx, ebx
lea eax, [esp + 0x1c]
call fcn.00406670
mov esi, dword [esp + 0x1c]
push str.PendingFileRenameOperations
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x1c]
call fcn.0040e4c0
test esi, esi
jne 0x409722
xor ecx, ecx
jmp 0x40973c
mov edx, dword [0x5c4c54]
mov eax, dword [edx + 0xc]
mov ecx, 0x5c4c54
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push esi
push str.Failed_to_open_Session_Manager_registry_key__0x_x_
lea edi, [esp + 0x24]
mov byte [esp + 0x70], 1
call fcn.004077d0
mov eax, dword [esp + 0x24]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00406b50
lea ecx, [esp + 0x50]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00407a00
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 2
call fcn.004083c0
push 0x5965ec
lea edx, [esp + 0x30]
push edx
call fcn.004f999b
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x409727
sub ecx, edi
sar ecx, 1
js 0x409a86
cmp ecx, dword [esi - 8]
jg 0x409a86
cmp eax, 0x7a
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
je 0x40975a
cmp eax, 0xea
jne 0x409761
add ebx, ebx
jmp 0x409673
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0040b4a0
mov byte [esp + 0x68], 4
mov esi, dword [esp + 0x40]
cmp esi, dword [esp + 0x44]
jbe 0x409785
call fcn.004f6492
lea edi, [esp + 0x3c]
lea esp, [esp]
mov ebx, dword [esp + 0x44]
cmp dword [esp + 0x40], ebx
jbe 0x40979f
call fcn.004f6492
test edi, edi
je 0x4097ab
lea edx, [esp + 0x3c]
cmp edi, edx
je 0x4097b0
call fcn.004f6492
cmp esi, ebx
je 0x40987c
test edi, edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
jne 0x4097c6
call fcn.004f6492
cmp esi, dword [edi + 8]
jb 0x4097d0
call fcn.004f6492
test ebx, ebx
je 0x40986a
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x40986a
push ebx
push eax
call fcn.004f6be1
add esp, 8
test eax, eax
je 0x40986a
sub eax, dword [esi]
sar eax, 1
js 0x40986a
mov eax, dword [esp + 0x28]
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esi + 4]
push edx
mov eax, esi
mov ebx, edi
mov dword [esp + 0x44], esi
call fcn.0040d4a0
mov edi, dword [esp + 0x58]
lea esi, [edi - 4]
add esp, 0x14
cmp esi, edi
je 0x40985a
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409853
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x409835
sub dword [esp + 0x44], 4
mov esi, dword [esp + 0x30]
mov edi, ebx
jmp 0x409790
cmp esi, dword [edi + 8]
jb 0x409874
call fcn.004f6492
add esi, 4
jmp 0x409790
mov edx, dword [0x5c4c54]
mov eax, dword [edx + 0xc]
mov ecx, 0x5c4c54
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x68], 5
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp ecx, eax
mov esi, ecx
jbe 0x4098b3
call fcn.004f6492
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp ecx, eax
lea edx, [esp + 0x3c]
mov edi, edx
mov ebx, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], eax
jbe 0x4098d0
call fcn.004f6492
test edi, edi
je 0x4098dc
lea ecx, [esp + 0x3c]
cmp edi, ecx
je 0x4098e1
call fcn.004f6492
cmp ebx, dword [esp + 0x24]
je 0x40996a
lea esi, [esp + 0x2c]
call fcn.004d4e90
mov eax, dword [eax]
sub eax, 0x10
call fcn.00406b50
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
mov byte [esp + 0x68], 6
mov eax, dword [esi - 0xc]
push eax
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00406950
push 1
push 0x56c394
lea eax, [esp + 0x1c]
push eax
call fcn.00406950
lea eax, [esi - 0x10]
mov byte [esp + 0x68], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40994b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x409954
call fcn.004f6492
cmp ebx, dword [edi + 8]
jb 0x40995e
call fcn.004f6492
add ebx, 4
mov dword [esp + 0x30], ebx
jmp 0x4098d0
mov edi, dword [esp + 0x14]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], esp
mov ebx, esp
call fcn.00406b50
add eax, 0x10
mov dword [ebx], eax
call fcn.0040b3d0
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
call fcn.0040c760
mov edx, dword [esp + 0x2c]
push edx
push str.PendingFileRenameOperations
lea eax, [esp + 0x20]
push eax
call fcn.0040e460
mov esi, dword [esp + 0x30]
xor ebx, ebx
cmp esi, ebx
je 0x4099f5
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4099f5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4099f5
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x68], 4
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a13
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x409a31
mov edi, dword [esp + 0x44]
call fcn.004032b0
mov eax, dword [esp + 0x40]
push eax
call fcn.004f5f70
add esp, 4
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x409a71
push eax
call dword [0x567010]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00406930
int3