Function at 0x447ff0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x53c2d2
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x2ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x304]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x28]
call fcn.00488940
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30c], ebx
call fcn.00488940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30c], 1
call fcn.00488940
xor eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], ebx
mov edi, dword [sym.imp.USER32.dll_EnumChildWindows]
push esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x100]
push 0x439ea0
push eax
mov dword [esp + 0x88], ebx
call edi
mov eax, dword [esi + 0x100]
push esi
push 0x439ea0
push eax
call edi
push 0x38
lea eax, [esp + 0x9c]
push ebx
push eax
mov word [esp + 0xa0], bx
call fcn.00516810
push 0x228
lea ecx, [esp + 0xe8]
push ebx
push ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0xe8], ebx
call fcn.00516810
xor ecx, ecx
add esp, 0x18
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 0x164]
cmp eax, ebx
mov byte [esp + 0x30c], 4
je 0x4485e2
mov edx, dword [eax]
mov edx, dword [edx + 0x60]
lea ecx, [esp + 0x20]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x4485de
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x4485e2
mov eax, dword [ecx]
mov eax, dword [eax + 0x228]
lea edx, [esp + 0x38]
push edx
push ecx
call eax
cmp eax, ebx
jl 0x4485de
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0x220]
call eax
cmp eax, ebx
jl 0x4485de
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x100]
mov edx, dword [esi + 0x164]
mov dword [esp + 0x3c], eax
push 0x104
lea eax, [esp + 0x30]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], edx
call fcn.0040d490
mov ecx, eax
mov byte [esp + 0x30c], 5
call fcn.00489670
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30c], 4
call fcn.00489940
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x48]
jne 0x4481f1
lea edx, [esp + 0x14]
push 0x3e8
push edx
call fcn.00488dc0
add esp, 8
mov byte [esp + 0x30c], 6
jmp 0x44820b
lea eax, [esp + 0x14]
push 0xd1
push eax
call fcn.00488dc0
add esp, 8
mov byte [esp + 0x30c], 7
push eax
lea ecx, [esp + 0x1c]
call fcn.00488590
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 4
call fcn.004884e0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
call fcn.00488b90
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x310], 8
call fcn.00488590
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 4
call fcn.004884e0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00438310
mov edi, eax
push 0x557a84
mov byte [esp + 0x310], 9
call fcn.004d0230
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.00488680
sub eax, 4
push eax
mov ecx, edi
call fcn.00489670
push eax
call fcn.004d0100
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30c], 4
call fcn.00489930
lea ecx, [esp + 0xd0]
push ecx
mov ebp, 1
lea ecx, [esp + 0x20]
mov edi, ebp
call fcn.00488510
push eax
call fcn.00518c7b
add esp, 8
cmp eax, 0xffffffff
je 0x448378
lea ebx, [ebx]
push eax
call fcn.00518c5b
add esp, 4
push edi
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004886b0
lea eax, [esp + 0x54]
push eax
call fcn.00489080
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x314], 0xa
call fcn.00488b90
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x310], 0xb
call fcn.00488590
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 0xa
call fcn.004884e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x30c], 4
call fcn.004884e0
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x20]
add edi, ebp
call fcn.00488510
push eax
call fcn.00518c7b
add esp, 8
cmp eax, 0xffffffff
jne 0x4482e0
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00444cb0
mov cx, word [0x5aa848]
xor eax, eax
mov word [esp + 0xa8], cx
or edi, 0xffffffff
mov ecx, esi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebp
mov word [esp + 0x94], 8
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], ebp
call fcn.00439f00
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0x60], eax
mov word [esp + 0xc4], 0xf
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], ebp
mov dword [esp + 0x74], ebp
call fcn.004886b0
call fcn.0049cd10
mov dword [esp + 0x74], eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x1b0]
call fcn.00488590
push 0xc
push 0x42
mov dword [esp + 0x68], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x448487
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x24]
push eax
push 3
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0x34], ebx
call fcn.00464580
push 0xe
call fcn.00517778
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x30c], 0xc
je 0x4484c9
mov ecx, eax
call fcn.00464650
mov ebp, eax
jmp 0x4484cb
xor ebp, ebp
mov eax, dword [esi + 0x100]
mov ecx, dword [esp + 0x24]
push eax
push ebp
mov byte [esp + 0x314], 4
call fcn.00463ed0
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
lea edi, [esi + 8]
push edi
mov ecx, ebp
call eax
lea ecx, [esp + 0x34]
push ecx
mov eax, 1
push 0x57552c
push eax
push ebx
push 0x57554c
mov dword [esi + 0x11c], eax
mov dword [esi + 0x1b4], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x44853b
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x44853b
mov ecx, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
lea ecx, [esp + 0x80]
push ecx
push eax
call edx
mov eax, dword [esi + 0x100]
push esi
push 0x439ea0
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esi + 0x110]
mov edx, dword [edi]
mov dword [esp + 0x50], eax
push eax
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
call fcn.00498680
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x448578
push 1
mov ecx, eax
call fcn.004621c0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x78]
push ecx
push 3
push ebp
push edx
call dword [sym.imp.ole32.dll_DoDragDrop]
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ebx
push edi
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x4485a9
push ebx
call fcn.004621c0
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
mov dword [esi + 0x11c], ebx
call edi
mov ecx, dword [esp + 0x64]
push ecx
call edi
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1b4], ebx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
mov byte [esp + 0x30c], 3
je 0x4485f6
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x30c], 2
je 0x44860e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30c], 1
call fcn.004884e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30c], bl
call fcn.004884e0
lea ecx, [esp + 0x28]
mov dword [esp + 0x30c], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x304]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2ec]
xor ecx, esp
call fcn.0051674d
add esp, 0x2fc
ret 0xc