Function at 0x5bc9e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
push edi
lea edi, [ebp - 0x438]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x657f58
mov eax, dword [ebp + 8]
push eax
call fcn.005cb940
add esp, 8
push str.XRichEdit_InsertImage
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005cba90
add esp, 8
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x138], 0
je 0x5bca47
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c50f0
add esp, 4
cmp dword [ebp + 0x14], 0xffffffff
jl 0x5bca53
cmp dword [ebp + 0x18], 0xffffffff
jge 0x5bca5a
xor eax, eax
jmp 0x5bccad
cmp dword [ebp + 0x14], 0xffffffff
jne 0x5bca6f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x104]
sub eax, 1
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp edx, dword [ecx + 0x104]
jl 0x5bca84
xor eax, eax
jmp 0x5bccad
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe8]
push edx
call fcn.005cc970
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call fcn.005cc9c0
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x18], 0xffffffff
jne 0x5bcab6
mov edx, dword [ebp - 0x10]
mov dword [ebp + 0x18], edx
jmp 0x5bcac5
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x10]
jle 0x5bcac5
xor eax, eax
jmp 0x5bccad
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x100]
cmp edx, dword [ebp + 0x14]
jne 0x5bcaf1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x108]
cmp ecx, dword [ebp + 0x18]
jl 0x5bcaef
mov dword [ebp - 0x14], 1
jmp 0x5bcb06
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x100]
cmp eax, dword [ebp + 0x14]
jle 0x5bcb06
mov dword [ebp - 0x14], 2
push 0x18
call fcn.005f12b0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
push ecx
call fcn.00566670
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
call fcn.005664f0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.00566530
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x5bcc13
push 0x3a
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c6480
add esp, 8
test eax, eax
jne 0x5bcc02
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.005ff630
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x224]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp esi, esp
call fcn.00605df0
xor eax, eax
mov word [ebp - 0x434], ax
push 0x206
push 0
lea ecx, [ebp - 0x432]
push ecx
call fcn.005ff630
add esp, 0xc
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x434]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp esi, esp
call fcn.00605df0
mov edx, dword [ebp + 0x10]
push edx
call fcn.005ccc70
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
jmp 0x5bcc11
mov edx, dword [ebp + 0x10]
push edx
call fcn.005ccc70
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
jmp 0x5bcc1d
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call fcn.005cc060
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c3e30
add esp, 8
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
cmp dword [ebp - 0x14], 1
jne 0x5bcc8e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x108]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x108], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x120]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 8]
mov eax, dword [ebp - 8]
mov dword [eax + 0x120], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x110], 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x10c], 1
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5bcce0]
call fcn.00605e20
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
add esp, 0x438
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret 0x14