Function at 0x42d350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506061
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x557200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], esi
push 0
push eax
call fcn.004b73e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42d5ed
push 0x17
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x234]
push str.PathUtil::GetSystemPath
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004084c0
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov dword [ebp - 4], 0
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x42d418
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x42d41d
mov edx, str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov ecx, edx
mov dword [ebp - 0x24c], 0
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d450
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24c]
call fcn.004084c0
xor edx, edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00434e10
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x42d489
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x1f
push str.GetSystemDirectory_failed:___s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 3
call fcn.00408db0
push 0xb5
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24c]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov byte [ebp - 4], 1
add esp, 0x30
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x42d529
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d51f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d64b
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
cmp edx, 8
jb 0x42d589
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d57f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d64b
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x42d5d0
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d5c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d64b
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x218]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d610
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004084c0
mov eax, esi
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.004b4f32
mov esp, ebp
pop ebp
ret
call fcn.004b9cae
int3