Function at 0x42f330
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 0x42f37c
lea ecx, [edi + 4]
call fcn.00452a20
mov esi, dword [ebx + 0x150]
mov dword [ebx + 0x150], edi
test esi, esi
je 0x42f3aa
lea edi, [esi + 4]
mov ecx, edi
call fcn.0045dd50
test al, al
je 0x42f3aa
xor eax, eax
test edi, edi
cmove esi, eax
push esi
call fcn.00455b20
add esp, 4
mov ecx, ebx
call fcn.0042ea90
push 0x854
call fcn.0046c775
mov edi, eax
add esp, 4
mov dword [ebp - 0x238], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x42f465
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.00433a50
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.00433a50
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 0x42f467
xor ecx, ecx
mov byte [ebp - 4], 0
mov dword [ebx + 0x244], ecx
call fcn.00439460
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42f4f3
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 0x42f4b2
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.0044cae0
mov byte [ebp - 4], 4
jmp 0x42f633
call fcn.0046b6b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42f5ea
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.0046b6b0
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.0044cae0
mov byte [ebp - 4], 9
push eax
lea ecx, [ebx + 0x1b0]
call fcn.00450750
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.0043cfd0
test al, al
je 0x42f6c6
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.00436980
mov ecx, eax
call fcn.00436670
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0
call fcn.00405050
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cfb0
mov esi, eax
lea eax, [ebx + 0x9c]
cmp eax, esi
je 0x42f719
mov ecx, eax
call fcn.00434de0
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.00434de0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cf70
mov esi, eax
lea eax, [ebx + 0xa8]
cmp eax, esi
je 0x42f777
mov ecx, eax
call fcn.00434de0
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.00434de0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cf90
mov esi, eax
lea eax, [ebx + 0xb4]
cmp eax, esi
je 0x42f7d5
mov ecx, eax
call fcn.00434de0
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.00434de0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebx + 0x1c8]
call fcn.0043cf50
mov esi, eax
lea edi, [ebx + 0xc0]
cmp edi, esi
je 0x42f829
mov ecx, edi
call fcn.00434ad0
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.00434ad0
push 0x10
call fcn.0046c775
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x42f86e
lea ecx, [esi + 4]
mov dword [ebp - 0x250], ecx
call fcn.0044c3f0
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], 0x430180
mov dword [esi + 0xc], ebx
jmp 0x42f870
xor esi, esi
push esi
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.0044c930
mov dword [ebp - 0x238], 0x421a10
mov esi, dword [ebx + 0x16c]
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0045a0c0
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.0044cd70
push eax
mov ecx, esi
call fcn.0045cf20
lea ecx, [ebp - 0x23c]
call fcn.0044e4f0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xd
test eax, eax
je 0x42f8f9
lea esi, [eax + 4]
mov ecx, esi
call fcn.0045dd50
test al, al
je 0x42f8f9
lea eax, [esi - 4]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00455b20
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.0046ca4d
mov esp, ebp
pop ebp
ret 4