Function at 0x12e035a0
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x4fc
push ebx
xor ebx, ebx
cmp edx, ebx
je 0x12e0390f
cmp dword [esp + 0x508], ebx
je 0x12e0390f
push ebp
push esi
push edi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], ebx
push 0x32
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x18], ebx
push eax
push edx
mov dword [esp + 0x1c], ebx
call fcn.12d97a80
mov ebp, eax
add esp, 0xc
cmp ebp, 2
mov dword [esp + 0x18], ebp
jl 0x12e0385c
lea edi, [ebp - 1]
cmp edi, ebx
jl 0x12e03654
lea esi, [esp + edi*4 + 0x34]
mov ecx, dword [esi]
push ecx
push 0x130e12c0
call fcn.12f5e1d4
add esp, 8
test eax, eax
je 0x12e0385c
test ebx, ebx
jne 0x12e0364c
mov eax, dword [esi]
push 0x40
push eax
call fcn.12f5cfc9
add esp, 8
test eax, eax
je 0x12e0364c
mov eax, dword [esi]
push 0x3a
push eax
call fcn.12f5cfc9
add esp, 8
test eax, eax
je 0x12e0364c
mov dword [esp + 0x10], edi
mov ebx, edi
dec edi
sub esi, 4
test edi, edi
jge 0x12e03608
lea edi, [ebp - 1]
cmp ebx, edi
jne 0x12e03890
lea eax, [ebx - 1]
test eax, eax
mov dword [esp + 0x28], eax
jl 0x12e0385c
lea ebp, [esp + eax*4 + 0x34]
mov ebx, dword [ebp]
test ebx, ebx
je 0x12e03858
mov edx, dword [esp + 0x10]
mov eax, dword [esp + edx*4 + 0x34]
test eax, eax
je 0x12e03858
lea ecx, [esp + 0x2c]
xor eax, eax
push ecx
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
push ebx
call fcn.12f80040
add esp, 0x1c
test eax, eax
je 0x12e03858
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x306]
mov word [esp + 0x304], si
push 0x5c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp]
push eax
call fcn.12f5cfc9
add esp, 8
test eax, eax
jne 0x12e03762
mov eax, dword [ebp]
push 0x2f
push eax
call fcn.12f5cfc9
add esp, 8
test eax, eax
jne 0x12e03762
mov ecx, 0x81
lea edi, [esp + 0xfe]
mov word [esp + 0xfc], si
lea edx, [esp + 0xfc]
rep stosd dword es:[edi], eax
push edx
push 0x104
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp]
lea ecx, [esp + 0xfc]
push eax
push ecx
push 0x130c4e18
lea edx, [esp + 0x310]
push 0x103
push edx
call fcn.12f5d8c0
add esp, 0x14
lea ebx, [esp + 0x304]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x30]
push esi
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
mov ecx, dword [esp + eax*4 + 0x48]
push ecx
push ebx
push 1
call fcn.12e74420
mov esi, eax
add esp, 0x20
test esi, esi
je 0x12e03858
cmp dword [esp + 0x1c], 0x10
jne 0x12e037f2
push 2
mov ecx, esi
call fcn.12e02370
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e037d1
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + eax*4 + 0x34]
push edx
push eax
call fcn.12e02880
push eax
push str.CDocLog::AddUpDownLogForCmd__AddUpDlDocLog_up__GetSrcPath__:_s___wszFiles__d_:_s_
push str.UdLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
push esi
mov ecx, esi
call fcn.12e02880
push eax
push 1
call fcn.12e746e0
push esi
push 0x12e03430
push ebx
call fcn.12e320b0
add esp, 0x18
jmp 0x12e03834
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e03821
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x34]
push ecx
push eax
mov ecx, esi
call fcn.12e02880
push eax
push str.CDocLog::AddUpDownLogForCmd__AddUpDlDocLog_up__GetSrcPath__:_s___wszFiles__d_:_s_
push str.UdLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
push esi
mov ecx, esi
call fcn.12e02880
push eax
push 1
call fcn.12e746e0
add esp, 0xc
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x18], 1
call dword [edx]
mov eax, dword [esp + 0x28]
sub ebp, 4
dec eax
test eax, eax
mov dword [esp + 0x28], eax
jge 0x12e03672
mov ebp, dword [esp + 0x18]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e0387f
mov eax, dword [esp + 0x14]
push eax
push ebp
push str.CDocLog::AddUpDownLogForCmd__iCount_:__d___bRet_:__d_
push str.UdLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
mov eax, dword [esp + edi*4 + 0x34]
test eax, eax
je 0x12e0385c
mov ecx, dword [esp + ebx*4 + 0x34]
test ecx, ecx
je 0x12e0385c
push 1
push 0
push 0
push 0
push 0
push ecx
push eax
push 2
call fcn.12e74420
mov esi, eax
add esp, 0x20
test esi, esi
je 0x12e0385c
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e038e7
mov eax, dword [esp + edi*4 + 0x34]
mov ecx, esi
push eax
push edi
call fcn.12e02880
push eax
push str.CDocLog::AddUpDownLogForCmd__AddUpDlDocLog_down__GetSrcPath__:_s___wszFiles__d_:_s_
push str.UdLog
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
push esi
mov ecx, esi
call fcn.12e02880
push eax
push 2
call fcn.12e746e0
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x14], 1
push 1
call dword [edx]
jmp 0x12e0385c
xor eax, eax
pop ebx
add esp, 0x4fc
ret 8