Function at 0x45f1f0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eb118
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x74e2f0]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x40
lea eax, [ebp - 0x308]
push 0
push eax
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x30c], 0
call fcn.005bb1c0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
xorps xmm0, xmm0
push eax
mov dword [ebp - 0x31c], 0
movq qword [ebp - 0x318], xmm0
mov dword [ebp - 0x310], 0
call fcn.005bb1c0
add esp, 0xc
push str.____________________________________________________
call fcn.00418730
cmp dword [edi + 0x14], 8
jb 0x45f29e
mov eax, dword [edi]
jmp 0x45f2a0
mov eax, edi
push eax
push str.CFuncMgr::DoUnzipInstall___s__App_DoUnzipInstall_Start
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
push 8
xor eax, eax
push 0x63b97c
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
call fcn.00406400
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0
call fcn.004061c0
cmp dword [edi + 0x14], 8
jb 0x45f314
mov edx, dword [edi]
jmp 0x45f316
mov edx, edi
xor eax, eax
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], 0
mov word [ebp - 0x350], ax
cmp word [edx], ax
jne 0x45f33c
xor ecx, ecx
jmp 0x45f356
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f341
sub ecx, ebx
mov ebx, dword [ebp - 0x320]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x350]
call fcn.00406400
mov byte [ebp - 4], 1
push 0xb
xor eax, eax
push str.InstAppName
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
call fcn.00406400
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 2
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x338]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409f70
cmp dword [ebp - 0x324], 8
jb 0x45f3cd
push dword [ebp - 0x338]
call fcn.0049500b
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x33c], 8
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
jb 0x45f404
push dword [ebp - 0x350]
call fcn.0049500b
add esp, 4
push 0xb
xor eax, eax
push str.FILE_ONLINE
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
call fcn.00406400
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 3
mov ecx, dword [0x74e2f4]
push esi
lea eax, [ebp - 0x388]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
push eax
lea eax, [ebp - 0x264]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00460be0
cmp dword [ebp - 0x374], 8
jb 0x45f485
push dword [ebp - 0x388]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x374], 7
mov dword [ebp - 0x378], 0
mov word [ebp - 0x388], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x324], 8
jb 0x45f4bd
push dword [ebp - 0x338]
call fcn.0049500b
add esp, 4
xor eax, eax
push 6
push str.OPTION
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], eax
mov word [ebp - 0x350], ax
call fcn.00406400
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 8
mov ecx, dword [0x74e2f4]
push esi
lea eax, [ebp - 0x370]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
push eax
lea eax, [ebp - 0x234]
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.00460be0
cmp dword [ebp - 0x35c], 8
jb 0x45f555
push dword [ebp - 0x370]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x35c], 7
mov dword [ebp - 0x360], 0
mov word [ebp - 0x370], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x33c], 8
jb 0x45f58d
push dword [ebp - 0x350]
call fcn.0049500b
add esp, 4
xor eax, eax
push 9
push str.OPTION_FW
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], 0
mov word [ebp - 0x350], ax
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], eax
mov word [ebp - 0x338], ax
call fcn.00406400
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 0xd
mov ecx, dword [0x74e2f4]
push esi
lea eax, [ebp - 0x388]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
push eax
lea eax, [ebp - 0x2ac]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.00460be0
cmp dword [ebp - 0x374], 8
jb 0x45f625
push dword [ebp - 0x388]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x374], 7
mov dword [ebp - 0x378], 0
mov word [ebp - 0x388], ax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x324], 8
jb 0x45f65d
push dword [ebp - 0x338]
call fcn.0049500b
add esp, 4
xor eax, eax
push 9
push str.PARAMETER
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], eax
mov word [ebp - 0x350], ax
call fcn.00406400
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 0x12
mov ecx, dword [0x74e2f4]
push esi
lea eax, [ebp - 0x294]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x33c], 8
jb 0x45f6e6
push dword [ebp - 0x350]
call fcn.0049500b
add esp, 4
xor eax, eax
push 5
push str.APPID
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], 0
mov word [ebp - 0x350], ax
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], eax
mov word [ebp - 0x338], ax
call fcn.00406400
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 0x15
mov ecx, dword [0x74e2f4]
push esi
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x324], 8
jb 0x45f76f
push dword [ebp - 0x338]
call fcn.0049500b
add esp, 4
xor eax, eax
push 4
push str.PATH
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], eax
mov word [ebp - 0x350], ax
call fcn.00406400
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 0x18
mov ecx, dword [0x74e2f4]
push esi
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x33c], 8
jb 0x45f7f8
push dword [ebp - 0x350]
call fcn.0049500b
add esp, 4
xor eax, eax
push 0x10
push str.IsNeedCurrentDir
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x33c], 7
mov dword [ebp - 0x340], 0
mov word [ebp - 0x350], ax
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], eax
mov word [ebp - 0x338], ax
call fcn.00406400
lea eax, [ebp - 0x338]
push eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x24c]
push eax
push esi
lea ecx, [ecx + 0x2c]
call fcn.00414aa0
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x324], 8
mov dword [ebp - 0x38c], eax
jb 0x45f880
push dword [ebp - 0x338]
call fcn.0049500b
add esp, 4
cmp dword [ebp - 0x268], 8
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
push ecx
push eax
mov ecx, ebx
call fcn.0045f010
test eax, eax
jne 0x45f8e4
cmp dword [edi + 0x14], 8
jb 0x45f8af
mov edi, dword [edi]
push edi
push str.CFuncMgr::DoUnzipInstall___s__App_DoUnzip_Failed
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
push str.____________________________________________________
call fcn.00418730
xor edi, edi
jmp 0x45fe4e
xor eax, eax
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
cmp word [ebp - 0x21c], ax
jne 0x45f90e
xor ecx, ecx
jmp 0x45f926
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f917
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x338]
call fcn.00406400
lea eax, [ebp - 0x338]
push eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x2c4]
push eax
add ecx, 0xc
call fcn.00409f70
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x324], 8
jb 0x45f974
push dword [ebp - 0x338]
call fcn.0049500b
add esp, 4
push 0
push 0x624ff8
push dword [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x264]
call fcn.00407060
test eax, eax
jne 0x45f9d1
cmp dword [edi + 0x14], 8
jb 0x45f999
mov edi, dword [edi]
push edi
push str.CFuncMgr::DoUnzipInstall___s__App_DoUnzipInstall_End
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
push str.____________________________________________________
call fcn.00418730
mov edi, 1
jmp 0x45fe4e
push str.Interval
lea ecx, [ebp - 0x370]
call fcn.00405d00
lea eax, [ebp - 0x370]
push eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x24c]
push eax
push esi
lea ecx, [ecx + 0x2c]
call fcn.00414aa0
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x35c], 8
mov ebx, eax
jb 0x45fa1f
push dword [ebp - 0x370]
call fcn.0049500b
add esp, 4
push str.Timeout
lea ecx, [ebp - 0x370]
call fcn.00405d00
lea eax, [ebp - 0x370]
push eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x24c]
push eax
push esi
lea ecx, [ecx + 0x2c]
call fcn.00414aa0
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x35c], 8
mov dword [ebp - 0x354], eax
jb 0x45fa77
push dword [ebp - 0x370]
call fcn.0049500b
mov eax, dword [ebp - 0x354]
add esp, 4
push 0
push 0x624ff8
push dword [ebp - 0x284]
mov ecx, 0x64
test ebx, ebx
cmove ebx, ecx
mov ecx, 0x493e0
test eax, eax
cmove eax, ecx
push ecx
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x354], eax
call fcn.00407060
test eax, eax
je 0x45fac7
mov ecx, dword [ebp - 0x320]
lea eax, [ebp - 0x294]
push eax
push esi
call fcn.00461e40
push str.FIREWALL_BLOCK
lea ecx, [ebp - 0x370]
call fcn.00405d00
mov byte [ebp - 4], 0x1f
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x370]
push eax
add ecx, 0xc
call fcn.00409da0
cmp eax, 1
sete bl
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x35c], 8
jb 0x45fb11
push dword [ebp - 0x370]
call fcn.0049500b
add esp, 4
test bl, bl
je 0x45fb6a
push 0
push 0x624ff8
push dword [ebp - 0x29c]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.00407060
test eax, eax
je 0x45fb6a
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
xor ecx, ecx
push 0xffffffffffffffff
mov dword [ebp - 0x224], 0
mov word [eax], cx
push ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x234]
call fcn.00405f70
call fcn.0049f407
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45fb86
push 0x80004005
call fcn.00407a60
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x320], eax
push 0
push 0x624ff8
mov byte [ebp - 4], 0x20
push dword [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00407060
test eax, eax
lea eax, [ebp - 0x264]
je 0x45fbfe
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x234]
cmp dword [ebp - 0x250], 8
push ecx
cmovae eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x320]
push str._s_s__s
push eax
call fcn.00407b30
add esp, 0x14
jmp 0x45fc21
cmp dword [ebp - 0x250], 8
cmovae eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x320]
push 0x63bae0
push eax
call fcn.00407b30
add esp, 0xc
mov esi, dword [ebp - 0x320]
cmp dword [esi - 4], 1
jle 0x45fc41
push dword [esi - 0xc]
lea ecx, [ebp - 0x320]
call fcn.004078e0
mov esi, dword [ebp - 0x320]
cmp dword [edi + 0x14], 8
jb 0x45fc4b
mov eax, dword [edi]
jmp 0x45fc4d
mov eax, edi
push esi
push eax
push str.CFuncMgr::DoUnzipInstall___s__App_Install_Command:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x18
push 0x74e818
call fcn.00418730
mov eax, 5
xor ebx, ebx
cmp dword [ebp - 0x38c], 1
mov dword [ebp - 0x30c], 0x44
mov dword [ebp - 0x2e0], 1
mov word [ebp - 0x2dc], ax
jne 0x45fcda
cmp dword [edi + 0x14], 8
lea ebx, [ebp - 0x21c]
jb 0x45fcad
mov eax, dword [edi]
jmp 0x45fcaf
mov eax, edi
lea ecx, [ebp - 0x21c]
push ecx
push eax
push str.CFuncMgr::DoUnzipInstall___s__CurrentDirectory_:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x18
push 0x74e818
call fcn.00418730
cmp dword [esi - 4], 1
jle 0x45fcf4
push dword [esi - 0xc]
lea ecx, [ebp - 0x320]
call fcn.004078e0
mov esi, dword [ebp - 0x320]
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x30c]
push eax
push ebx
push 0
push 0x20
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45fdf1
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x45fdf1
mov ecx, dword [ebp - 0x318]
test ecx, ecx
je 0x45fd43
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x31c]
push dword [ebp - 0x358]
xor ebx, ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45fd81
jmp 0x45fd60
mov eax, dword [ebp - 0x358]
add ebx, eax
cmp ebx, dword [ebp - 0x354]
ja 0x45fdbc
push eax
push dword [ebp - 0x31c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45fd60
call fcn.00466550
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x45fd98
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
cmp dword [edi + 0x14], 8
jb 0x45fda0
mov edi, dword [edi]
push edi
push str.CFuncMgr::DoUnzipInstall___s__App_DoUnzipInstall_End
call fcn.004188b0
push str.____________________________________________________
call fcn.00418730
mov edi, 1
jmp 0x45fe30
push 0
push dword [ebp - 0x31c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x45fddc
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
cmp dword [edi + 0x14], 8
jb 0x45fde4
mov edi, dword [edi]
push edi
push str.CFuncMgr::DoUnzipInstall___s__App_CreateProcess___Timeout_Failed
call fcn.004188b0
jmp 0x45fe24
cmp dword [edi + 0x14], 8
jb 0x45fdf9
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CFuncMgr::DoUnzipInstall___s__App_CreateProcess___Failed_:0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x18
push 0x74e818
call fcn.00418730
push str.____________________________________________________
call fcn.00418730
xor edi, edi
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45fe4e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2b0], 8
jb 0x45fe65
push dword [ebp - 0x2c4]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x268], 8
mov dword [ebp - 0x2b0], 7
mov dword [ebp - 0x2b4], 0
mov word [ebp - 0x2c4], ax
jb 0x45fe99
push dword [ebp - 0x27c]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x280], 8
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
jb 0x45fecd
push dword [ebp - 0x294]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x298], 8
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
jb 0x45ff01
push dword [ebp - 0x2ac]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], ax
jb 0x45ff35
push dword [ebp - 0x234]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x250], 8
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
jb 0x45ff69
push dword [ebp - 0x264]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x238], 8
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
jb 0x45ff9d
push dword [ebp - 0x24c]
call fcn.0049500b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 0xc