Function at 0x47a7f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x61463c
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x828]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], ebx
je 0x47a882
cmp dword [ebx + 0xec], esi
jne 0x47a855
lea ecx, [ebx + 0xf4]
push eax
call fcn.0048df40
test eax, eax
jne 0x47a882
mov ecx, ebx
call fcn.0047ad70
neg eax
sbb eax, eax
add eax, 1
push eax
mov eax, dword [ebx + 0x828]
push eax
lea ecx, [ebx + 0xf4]
push ecx
call fcn.004997d0
test eax, eax
jne 0x47a882
xor eax, eax
jmp 0x47aba8
call fcn.00568851
mov eax, dword [eax + 4]
mov ebp, dword [eax + 0x88]
cmp ebp, esi
mov dword [esp + 0x2c], ebp
je 0x47aafd
cmp dword [0x6b4174], esi
jne 0x47aafd
mov eax, dword [ebx + 0x6c0]
cmp eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
je 0x47aafd
jmp 0x47a8c4
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x47a910
mov edi, dword [eax + 8]
cmp dword [edi + 8], 0xe110
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
jne 0x47a8f8
mov eax, dword [edi + 0x10]
push str.Recent_File
push eax
call fcn.0059e0af
add esp, 8
test eax, eax
sete al
test al, al
jne 0x47a915
mov edi, dword [edi + 0xc]
add dword [esp + 0x14], 1
and edi, 1
test esi, esi
mov dword [esp + 0x28], edi
jne 0x47a8c0
jmp 0x47aafd
jmp fcn.00564f58
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 0x6bc]
push edx
call fcn.0058d066
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
lea eax, [esp + 0x18c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x18c]
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
mov edi, eax
mov byte [esp + edi + 0x18c], 0x5c
add edi, 1
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 4], ebx
mov dword [esp + 0x20], edi
mov byte [esp + edi + 0x18c], 0
jle 0x47aac6
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47abd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push 1
push edi
lea eax, [esp + 0x194]
push eax
mov dword [esp + 0x2ac], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push ebx
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call edx
test eax, eax
je 0x47aa8b
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47abd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x2a0], 1
mov ecx, dword [esp + 0x24]
push ecx
add esi, 1
push esi
lea edx, [esp + 0x38]
push str._d__s
push edx
call fcn.00413730
mov ebp, dword [esp + 0x40]
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xe110]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call fcn.0047dd80
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push edx
add edi, 0xf4
mov byte [esp + 0x2a4], 2
call fcn.0045e8f0
add dword [esp + 0x14], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 1
call fcn.0047de90
lea eax, [ebp - 0x10]
mov byte [esp + 0x2a0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47aa83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x2a0], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47aab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 1
cmp ebx, dword [ebp + 4]
jl 0x47a977
test esi, esi
jne 0x47aaf9
cmp dword [esp + 0x28], 0
je 0x47aaf9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47aaf9
mov esi, dword [eax + 8]
test byte [esi + 0xc], 1
je 0x47aaf9
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0x6bc
call fcn.0058d066
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov ebx, dword [esp + 0x18]
cmp dword [0x6b416c], 0
je 0x47ab2b
cmp dword [0x6b4174], 0
jne 0x47ab2b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x6c0]
xor ebx, ebx
xor esi, esi
test eax, eax
mov dword [esp + 0x14], ebx
jne 0x47abe4
mov ebx, ecx
mov edx, dword [ebx + 0xf4]
mov eax, dword [edx + 0x1fc]
lea edi, [ebx + 0xf4]
mov ecx, edi
call eax
mov esi, eax
test esi, esi
je 0x47ab57
mov edx, dword [esi]
mov eax, dword [edx + 0x120]
mov ecx, esi
call eax
test eax, eax
jne 0x47ab60
mov ecx, ebx
call fcn.00561144
mov esi, eax
test esi, esi
je 0x47ab73
mov edx, dword [edi]
mov eax, dword [edx + 0x13c]
push 0
push esi
mov ecx, edi
call eax
mov eax, dword [0x6b41dc]
test eax, eax
jne 0x47ab83
mov ecx, ebx
call fcn.00561183
push ebx
push eax
call fcn.00479f70
add esp, 8
test eax, eax
je 0x47a87b
mov edx, dword [ebx]
mov eax, dword [edx + 0x148]
push 1
mov ecx, ebx
call eax
mov eax, 1
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x290
ret
push 0x80004005
call fcn.004012a0
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, eax
je 0x47a910
mov edi, dword [ecx + 8]
mov ecx, dword [0x6b416c]
mov ecx, dword [ecx + 0x20]
cmp ecx, dword [edi + 8]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
jne 0x47ad14
mov ebp, dword [esp + 0x18]
push eax
lea ecx, [ebp + 0x6bc]
call fcn.0058d066
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
test esi, esi
jne 0x47ad4e
mov edi, dword [0x6b416c]
add edi, 4
cmp dword [esp + 0x14], esi
jne 0x47ac58
cmp dword [edi + 0xc], esi
je 0x47ac58
cmp dword [ebp + 0x6c8], esi
je 0x47ac58
lea ecx, [ebp + 0xf4]
mov eax, ebx
call fcn.0045ea50
add ebx, 1
mov ebp, dword [edi + 4]
test ebp, ebp
je 0x47acea
test ebp, ebp
mov eax, ebp
je 0x47a910
mov esi, dword [eax + 8]
mov ebp, dword [ebp]
mov ecx, dword [esi + 0x10]
push 1
call fcn.004773c0
call fcn.00477520
mov ecx, dword [esi + 4]
mov esi, dword [esi + 0x10]
xor edx, edx
cmp eax, 0xffffffff
setne dl
push edx
mov edx, eax
sub edx, 0xffffffff
neg edx
sbb edx, edx
and edx, eax
push edx
push 0
push esi
lea eax, [esp + 0xf0]
push eax
call fcn.0047dd80
mov edi, dword [esp + 0x18]
push ebx
add edi, 0xf4
mov dword [esp + 0x2a4], 3
call fcn.0045e8f0
lea ecx, [esp + 0xe0]
add ebx, 1
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0047de90
test ebp, ebp
jne 0x47ac63
cmp dword [esp + 0x1c], 0
je 0x47ad0d
mov ecx, dword [esp + 0x18]
add ecx, 0xf4
mov eax, ebx
call fcn.0045ea50
add ebx, 1
mov dword [esp + 0x14], 1
mov esi, 1
jmp 0x47ad4e
test byte [edi + 0xc], 1
je 0x47ad46
cmp dword [esp + 0x14], 0
je 0x47ad3c
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0x6bc
call fcn.0058d066
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov dword [esp + 0x14], 1
jmp 0x47ad4e
mov dword [esp + 0x14], 0
add ebx, 1
cmp dword [esp + 0x1c], 0
jne 0x47abe0
mov ebx, dword [esp + 0x18]
jmp 0x47ab2b