Function at 0x429f80
Capabilities:
Enumerate processes
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa6c
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x208
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0x824]
push 0
push eax
mov dword [ebp - 0xa68], ebx
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x824]
push eax
push str.WorkPath__s
call fcn.00434480
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c14d0
add esp, 0x14
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004ea0de
add esp, 8
test eax, eax
je 0x42a044
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x414]
push eax
push str.set_WorkPath__s
call fcn.00434480
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0xa60]
mov dword [ebp - 0xa60], 8
push eax
mov dword [ebp - 0xa5c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x57e96c
push 0
call fcn.004ed6a6
add esp, 8
mov ecx, 0x5c9ab4
push 0
push ebx
push 0
call fcn.00427a10
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push 0x57e970
push eax
call edi
call fcn.0040b820
mov ecx, eax
test ecx, ecx
je 0x42a75f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa54]
mov dword [ebp - 0xa54], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040da50
test al, al
jne 0x42a133
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a111
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa54]
call fcn.0040ec60
lea eax, [ebp - 0xa54]
mov ecx, 0x5cc444
push eax
call fcn.00434040
mov edx, dword [ebp - 0xa54]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a164
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa64]
call fcn.00423c40
mov ecx, eax
call fcn.00413670
lea ecx, [ebp - 0xa6c]
call fcn.004095c0
call fcn.004260f0
mov ecx, eax
call fcn.0044fb00
mov eax, dword [0x5c9b1c]
test al, 1
jne 0x42a1b5
or eax, 1
mov ecx, 0x5c9b18
mov dword [0x5c9b1c], eax
call fcn.004260a0
push 0x5772a0
call fcn.0045fbb5
add esp, 4
mov ecx, 0x5c9b18
call fcn.00426200
push str.unload
call fcn.0041aab0
mov ecx, eax
call fcn.0040ed90
lea eax, [ebp - 0xa5c]
push eax
call fcn.0042cfe0
add esp, 4
push eax
call fcn.0041aab0
mov ecx, eax
call fcn.0040ebf0
mov edx, dword [ebp - 0xa5c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a209
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00423c40
mov ecx, eax
call fcn.004136c0
push eax
call fcn.0041eaa0
mov ecx, 0x5c9af0
call fcn.00409cf0
test eax, eax
jne 0x42a24b
push str.CheckSingleInstance_failed__exit
call fcn.00434480
add esp, 4
push 0
push 0
push 0x57e9dc
push 0
call fcn.0041eca0
jmp 0x42a5c5
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0xa2c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.0042e190
lea edx, [ebp - 0xa2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0x57ab70
lea eax, [ebp - 0xa2c]
push eax
call edi
lea eax, [ebp - 0xa2c]
push eax
call fcn.0041aab0
mov ecx, eax
call fcn.0040eb60
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov edi, eax
lea eax, [ebp - 0xa4c]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
mov dword [ebp - 0xa50], 0x22c
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0xa50]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42a331
cmp dword [ebp - 0xa48], edi
je 0x42a32b
lea eax, [ebp - 0xa50]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42a310
jmp 0x42a331
mov ebx, dword [ebp - 0xa38]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42a371
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x42a36c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call edi
jmp 0x42a377
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0040b820
mov ecx, eax
test ecx, ecx
je 0x42a769
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa54]
mov dword [ebp - 0xa54], eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0040da50
test al, al
jne 0x42a3d5
lea ecx, [ebp - 0x61c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a3b3
sub ecx, edx
lea eax, [ebp - 0x61c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa54]
call fcn.0040ec60
push dword [ebp - 0xa54]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.0040b820
test eax, eax
je 0x42a75f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa58]
push esi
mov dword [ebp - 0xa58], eax
call fcn.0040da50
test al, al
jne 0x42a43c
test esi, esi
jne 0x42a418
xor ecx, ecx
jmp 0x42a42f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a420
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xa58]
call fcn.0040ec60
call fcn.0040b820
test eax, eax
je 0x42a75f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov edi, dword [ebp - 0xa58]
add eax, 0x10
push edi
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa5c]
push str.ex1_s
push eax
call fcn.0040f720
sub esp, 0x1c
mov eax, esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x5c9990]
test ecx, ecx
jne 0x42a4de
push 0x5c2ed8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5c9990], 0
jne 0x42a4c5
push 0x1c
call fcn.0042b550
mov esi, eax
add esp, 4
test esi, esi
je 0x42a4bd
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x42a4bf
xor esi, esi
mov dword [0x5c9990], esi
push 0x5c2ed8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5c9990]
test ecx, ecx
jne 0x42a4de
xor eax, eax
jmp 0x42a52c
mov eax, dword [0x5c998c]
test eax, eax
jne 0x42a52c
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x5c998c], 0
jne 0x42a51c
push 0x20
call fcn.0042b550
add esp, 4
test eax, eax
je 0x42a50e
mov ecx, eax
call fcn.0040d7e0
mov ecx, eax
jmp 0x42a510
xor ecx, ecx
xchg dword [ebp - 0xa58], eax
mov dword [0x5c998c], ecx
mov eax, dword [0x5c9990]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x5c998c]
mov esi, dword [ebp - 0xa5c]
mov ecx, eax
push 0
push esi
push str.uninstall1_2
call fcn.0040e850
call fcn.0042e190
mov ebx, eax
push ebx
mov ecx, dword [ebx]
call dword [ecx]
mov ecx, dword [ebx]
push str.bizhi.ldsprj
push str.SETUPCONFIG
push 0xd1
push dword [ebp - 0xa68]
push ebx
call dword [ecx + 4]
push dword [ebp + 0x14]
push dword [ebp - 0xa64]
call fcn.00429120
or ebx, 0xffffffff
add esp, 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a593
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42a5aa
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42a5c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x5c9af0
call fcn.0040a310
mov eax, dword [0x5c9b1c]
test al, 1
jne 0x42a602
or eax, 1
mov ecx, 0x5c9b18
mov dword [0x5c9b1c], eax
call fcn.004260a0
push 0x5772a0
call fcn.0045fbb5
add esp, 4
mov ecx, 0x5c9b18
call fcn.00426740
call fcn.004260f0
mov ecx, eax
call fcn.0044fc70
mov edi, dword [0x5c9a24]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x5c9aec]
test esi, esi
je 0x42a67a
cmp dword [esi + 4], 0
jle 0x42a648
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x5c9aec]
test esi, esi
je 0x42a67a
mov eax, dword [esi]
test eax, eax
je 0x42a661
push eax
call fcn.004ea545
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0045f7ba
add esp, 8
push edi
mov dword [0x5c9aec], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x5c9ae8]
test esi, esi
je 0x42a6d3
mov eax, dword [esi]
test eax, eax
je 0x42a6aa
push eax
call fcn.004ea545
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42a6c1
push eax
call fcn.004ea545
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0045f7ba
add esp, 8
mov esi, dword [0x5c9ae0]
test esi, esi
je 0x42a705
cmp dword [esi], 0
je 0x42a705
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42a6ef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x42a6e2
mov esi, dword [0x5c3074]
mov ecx, dword [0x5c3078]
cmp esi, ecx
jae 0x42a72f
mov eax, dword [esi]
test eax, eax
je 0x42a728
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x5c3078]
add esi, 4
cmp esi, ecx
jb 0x42a715
mov ecx, 0x5c9ab4
call fcn.00429560
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0xa6c]
call fcn.00409600
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fbca
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00408070
push 0x80004005
call fcn.00408070
int3