Function at 0x561db0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x793c2d
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov eax, dword [str.CertsIE.dat]
mov edx, dword [0x7c1bc4]
mov edi, ecx
mov ecx, dword [0x7c1bc0]
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea eax, [esp + 0x9c]
push eax
push 0x104
mov dword [esp + 0x1b4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x561e53
sub eax, edx
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00405920
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x561e78
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x7c]
call fcn.004021c6
mov eax, dword [esp + 0x78]
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jae 0x561ea9
lea eax, [esp + 0x78]
push 0x7c1bb8
push eax
call fcn.00569be2
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
cmp ebp, ebx
jne 0x561f28
push 0x2f
push str.CCertManager::LoadIEStore___Failed_to_open_file
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00405920
lea eax, [esp + 0x58]
push 1
push eax
mov byte [esp + 0x1b4], 1
call fcn.00402734
add esp, 8
cmp dword [esp + 0x70], esi
jb 0x561f0b
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00564155
add esp, 4
cmp dword [esp + 0x8c], esi
jb 0x561f21
mov edx, dword [esp + 0x78]
push edx
call fcn.00564155
add esp, 4
xor al, al
jmp 0x5621a9
push str.ROOT
push ebx
call dword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov esi, eax
cmp esi, ebx
jne 0x561f81
push ebp
call fcn.00564baa
add esp, 4
push 0x30
push str.CCertManager::LoadIEStore___Failed_to_open_store
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00405920
lea eax, [esp + 0x58]
push 1
push eax
mov byte [esp + 0x1b4], 2
call fcn.00402734
mov esi, 0x10
jmp 0x561ef5
lea eax, [esp + 0x16]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e], 1
call fcn.00559c50
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1a]
push eax
push ebp
push esi
mov ecx, edi
mov byte [esp + 0x1bc], 3
call fcn.00560ee0
push ebx
push esi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
lea ecx, [esp + 0x20]
call fcn.004046bf
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
mov byte [esp + 0x1b4], 4
call fcn.00561b50
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b0], 5
call fcn.00404926
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ac], 4
call fcn.00407112
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x5620f4
xor ebp, ebp
cmp edi, eax
jb 0x56202b
call fcn.00565471
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
lea eax, [edx + ebp]
push ebx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00403fb2
push 5
push str.Root
lea ecx, [esp + 0x60]
mov byte [esp + 0x1b4], 6
call fcn.004021c6
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x562076
lea eax, [esp + 0x5c]
push eax
push 0x60000
push ebx
push ebx
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov esi, eax
cmp esi, ebx
je 0x5620ad
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1a]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
call fcn.00560ee0
push ebx
push esi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0x1ac], 4
jb 0x5620c9
mov eax, dword [esp + 0x5c]
push eax
call fcn.00564155
add esp, 4
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
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 0x56202b
mov ebp, dword [esp + 0x1c]
push ebp
call fcn.00564baa
add esp, 4
lea ecx, [esp + 0x74]
push ecx
push ebx
push ebx
call fcn.005584f0
add esp, 8
mov ecx, eax
call fcn.00558f70
test al, al
je 0x562137
lea edx, [esp + 0x74]
push edx
push 1
push ebx
call fcn.005584f0
add esp, 8
mov ecx, eax
call fcn.00558f70
mov byte [esp + 0x16], 1
test al, al
jne 0x56213b
mov byte [esp + 0x16], bl
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x562165
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
call fcn.004023dd
mov edx, dword [esp + 0x3c]
push edx
call fcn.00564155
add esp, 0x14
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00564155
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x1ac], bl
call fcn.0055cb60
cmp dword [esp + 0x8c], 0x10
jb 0x5621a5
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00564155
add esp, 4
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.00564b24
add esp, 0x19c
ret