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

Disassembly:
push 0xffffffffffffffff
push 0x85b5db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x38], eax
lea ecx, [esi + 0x58]
push 1
mov dword [esp + 0x40], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], eax
call fcn.005f27b7
mov edi, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
inc edi
mov dword [esi + 0x78], edi
mov ebp, edi
call fcn.005f27f3
lea edi, [esi + 0x38]
push 1
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edi
call fcn.005f27b7
lea ebx, [esi + 0x1c]
push ebp
mov ecx, ebx
mov dword [esp + 0x50], 0
call fcn.00475800
mov edx, eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], 0xffffffff
mov dword [edx], ebp
mov dword [edx + 4], eax
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
call fcn.005f27f3
push 0x44
call fcn.008325b4
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x4c], 1
je 0x47373a
push 0
push 0
push 0
push 0x41
mov ecx, eax
call fcn.00651ef0
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x473746
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
test esi, esi
mov dword [esp + 0x4c], 0xffffffff
je 0x4737d9
push 0x228
call fcn.008325b4
add esp, 4
test eax, eax
je 0x473796
mov esi, dword [esp + 0x54]
mov ecx, 0x8a
mov edi, eax
push 0x228
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.006521d0
mov dword [esi + 0x18], ebp
call fcn.006edd70
mov edi, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
jmp 0x4737a0
mov ecx, dword [esp + 0x58]
mov dword [ecx], 0x69
push str.SDCENTER_ENCRYPTDISKMGR
call fcn.006501b0
mov ecx, eax
call fcn.006511c0
test eax, eax
je 0x4737d1
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 4]
test eax, eax
jne 0x47384b
mov eax, dword [esp + 0x58]
mov dword [eax], 0x69
jmp 0x4737d9
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push 1
push edi
lea ecx, [esp + 0x24]
call fcn.005f27b7
mov ecx, dword [ebx + 4]
mov dword [esp + 0x4c], 2
test ecx, ecx
je 0x473833
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [ebx + 8]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x473833
cmp dword [eax + 8], ebp
je 0x473817
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x473808
jmp 0x473833
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x10]
mov dword [eax], ecx
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0xc], eax
jne 0x473833
mov ecx, ebx
call fcn.004758f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.005f27f3
xor eax, eax
jmp 0x4739b3
mov edx, dword [esp + 0x14]
push 0x2bf20
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x473873
mov eax, dword [esp + 0x58]
mov dword [eax], 0x6d
xor eax, eax
jmp 0x4739b3
push 1
push edi
lea ecx, [esp + 0x24]
call fcn.005f27b7
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [ebx + 8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4738a2
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4738a2
cmp dword [eax + 8], ebp
je 0x4738c4
mov eax, dword [eax]
test eax, eax
jne 0x473897
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], 0xffffffff
mov dword [eax], 0x69
call fcn.005f27f3
xor eax, eax
jmp 0x4739b3
test eax, eax
je 0x4738a2
add eax, 0xc
mov dword [esp + 0x4c], 0xffffffff
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x1c]
mov ebp, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov esi, dword [eax + 0xc]
call fcn.005f27f3
mov ecx, dword [esp + 0x58]
push ebp
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push edi
lea ecx, [esp + 0x30]
call fcn.005f27b7
mov ecx, dword [ebx + 4]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x4c], 4
je 0x473996
mov esi, dword [esp + 0x34]
xor edx, edx
mov eax, esi
shr eax, 4
div dword [ebx + 8]
mov eax, dword [ecx + edx*4]
cmp eax, edi
lea ecx, [ecx + edx*4]
je 0x473996
cmp dword [eax + 8], esi
je 0x473940
mov ecx, eax
mov eax, dword [eax]
cmp eax, edi
jne 0x473931
jmp 0x473996
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x10]
mov dword [eax], ecx
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0xc], eax
jne 0x473996
mov esi, dword [ebx + 4]
cmp esi, edi
je 0x473979
mov eax, dword [ebx + 8]
cmp eax, edi
jbe 0x473979
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
je 0x473973
mov eax, dword [eax]
cmp eax, edi
jne 0x47396d
add ecx, 4
dec edx
jne 0x473967
push esi
call fcn.008325dd
mov ecx, dword [ebx + 0x14]
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
call fcn.0082b415
mov dword [ebx + 0x14], edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
call fcn.005f27f3
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp ecx, 1
sete al
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8