Function at 0x42f340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585fcd
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5d1e24]
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, ecx
mov dword [ebp - 0x250], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x42f38c
lea ecx, [edi + 4]
call fcn.00452a50
mov esi, dword [ebx + 0x150]
mov dword [ebx + 0x150], edi
test esi, esi
je 0x42f3ba
lea edi, [esi + 4]
mov ecx, edi
call fcn.0045dd80
test al, al
je 0x42f3ba
xor eax, eax
test edi, edi
cmove esi, eax
push esi
call fcn.00455b50
add esp, 4
mov ecx, ebx
call fcn.0042eaa0
push 0x854
call fcn.0046c7a5
mov edi, eax
add esp, 4
mov dword [ebp - 0x238], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x42f475
push 0x854
push 0
push edi
call fcn.0054f9f0
lea esi, [edi + 0x420]
add esp, 0xc
mov dword [ebp - 0x21c], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00433a60
push 0x420
push 0
push edi
mov dword [esi], eax
call fcn.0054f9f0
add esp, 0xc
add edi, 0x428
mov byte [ebp - 4], 2
lea esi, [edi + 0x420]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x21c], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00433a60
push 0x420
push 0
push edi
mov dword [esi], eax
call fcn.0054f9f0
mov ecx, dword [ebp - 0x238]
add esp, 0xc
mov byte [ecx + 0x850], 1
jmp 0x42f477
xor ecx, ecx
mov byte [ebp - 4], 0
mov dword [ebx + 0x244], ecx
call fcn.00439470
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42f503
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f4c2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00409700
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044cb00
mov byte [ebp - 4], 4
jmp 0x42f643
call fcn.0046b6d0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42f5fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5a
push str.d:jenkins.jenkinsworkspacegroup_cleanproc_optproc_optproc_opt_ui_src_balance_mgr.cc
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov ebx, eax
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.00409600
push 3
push 0x590d7c
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00409600
mov byte [ebp - 4], 6
call fcn.0046b6d0
mov edi, eax
lea ecx, [ebp - 0x2e8]
push 0x40
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00404630
mov esi, eax
push str._GetWindowsDirectoryW_failed__error:
push esi
mov byte [ebp - 4], 7
call fcn.00405780
add esp, 8
mov ecx, esi
push ebx
call fcn.00405440
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e8]
call fcn.00405a10
lea ecx, [ebp - 0x234]
call fcn.00405000
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0
call fcn.00405000
mov ebx, dword [ebp - 0x250]
push 0xa
xor eax, eax
mov dword [ebp - 0x224], 0
push str.C:windows
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00409700
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044cb00
mov byte [ebp - 4], 9
push eax
lea ecx, [ebx + 0x1b0]
call fcn.00450780
lea ecx, [ebp - 0x24c]
call fcn.00405050
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.00405050
lea ecx, [ebx + 0x1c8]
call fcn.0043cfe0
test al, al
je 0x42f6d6
push 0xf
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x5937d4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00409700
push 1
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00436990
mov ecx, eax
call fcn.00436680
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.00405050
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cfc0
mov esi, eax
lea eax, [ebx + 0x9c]
cmp eax, esi
je 0x42f729
mov ecx, eax
call fcn.00434df0
mov ecx, dword [esi]
mov dword [ebx + 0x9c], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 0xa0], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0xa4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x240]
call fcn.00434df0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cf80
mov esi, eax
lea eax, [ebx + 0xa8]
cmp eax, esi
je 0x42f787
mov ecx, eax
call fcn.00434df0
mov ecx, dword [esi]
mov dword [ebx + 0xa8], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 0xac], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0xb0], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x240]
call fcn.00434df0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cfa0
mov esi, eax
lea eax, [ebx + 0xb4]
cmp eax, esi
je 0x42f7e5
mov ecx, eax
call fcn.00434df0
mov ecx, dword [esi]
mov dword [ebx + 0xb4], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 0xb8], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0xbc], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x240]
call fcn.00434df0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cf60
mov esi, eax
lea edi, [ebx + 0xc0]
cmp edi, esi
je 0x42f839
mov ecx, edi
call fcn.00434ae0
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x240]
call fcn.00434ae0
push 0x10
call fcn.0046c7a5
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x42f87e
lea ecx, [esi + 4]
mov dword [ebp - 0x250], ecx
call fcn.0044c410
mov dword [esi], vtable.._AU__BindState_V__RunnableAdapter_P8BalanceMgr__AEXXZ_internal_base____A6AXPAVBalanceMgr___Z__A6AXV__UnretainedWrapper_VBalanceMgr___23__Z_internal_base__.0
mov dword [esi + 8], 0x430190
mov dword [esi + 0xc], ebx
jmp 0x42f880
xor esi, esi
push esi
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.0044c950
mov dword [ebp - 0x238], 0x421a10
mov esi, dword [ebx + 0x16c]
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0045a0f0
push eax
push 0x53
push str.d:jenkins.jenkinsworkspacegroup_cleanproc_optproc_optproc_opt_ui_src_balance_mgr.cc
push str.BalanceMgr::Init
lea ecx, [ebp - 0x22c]
call fcn.0044cd90
push eax
mov ecx, esi
call fcn.0045cf50
lea ecx, [ebp - 0x23c]
call fcn.0044e520
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xd
test eax, eax
je 0x42f909
lea esi, [eax + 4]
mov ecx, esi
call fcn.0045dd80
test al, al
je 0x42f909
lea eax, [esi - 4]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00455b50
add esp, 4
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.0046ca7d
mov esp, ebp
pop ebp
ret 4