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

Disassembly:
sub esp, 0x6c
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x80]
push esi
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
push edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x84]
xor esi, esi
xor edi, edi
mov dword [esp + 0x14], esi
mov byte [esp + 0x1c], 0
call fcn.0047aa20
test eax, eax
je 0x45fbe5
mov ecx, dword [esp + 0x84]
push ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.00458760
test eax, eax
je 0x45fbc6
push str.PolicyPolEKList
xor eax, eax
push 0x20
mov edx, esi
push edx
mov word [esp + 0x34], di
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00458c10
mov ebx, eax
cmp ebx, edi
je 0x45fa16
lea eax, [esp + 0x88]
push eax
push 0x47c518
mov ecx, esi
push ecx
mov dword [esp + 0x94], edi
call fcn.00458a30
test eax, eax
je 0x45fa14
mov edx, dword [esp + 0x88]
lea esi, [esp + 0x28]
mov eax, ebx
lea edi, [esp + 0x38]
call fcn.00458b90
test eax, eax
je 0x45fa14
mov esi, dword [esp + 0x2c]
cmp esi, 0x78
jb 0x45fbc4
push 0x18
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x50]
mov dword [esp + 0x90], 0
call fcn.004756e0
test eax, eax
je 0x45f9fa
add esi, 0xffffffc4
push esi
mov esi, dword [esp + 0x38]
lea eax, [esi + 0x3c]
push eax
lea ecx, [esi + 0x1c]
push ecx
push 0x10
lea edx, [esp + 0x28]
push edx
call fcn.0045f650
test eax, eax
je 0x45f9e9
mov eax, dword [esp + 0x8c]
add esi, 0x80
mov ecx, 8
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 0x20
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x88]
push ecx
lea eax, [esp + 0x4c]
call fcn.00475600
xor edi, edi
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x45fbc6
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x45fbc6
xor edi, edi
lea edx, [esp + 0x28]
push edx
push 0x47c518
mov eax, str.PolicyPolSecretEncryptionKey
mov ecx, 0x20
lea edx, [esp + 0x40]
call fcn.00459030
test eax, eax
je 0x45fbc6
push 1
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x88], edi
call fcn.004756e0
test eax, eax
je 0x45f9fc
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x88]
push ecx
push 0x8003
push edx
lea eax, [esp + 0x54]
call fcn.004756b0
test eax, eax
je 0x45fba6
mov ecx, dword [esp + 0x88]
push 0x10
lea eax, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x54]
call fcn.00475650
mov edi, dword [esp + 0x34]
mov dword [esp + 0x84], 0x3e8
jmp 0x45fab0
mov ebx, dword [esp + 0x88]
lea esi, [esp + 0x48]
call fcn.00475470
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x45fad3
push 0
push 0x10
lea edx, [edi + 0x3c]
push edx
push ebx
call eax
sub dword [esp + 0x84], 1
jne 0x45fab0
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
lea esi, [esp + 0x48]
mov dword [esp + 0x84], eax
call fcn.00475470
mov eax, dword [esp + 0x68]
test eax, eax
je 0x45fb89
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x14]
push ecx
push 0x800000
push ebx
push 0x6801
push edx
call eax
test eax, eax
je 0x45fb89
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x84]
push eax
lea ecx, [edi + 0xc]
push ecx
push edx
mov eax, esi
mov dword [esp + 0x90], 0x30
call fcn.004755d0
mov eax, dword [edi + 0x1c]
mov dword [ebp], eax
mov ecx, dword [edi + 0x20]
mov dword [ebp + 4], ecx
mov edx, dword [edi + 0x24]
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 8], edx
mov eax, dword [edi + 0x28]
mov edi, dword [esp + 0x14]
mov dword [ebp + 0xc], eax
mov dword [ecx], 0x10
mov dword [esp + 0x10], 1
call fcn.00475470
mov eax, dword [esp + 0x74]
test eax, eax
je 0x45fb89
push edi
call eax
mov edi, dword [esp + 0x88]
lea esi, [esp + 0x48]
call fcn.00475470
mov eax, dword [esp + 0x60]
test eax, eax
je 0x45fba4
push edi
call eax
xor edi, edi
mov eax, dword [esp + 0x80]
cmp eax, edi
je 0x45f9fc
push eax
lea eax, [esp + 0x4c]
call fcn.00475600
jmp 0x45f9fc
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x45fbd7
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x10