Function at 0x47ef80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x61c71c
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
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 0x47f012
cmp dword [ebx + 0xec], esi
jne 0x47efe5
lea ecx, [ebx + 0xf4]
push eax
call fcn.004904a0
test eax, eax
jne 0x47f012
mov ecx, ebx
call fcn.0047f500
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.0049bd70
test eax, eax
jne 0x47f012
xor eax, eax
jmp 0x47f338
call fcn.005702dd
mov eax, dword [eax + 4]
mov ebp, dword [eax + 0x88]
cmp ebp, esi
mov dword [esp + 0x2c], ebp
je 0x47f28d
cmp dword [0x6bce3c], esi
jne 0x47f28d
mov eax, dword [ebx + 0x6c0]
cmp eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
je 0x47f28d
jmp 0x47f054
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x47f0a0
mov edi, dword [eax + 8]
cmp dword [edi + 8], 0xe110
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
jne 0x47f088
mov eax, dword [edi + 0x10]
push str.Recent_File
push eax
call fcn.005a58c6
add esp, 8
test eax, eax
sete al
test al, al
jne 0x47f0a5
mov edi, dword [edi + 0xc]
add dword [esp + 0x14], 1
and edi, 1
test esi, esi
mov dword [esp + 0x28], edi
jne 0x47f050
jmp 0x47f28d
jmp fcn.0056c8bd
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 0x6bc]
push edx
call fcn.005948a8
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 0x47f256
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47f360
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 0x47f21b
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47f360
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.00413f70
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.00482580
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push edx
add edi, 0xf4
mov byte [esp + 0x2a4], 2
call fcn.00460dd0
add dword [esp + 0x14], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 1
call fcn.00482690
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 0x47f213
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 0x47f246
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 0x47f107
test esi, esi
jne 0x47f289
cmp dword [esp + 0x28], 0
je 0x47f289
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47f289
mov esi, dword [eax + 8]
test byte [esi + 0xc], 1
je 0x47f289
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0x6bc
call fcn.005948a8
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov ebx, dword [esp + 0x18]
cmp dword [0x6bce34], 0
je 0x47f2bb
cmp dword [0x6bce3c], 0
jne 0x47f2bb
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 0x47f374
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 0x47f2e7
mov edx, dword [esi]
mov eax, dword [edx + 0x120]
mov ecx, esi
call eax
test eax, eax
jne 0x47f2f0
mov ecx, ebx
call fcn.00568b24
mov esi, eax
test esi, esi
je 0x47f303
mov edx, dword [edi]
mov eax, dword [edx + 0x13c]
push 0
push esi
mov ecx, edi
call eax
mov eax, dword [0x6bcebc]
test eax, eax
jne 0x47f313
mov ecx, ebx
call fcn.00568b63
push ebx
push eax
call fcn.0047e700
add esp, 8
test eax, eax
je 0x47f00b
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.005a58d9
add esp, 0x290
ret
push 0x80004005
call fcn.004012f0
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, eax
je 0x47f0a0
mov edi, dword [ecx + 8]
mov ecx, dword [0x6bce34]
mov ecx, dword [ecx + 0x20]
cmp ecx, dword [edi + 8]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
jne 0x47f4a4
mov ebp, dword [esp + 0x18]
push eax
lea ecx, [ebp + 0x6bc]
call fcn.005948a8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
test esi, esi
jne 0x47f4de
mov edi, dword [0x6bce34]
add edi, 4
cmp dword [esp + 0x14], esi
jne 0x47f3e8
cmp dword [edi + 0xc], esi
je 0x47f3e8
cmp dword [ebp + 0x6c8], esi
je 0x47f3e8
lea ecx, [ebp + 0xf4]
mov eax, ebx
call fcn.00460f30
add ebx, 1
mov ebp, dword [edi + 4]
test ebp, ebp
je 0x47f47a
test ebp, ebp
mov eax, ebp
je 0x47f0a0
mov esi, dword [eax + 8]
mov ebp, dword [ebp]
mov ecx, dword [esi + 0x10]
push 1
call fcn.004797f0
call fcn.00479950
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.00482580
mov edi, dword [esp + 0x18]
push ebx
add edi, 0xf4
mov dword [esp + 0x2a4], 3
call fcn.00460dd0
lea ecx, [esp + 0xe0]
add ebx, 1
mov dword [esp + 0x2a0], 0xffffffff
call fcn.00482690
test ebp, ebp
jne 0x47f3f3
cmp dword [esp + 0x1c], 0
je 0x47f49d
mov ecx, dword [esp + 0x18]
add ecx, 0xf4
mov eax, ebx
call fcn.00460f30
add ebx, 1
mov dword [esp + 0x14], 1
mov esi, 1
jmp 0x47f4de
test byte [edi + 0xc], 1
je 0x47f4d6
cmp dword [esp + 0x14], 0
je 0x47f4cc
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0x6bc
call fcn.005948a8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov dword [esp + 0x14], 1
jmp 0x47f4de
mov dword [esp + 0x14], 0
add ebx, 1
cmp dword [esp + 0x1c], 0
jne 0x47f370
mov ebx, dword [esp + 0x18]
jmp 0x47f2bb