Function at 0x5bcd10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6330ca
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
push esi
push edi
lea edi, [ebp - 0x458]
mov ecx, 0x113
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.XRichEdit_InsertImageGif
mov eax, dword [ebp + 8]
push eax
call fcn.005cb940
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x138], 0
je 0x5bcd7e
mov eax, dword [ebp + 8]
push eax
call fcn.005c50f0
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x5bcd8b
xor eax, eax
jmp 0x5bd0b9
push 0x2e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00481ea0
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x5bcda9
xor eax, eax
jmp 0x5bd0b9
push 0x657fa4
mov edx, dword [ebp - 0x18]
push edx
call fcn.00606b40
add esp, 8
test eax, eax
je 0x5bcdda
push 0x657fb0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00606b40
add esp, 8
test eax, eax
je 0x5bcdda
xor eax, eax
jmp 0x5bd0b9
push 0x28
call fcn.00431c30
add esp, 4
mov dword [ebp - 0x454], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x454], 0
je 0x5bce11
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x454]
call fcn.005d6e90
mov dword [ebp - 0x458], eax
jmp 0x5bce1b
mov dword [ebp - 0x458], 0
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x450], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x1c], eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.005d6fa0
movzx ecx, al
test ecx, ecx
jne 0x5bce51
xor eax, eax
jmp 0x5bd0b9
cmp dword [ebp + 0x10], 0xffffffff
jl 0x5bce5d
cmp dword [ebp + 0x14], 0xffffffff
jge 0x5bce64
xor eax, eax
jmp 0x5bd0b9
cmp dword [ebp + 0x10], 0xffffffff
jne 0x5bce79
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x104]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0x104]
jl 0x5bce8e
xor eax, eax
jmp 0x5bd0b9
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xe8]
push edx
call fcn.005cc970
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ecx
call fcn.005cc9c0
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x14], 0xffffffff
jne 0x5bcec0
mov edx, dword [ebp - 0x24]
mov dword [ebp + 0x14], edx
jmp 0x5bcecf
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x24]
jle 0x5bcecf
xor eax, eax
jmp 0x5bd0b9
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x100]
cmp edx, dword [ebp + 0x10]
jne 0x5bcefb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
cmp ecx, dword [ebp + 0x14]
jl 0x5bcef9
mov dword [ebp - 0x28], 1
jmp 0x5bcf10
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x100]
cmp eax, dword [ebp + 0x10]
jle 0x5bcf10
mov dword [ebp - 0x28], 2
push 0x24
call fcn.005f12b0
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 2
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x20], 0x64
mov ecx, dword [ebp - 0x1c]
call fcn.00554890
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x1c]
call fcn.005548c0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
push 0x3a
mov edx, dword [ebp + 0xc]
push edx
call fcn.005c6480
add esp, 8
test eax, eax
jne 0x5bcff9
xor eax, eax
mov word [ebp - 0x238], ax
push 0x206
push 0
lea ecx, [ebp - 0x236]
push ecx
call fcn.005ff630
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x238]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp esi, esp
call fcn.00605df0
xor eax, eax
mov word [ebp - 0x448], ax
push 0x206
push 0
lea ecx, [ebp - 0x446]
push ecx
call fcn.005ff630
add esp, 0xc
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x448]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp esi, esp
call fcn.00605df0
lea edx, [ebp - 0x448]
push edx
call fcn.005ccc70
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x14], eax
jmp 0x5bd008
mov edx, dword [ebp + 0xc]
push edx
call fcn.005ccc70
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x108]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
call fcn.005cc060
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c3e30
add esp, 8
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 8]
mov edx, dword [ebp - 0x20]
mov dword [edx + 4], eax
cmp dword [ebp - 0x28], 1
jne 0x5bd07f
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x108], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x120]
mov edx, dword [ebp - 0x2c]
add ecx, dword [edx + 8]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x120], ecx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00599a80
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0059c2e0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x110], 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10c], 1
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5bd0f4]
call fcn.00605e20
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
add esp, 0x458
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret 0x10