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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e9c0
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x55e3d4]
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.00497960
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.0042dcb0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00497960
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.004c041e
add esp, 8
test eax, eax
je 0x42845c
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.0042dcb0
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 0x52530c
push 0
call fcn.004c39e6
add esp, 8
mov ecx, 0x561630
push 0
push ebx
push 0
call fcn.00425e60
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00497960
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 0x525310
push eax
call edi
call fcn.0040e1e0
mov ecx, eax
test ecx, ecx
je 0x428c6f
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.00410410
test al, al
jne 0x428552
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428530
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa64]
call fcn.00411620
lea eax, [ebp - 0xa64]
mov ecx, 0x5641c0
push eax
call fcn.0042d740
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 0x428583
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa7c]
call fcn.00421cd0
mov ecx, eax
call fcn.00416030
lea ecx, [ebp - 0xa80]
call fcn.0040bf80
call fcn.00424120
mov ecx, eax
call fcn.0045dc50
mov eax, dword [0x561698]
test al, 1
jne 0x4285d4
or eax, 1
mov ecx, 0x561694
mov dword [0x561698], eax
call fcn.004240d0
push 0x51e2f0
call fcn.0046dd05
add esp, 4
mov ecx, 0x561694
call fcn.004241e0
push str.unload
call fcn.0041c470
mov ecx, eax
call fcn.00411750
lea eax, [ebp - 0xa70]
push eax
call fcn.0042b390
add esp, 4
push eax
call fcn.0041c470
mov ecx, eax
call fcn.004115b0
mov edx, dword [ebp - 0xa70]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428628
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421cd0
mov ecx, eax
call fcn.00416080
push eax
call fcn.0041fcd0
mov ecx, 0x56166c
call fcn.0040c6b0
test eax, eax
jne 0x42866a
push str.CheckSingleInstance_failed__exit
call fcn.0042dcb0
add esp, 4
push 0
push 0
push 0x525384
push 0
call fcn.0041fed0
jmp 0x428a6a
mov byte [ebp - 0xa5d], 0
lea eax, [ebp - 0xa74]
mov dword [ebp - 4], 0
push eax
call fcn.0044b638
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 0x41b970
push 0x561584
call fcn.0044c03a
add esp, 0x10
test eax, eax
je 0x428c38
lea eax, [ebp - 0xa74]
mov dword [ebp - 4], 1
push eax
call fcn.0044b672
mov ecx, dword [0x561580]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00416080
test eax, eax
je 0x428725
call fcn.004256b0
test eax, eax
jne 0x428725
sub esp, 0x28
mov eax, esp
push 1
push 0
push str.silent_sign_fail
mov dword [eax + 0x24], 0
call fcn.0041c470
mov ecx, eax
call fcn.00411210
push str.Check_Silent_Single_failed__exit
call fcn.0042dcb0
add esp, 4
jmp 0x428a6a
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00497960
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.0042c5f0
lea edx, [ebp - 0xa38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0x521a44
lea eax, [ebp - 0xa38]
push eax
call edi
lea eax, [ebp - 0xa38]
push eax
call fcn.0041c470
mov ecx, eax
call fcn.00411520
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00497960
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.00497960
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 0x428811
nop word [eax + eax]
cmp dword [ebp - 0xa54], edi
je 0x42880b
lea eax, [ebp - 0xa5c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4287f0
jmp 0x428811
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 0x428851
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x42884c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call edi
jmp 0x428857
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0040e1e0
mov ecx, eax
test ecx, ecx
je 0x428c79
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.00410410
test al, al
jne 0x4288b5
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428893
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa64]
call fcn.00411620
push dword [ebp - 0xa64]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.0040e1e0
mov ecx, eax
test ecx, ecx
je 0x428c83
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa68]
push esi
mov dword [ebp - 0xa68], eax
call fcn.00410410
test al, al
jne 0x42891c
test esi, esi
jne 0x4288f8
xor ecx, ecx
jmp 0x42890f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428900
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xa68]
call fcn.00411620
call fcn.0040e1e0
mov ecx, eax
test ecx, ecx
je 0x428c8d
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.004120e0
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.0044b638
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 0x41b7d0
push 0x56156c
call fcn.0044c03a
add esp, 0x10
test eax, eax
je 0x428c15
lea eax, [ebp - 0xa6c]
mov dword [ebp - 4], 5
push eax
call fcn.0044b672
mov esi, dword [ebp - 0xa70]
add esp, 4
mov ecx, dword [0x561568]
mov dword [ebp - 4], 0xffffffff
push 0
push esi
push str.execute
call fcn.00411210
call fcn.0042c5f0
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.00427570
or ebx, 0xffffffff
add esp, 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x428a38
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 0x428a4f
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 0x428a6a
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, 0x56166c
call fcn.0040ccd0
mov eax, dword [0x561698]
test al, 1
jne 0x428aa7
or eax, 1
mov ecx, 0x561694
mov dword [0x561698], eax
call fcn.004240d0
push 0x51e2f0
call fcn.0046dd05
add esp, 4
mov ecx, 0x561694
call fcn.00424750
call fcn.00424120
mov ecx, eax
call fcn.0045ddc0
mov edi, dword [0x5615a0]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x561668]
test esi, esi
je 0x428b1f
cmp dword [esi + 4], 0
jle 0x428aed
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x561668]
test esi, esi
je 0x428b1f
mov eax, dword [esi]
test eax, eax
je 0x428b06
push eax
call fcn.004c0885
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0046d90a
add esp, 8
push edi
mov dword [0x561668], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x561664]
test esi, esi
je 0x428b78
mov eax, dword [esi]
test eax, eax
je 0x428b4f
push eax
call fcn.004c0885
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x428b66
push eax
call fcn.004c0885
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0046d90a
add esp, 8
mov esi, dword [0x56165c]
test esi, esi
je 0x428baa
cmp dword [esi], 0
je 0x428baa
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x428b94
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 0x428b87
mov esi, dword [0x55cf64]
mov ecx, dword [0x55cf68]
cmp esi, ecx
jae 0x428bda
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x428bd3
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x55cf68]
add esi, 4
cmp esi, ecx
jb 0x428bc0
mov ecx, 0x561630
call fcn.00427960
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0xa80]
call fcn.0040bfc0
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.0046dd1a
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xa6c]
mov dword [ebp - 4], 6
push eax
call fcn.0044b6b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x428cad
jmp 0x428c97
lea eax, [ebp - 0xa74]
mov dword [ebp - 4], 2
push eax
call fcn.0044b6b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x428cad
sub esp, 8
lea eax, [ebp - 0xa74]
mov ecx, esp
push eax
call fcn.004185d0
call fcn.0041b5a0
push 0x80004005
call fcn.0040aa30
push 0x80004005
call fcn.0040aa30
push 0x80004005
call fcn.0040aa30
push 0x80004005
call fcn.0040aa30
sub esp, 8
lea eax, [ebp - 0xa6c]
mov ecx, esp
push eax
call fcn.004185d0
call fcn.0041b5a0
call fcn.0044c10b
int3