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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568b30
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x5cb464]
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 eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push 0x208
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0x830]
push 0
push eax
mov dword [ebp - 0xa78], ebx
call fcn.004cc090
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x830]
push eax
push str.WorkPath__s
call fcn.00435810
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004cc090
add esp, 0x14
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004f4c8e
add esp, 8
test eax, eax
je 0x42b8dc
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x420]
push eax
push str.set_WorkPath__s
call fcn.00435810
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 - 0xa74]
mov dword [ebp - 0xa74], 8
push eax
mov dword [ebp - 0xa70], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x584964
push 0
call fcn.004f8256
add esp, 8
mov ecx, 0x5d09bc
push 0
push ebx
push 0
call fcn.00429290
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004cc090
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x584968
push eax
call edi
call fcn.0040c750
mov ecx, eax
test ecx, ecx
je 0x42c0ef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa64]
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040e980
test al, al
jne 0x42b9d2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b9b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa64]
call fcn.0040fb90
lea eax, [ebp - 0xa64]
mov ecx, 0x5d334c
push eax
call fcn.004353b0
mov edx, dword [ebp - 0xa64]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ba03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa7c]
call fcn.00425120
mov ecx, eax
call fcn.004145a0
lea ecx, [ebp - 0xa80]
call fcn.0040a4f0
call fcn.00427580
mov ecx, eax
call fcn.004598b0
mov eax, dword [0x5d0a24]
test al, 1
jne 0x42ba54
or eax, 1
mov ecx, 0x5d0a20
mov dword [0x5d0a24], eax
call fcn.00427530
push 0x57d220
call fcn.00469965
add esp, 4
mov ecx, 0x5d0a20
call fcn.00427640
push str.unload
call fcn.0041bf80
mov ecx, eax
call fcn.0040fcc0
lea eax, [ebp - 0xa70]
push eax
call fcn.0042e890
add esp, 4
push eax
call fcn.0041bf80
mov ecx, eax
call fcn.0040fb20
mov edx, dword [ebp - 0xa70]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42baa8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00425120
mov ecx, eax
call fcn.004145f0
push eax
call fcn.0041ffa0
mov ecx, 0x5d09f8
call fcn.0040ac20
test eax, eax
jne 0x42baea
push str.CheckSingleInstance_failed__exit
call fcn.00435810
add esp, 4
push 0
push 0
push 0x5849d4
push 0
call fcn.004201a0
jmp 0x42beea
mov byte [ebp - 0xa5d], 0
lea eax, [ebp - 0xa74]
mov dword [ebp - 4], 0
push eax
call fcn.00447cd4
lea eax, [ebp - 0xa74]
mov dword [ebp - 0xa6c], eax
lea eax, [ebp - 0xa5d]
mov dword [ebp - 0xa68], eax
lea eax, [ebp - 0xa6c]
push eax
push 0x41a000
push 0x5d08a4
call fcn.004486d6
add esp, 0x10
test eax, eax
je 0x42c0b8
lea eax, [ebp - 0xa74]
mov dword [ebp - 4], 1
push eax
call fcn.00447d0e
mov ecx, dword [0x5d08a0]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.004145f0
test eax, eax
je 0x42bba5
call fcn.00428ae0
test eax, eax
jne 0x42bba5
sub esp, 0x28
mov eax, esp
push 1
push 0
push str.silent_sign_fail
mov dword [eax + 0x24], 0
call fcn.0041bf80
mov ecx, eax
call fcn.0040f780
push str.Check_Silent_Single_failed__exit
call fcn.00435810
add esp, 4
jmp 0x42beea
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004cc090
add esp, 0xc
lea eax, [ebp - 0xa38]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.0042fa40
lea edx, [ebp - 0xa38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0x580b70
lea eax, [ebp - 0xa38]
push eax
call edi
lea eax, [ebp - 0xa38]
push eax
call fcn.0041bf80
mov ecx, eax
call fcn.0040fa90
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004cc090
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov edi, eax
lea eax, [ebp - 0xa58]
push 0
push eax
call fcn.004cc090
add esp, 0xc
mov dword [ebp - 0xa5c], 0x22c
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0xa5c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42bc91
nop word [eax + eax]
cmp dword [ebp - 0xa54], edi
je 0x42bc8b
lea eax, [ebp - 0xa5c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42bc70
jmp 0x42bc91
mov ebx, dword [ebp - 0xa44]
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 0x42bcd1
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x42bccc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call edi
jmp 0x42bcd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0040c750
mov ecx, eax
test ecx, ecx
je 0x42c0f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa64]
mov dword [ebp - 0xa64], eax
lea eax, [ebp - 0x628]
push eax
call fcn.0040e980
test al, al
jne 0x42bd35
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bd13
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa64]
call fcn.0040fb90
push dword [ebp - 0xa64]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.0040c750
mov ecx, eax
test ecx, ecx
je 0x42c103
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa68]
push esi
mov dword [ebp - 0xa68], eax
call fcn.0040e980
test al, al
jne 0x42bd9c
test esi, esi
jne 0x42bd78
xor ecx, ecx
jmp 0x42bd8f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bd80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xa68]
call fcn.0040fb90
call fcn.0040c750
mov ecx, eax
test ecx, ecx
je 0x42c10d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0xa68]
add eax, 0x10
push edi
mov dword [ebp - 0xa70], eax
lea eax, [ebp - 0xa70]
push str.ex1_s
push eax
call fcn.00410650
sub esp, 0x1c
mov byte [ebp - 0xa5d], 0
mov eax, esp
mov dword [eax + 0x24], 0
lea eax, [ebp - 0xa6c]
mov dword [ebp - 4], 4
push eax
call fcn.00447cd4
lea eax, [ebp - 0xa6c]
mov dword [ebp - 0xa88], eax
lea eax, [ebp - 0xa5d]
mov dword [ebp - 0xa84], eax
lea eax, [ebp - 0xa88]
push eax
push 0x419e10
push 0x5d088c
call fcn.004486d6
add esp, 0x10
test eax, eax
je 0x42c095
lea eax, [ebp - 0xa6c]
mov dword [ebp - 4], 5
push eax
call fcn.00447d0e
mov esi, dword [ebp - 0xa70]
add esp, 4
mov ecx, dword [0x5d0888]
mov dword [ebp - 4], 0xffffffff
push 0
push esi
push str.uninstall1_2
call fcn.0040f780
call fcn.0042fa40
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 - 0xa78]
push ebx
call dword [ecx + 4]
push dword [ebp + 0x14]
push dword [ebp - 0xa7c]
call fcn.0042a9a0
or ebx, 0xffffffff
add esp, 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42beb8
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 0x42becf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42beea
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, 0x5d09f8
call fcn.0040b240
mov eax, dword [0x5d0a24]
test al, 1
jne 0x42bf27
or eax, 1
mov ecx, 0x5d0a20
mov dword [0x5d0a24], eax
call fcn.00427530
push 0x57d220
call fcn.00469965
add esp, 4
mov ecx, 0x5d0a20
call fcn.00427b80
call fcn.00427580
mov ecx, eax
call fcn.00459a20
mov edi, dword [0x5d092c]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x5d09f4]
test esi, esi
je 0x42bf9f
cmp dword [esi + 4], 0
jle 0x42bf6d
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x5d09f4]
test esi, esi
je 0x42bf9f
mov eax, dword [esi]
test eax, eax
je 0x42bf86
push eax
call fcn.004f50f5
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0046956a
add esp, 8
push edi
mov dword [0x5d09f4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x5d09f0]
test esi, esi
je 0x42bff8
mov eax, dword [esi]
test eax, eax
je 0x42bfcf
push eax
call fcn.004f50f5
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42bfe6
push eax
call fcn.004f50f5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0046956a
add esp, 8
mov esi, dword [0x5d09e8]
test esi, esi
je 0x42c02a
cmp dword [esi], 0
je 0x42c02a
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x42c014
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 0x42c007
mov esi, dword [0x5c9ff4]
mov ecx, dword [0x5c9ff8]
cmp esi, ecx
jae 0x42c05a
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x42c053
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x5c9ff8]
add esi, 4
cmp esi, ecx
jb 0x42c040
mov ecx, 0x5d09bc
call fcn.0042ade0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0xa80]
call fcn.0040a530
xor eax, eax
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.0046997a
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xa6c]
mov dword [ebp - 4], 6
push eax
call fcn.00447d50
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x42c12d
jmp 0x42c117
lea eax, [ebp - 0xa74]
mov dword [ebp - 4], 2
push eax
call fcn.00447d50
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x42c12d
sub esp, 8
lea eax, [ebp - 0xa74]
mov ecx, esp
push eax
call fcn.00416c10
call fcn.00419be0
push 0x80004005
call fcn.00408fa0
push 0x80004005
call fcn.00408fa0
push 0x80004005
call fcn.00408fa0
push 0x80004005
call fcn.00408fa0
sub esp, 8
lea eax, [ebp - 0xa6c]
mov ecx, esp
push eax
call fcn.00416c10
call fcn.00419be0
call fcn.004487cd
int3