Function at 0x47e58e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be60e
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x47e6e6
push 0
push str.temp.files.sync.load
lea ecx, [esi + 0xa7c]
call fcn.00452214
test eax, eax
lea eax, [esp + 0x244]
push eax
push 0x104
setne byte [esp + 0x1b]
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [esp + 0x1c], eax
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x22], al
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor edi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
test eax, eax
jle 0x47e698
push 0x104
lea eax, [esp + 0x40]
push eax
push edi
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test edi, edi
jne 0x47e66c
cmp byte [esp + 0x13], 0
je 0x47e66c
push dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24c]
push eax
call fcn.0049ab54
add esp, 0xc
test eax, eax
jne 0x47e66c
mov al, 1
mov byte [esp + 0x12], al
jmp 0x47e670
mov al, byte [esp + 0x12]
test al, al
je 0x47e70c
push 0x10
sub esp, 0x18
lea eax, [esp + 0x58]
mov ecx, esp
push eax
call fcn.0042e6e9
mov ecx, esi
call fcn.00472426
test al, al
jne 0x47e7c6
push ebx
call dword [sym.imp.SHELL32.dll_DragFinish]
push dword [esi + 0x73c]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x47e6bd
push 9
push dword [esi + 0x73c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x73c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
cmp dword [esi + 0x11c4], eax
je 0x47e6e6
push eax
push eax
push 0x8001
push dword [esi + 0x73c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4
and dword [esp + 0x34], 0
xor eax, eax
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
cmp word [esp + 0x3c], ax
je 0x47e732
lea eax, [esp + 0x3c]
push eax
call fcn.00495da8
pop ecx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0042fe27
and dword [esp + 0x460], 0
lea edi, [esi + 0x11b4]
mov eax, dword [edi + 0x10]
inc eax
cmp dword [edi + 8], eax
ja 0x47e760
push ecx
mov ecx, edi
call fcn.004801fc
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x10]
dec ecx
and dword [edi + 0xc], ecx
add eax, dword [edi + 0xc]
and ecx, eax
mov eax, dword [edi + 4]
mov dword [esp + 0x18], ecx
cmp dword [eax + ecx*4], 0
jne 0x47e796
push 0x18
call fcn.004907d4
mov edx, eax
pop ecx
test edx, edx
je 0x47e7da
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x47e7aa
lea eax, [esp + 0x24]
push eax
call fcn.0042f917
inc dword [edi + 0x10]
lea ecx, [esp + 0x24]
or dword [esp + 0x460], 0xffffffff
push 0
push 1
call fcn.0040f05a
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x20]
jl 0x47e62a
jmp 0x47e698
call fcn.004b6125
int3