Function at 0x42e360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506233
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x557200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x250], esi
xor edi, edi
mov dword [ebp - 4], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x26c], esi
push edi
push eax
mov dword [ebp - 0x24c], edi
call fcn.004b73e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x42e3e3
test eax, eax
jne 0x42e698
push 0x19
xor eax, eax
mov dword [ebp - 0x268], edi
push str.PathUtil::GetTempFilePath
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.004084c0
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov dword [ebp - 4], 1
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x42e442
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x42e447
mov edx, str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov ecx, edx
mov dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e473
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004084c0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x284]
call fcn.00434e10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x42e4b2
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x250], esp
push 0x18
push str.GetTempPath_failed:___s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 4
call fcn.00408db0
push 0x154
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x230]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov byte [ebp - 4], 2
add esp, 0x30
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x42e552
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e548
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e7a6
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
cmp edx, 8
jb 0x42e5b3
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e5a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e7a6
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x42e5f7
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e5ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e7a6
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.0042bd90
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov edi, 2
cmovae eax, dword [ebp - 0x230]
push eax
push 0x53521c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], edi
push 0x104
push eax
call fcn.00409ac0
mov edx, dword [ebp - 0x21c]
add esp, 0x10
cmp edx, 8
jb 0x42e698
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e68e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e7ab
push edx
push ecx
call fcn.004b51c1
add esp, 8
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 word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e6c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004084c0
mov dword [ebp - 4], 0
or edi, 1
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x24c], edi
je 0x42e749
push ebx
mov edx, esi
lea ecx, [ebp - 0x230]
call fcn.0042c7b0
add esp, 4
mov ecx, esi
push eax
call fcn.00412080
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42e749
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e73f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e7b0
push edx
push ecx
call fcn.004b51c1
add esp, 8
cmp dword [esi + 0x10], 0
je 0x42e781
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e759
mov eax, dword [esi]
lea ecx, [ebp - 0x248]
push ecx
push eax
call fcn.004c2071
add esp, 8
test eax, eax
jne 0x42e781
mov ecx, dword [ebp - 0x242]
and ecx, 0xf000
cmp ecx, 0x4000
je 0x42e788
mov ecx, esi
call fcn.0042c890
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4f32
mov esp, ebp
pop ebp
ret
call fcn.004b9cae
call fcn.004b9cae
call fcn.004b9cae
int3