Function at 0x4092d0
Capabilities:
Check if file exists
Create process on windows
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x598cc2
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x164], eax
push esi
push edi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
call fcn.00470afc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x409329
push 0x80004005
call fcn.004020b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x180], 0
mov eax, dword [ebx]
push 0x2e
push eax
call fcn.00566bfc
add esp, 8
test eax, eax
je 0x4093a9
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x4093a9
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.004028a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 1
call fcn.004044b0
mov byte [esp + 0x180], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4093a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push str._silent
lea ecx, [esp + 0x1c]
call fcn.00404a60
mov byte [esp + 0x180], 2
call fcn.00470afc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4093d9
push 0x80004005
call fcn.004020b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push str..zip
push edi
mov byte [esp + 0x188], 3
call fcn.00566b08
add esp, 8
test eax, eax
jne 0x40950d
xor edi, edi
lea esi, [esp + 0x5c]
mov dword [esp + 0x5c], vtable.Unzipper.0
mov dword [esp + 0x60], eax
call fcn.0044ff40
mov byte [esp + 0x180], 4
mov eax, dword [ebx]
push eax
call fcn.00406d60
add esp, 4
mov edi, eax
call fcn.0044ff40
push edi
call fcn.00466c92
add esp, 4
cmp dword [esp + 0x60], 0
je 0x4094de
lea ecx, [esp + 0x64]
call fcn.0044fea0
test al, al
je 0x4094de
mov eax, dword [ebx]
push 0x2e
push eax
call fcn.00566bfc
add esp, 8
test eax, eax
jne 0x409473
or eax, 0xffffffff
jmp 0x409477
sub eax, dword [ebx]
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.004028d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 5
call fcn.004044b0
mov byte [esp + 0x180], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4094be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x5cd740
lea ecx, [esp + 0x18]
call fcn.00404550
push 0x14
push str.ZhiZaoYun_Client.exe
lea ecx, [esp + 0x18]
call fcn.00404550
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x60], vtable.Unzipper.0
call fcn.00461f30
mov edx, dword [esp + 0x60]
push edx
call fcn.00460860
mov edi, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov byte [esp + 0x64], 0
jmp 0x409529
push 0x5ce2f4
push edi
call fcn.00566b08
add esp, 8
test eax, eax
jne 0x40952d
push ebx
lea ecx, [esp + 0x14]
call fcn.004044b0
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409545
push 0x5ce300
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4095b4
push 0x3c
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.0056b700
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x28], 0x8040
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x58]
push 0x927c0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4095a9
mov edx, dword [esp + 0x58]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x180], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409600
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x180], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409623
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.00565f92
mov esp, ebp
pop ebp
ret