Function at 0x42ed40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527a36
mov eax, dword fs:[0]
push eax
sub esp, 0xa38
mov eax, dword [0x5898bc]
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 dword [ebp - 0xa3c], 0
call fcn.00448f40
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx]
mov ebx, eax
test ebx, ebx
je 0x42e70b
mov dword [ebp - 4], 0
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x42ed00
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa3c], 1
mov dword [ebp - 0xa34], eax
lea eax, [ebx - 1]
cmp eax, 3
ja case.default.0x42e604
jmp dword [eax*4 + 0x42ed30]
push 0x10
push 0x542658
jmp 0x42e62d
push 0x10
push 0x54267c
jmp 0x42e62d
push 0x11
push 0x5426a0
jmp 0x42e62d
push 0x1a
push str._rN_f
lea ecx, [ebp - 0xa34]
call fcn.0040a830
mov esi, dword [ebp - 0xa34]
push 0
push 0
push esi
push 0
call fcn.004410b0
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42e66b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
push str.PreInitCheck_failed__ret___d__exit
call fcn.0043a240
add esp, 8
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x42ed0a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], eax
push ebx
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0xa34]
mov dword [ebp - 4], 1
push str._sPreInitCheck:_d
push eax
call fcn.00409150
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa3c], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa34]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 2
call fcn.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00417290
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42e704
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x42ece4
push str.PreInitCheck_success.
call fcn.0043a240
mov eax, dword [edi]
add esp, 4
push str.DLL_7Z
push 0xcb
push dword [0x58d56c]
push edi
call dword [eax + 4]
test eax, eax
jne 0x42e7da
push eax
push eax
push str.7z.dll_
push eax
call fcn.004410b0
push str.Init_7z_failed__exit
call fcn.0043a240
add esp, 4
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x42ed14
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa34], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0xa34]
mov dword [ebp - 4], 3
push str._sInit7Z:_d
push eax
call fcn.00409150
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa3c], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa34]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 4
call fcn.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00417290
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x42e6fa
push str.Init_7z_success.
call fcn.0043a240
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
cmp dword [0x587e8c], 0
je 0x42e8a9
push str.ntdll.dll
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa44], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42e89f
push str.RtlGetNtVersionNumbers
push esi
call ebx
test eax, eax
je 0x42e86d
lea ecx, [ebp - 0xa34]
push ecx
lea ecx, [ebp - 0xa3c]
push ecx
lea ecx, [ebp - 0xa40]
push ecx
call eax
movzx eax, word [ebp - 0xa34]
mov dword [ebp - 0xa34], eax
mov dword [ebp - 0xa44], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xa44], 0
je 0x42e89f
cmp dword [ebp - 0xa40], 6
jne 0x42e89f
mov eax, dword [0x58cf58]
mov ecx, 1
cmp dword [ebp - 0xa3c], 1
cmove eax, ecx
mov dword [0x58cf58], eax
mov dword [0x587e8c], 0
cmp dword [0x58cf58], 0
je 0x42e8d9
mov eax, dword [edi]
push str.EXE_KB931125
push 0x361
push dword [0x58d56c]
push edi
call dword [eax + 8]
test eax, eax
je 0x42e8d9
push str.Init_Sign_Patch_success.
call fcn.0043a240
add esp, 4
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x42e969
push esi
push str.PreInstallCheck_failed__ret___d__exit
call fcn.0043a240
mov ecx, dword [edi]
add esp, 8
push str.EXE_KB931125
push 0x361
push dword [0x58d56c]
push edi
call dword [ecx + 8]
test eax, eax
je 0x42e919
mov eax, dword [edi]
push edi
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x42e969
push esi
push str.PreInstallCheck_failed2__ret___d__exit
call fcn.0043a240
call fcn.0042f2a0
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0xa3c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.install_file_fail
mov dword [ebp - 4], 5
call fcn.0041dbd0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00417290
xor eax, eax
jmp 0x42ece4
push str.PreInstallCheck_success.
call fcn.0043a240
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.004b2720
mov esi, dword [edi]
lea eax, [ebp - 0xa18]
add esp, 0x10
lea ecx, [ebp - 0xa35]
push eax
call fcn.0042bf40
push eax
push 0xf1
push dword [0x58d56c]
push edi
call dword [esi + 0xc]
test eax, eax
jne 0x42ea5f
lea ecx, [ebp - 0xa35]
call fcn.0042bb50
push eax
call fcn.0043a240
add esp, 4
call fcn.0042f2a0
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x42ed1e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa3c], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea ecx, [ebp - 0xa35]
mov dword [ebp - 4], 6
call fcn.0042bd10
push eax
lea eax, [ebp - 0xa3c]
push eax
call fcn.00409150
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xa40], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0xa3c]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 7
call fcn.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00417290
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x42e6fa
call fcn.004096f0
mov esi, eax
lea eax, [ebp - 0xa18]
push eax
call fcn.0046ef00
add esp, 4
test eax, eax
je 0x42ead8
cmp dword [esi], 0
jne 0x42ead8
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x42ead8
push str.HttpInit
push eax
call ebx
push str.HttpUninit
push dword [esi]
mov dword [esi + 4], eax
call ebx
push str.zlib_uncompress
push dword [esi]
mov dword [esi + 8], eax
call ebx
push str.zlib_compress
push dword [esi]
mov dword [esi + 0x10], eax
call ebx
push str.zlib_compressBound
push dword [esi]
mov dword [esi + 0x14], eax
call ebx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42ead8
call eax
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0xa35]
call fcn.0042c1e0
push eax
call fcn.0043a240
add esp, 4
call fcn.0042e030
mov ecx, eax
call fcn.004242c0
test eax, eax
je 0x42eca6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2720
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x58d56c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xa34]
call fcn.004085f0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa3c]
call fcn.00408540
lea eax, [ebp - 0xa34]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xa3c]
push eax
call fcn.00409240
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa3c]
call fcn.00408910
push 0x542a38
lea ecx, [ebp - 0xa30]
call fcn.00408710
push ecx
mov esi, esp
mov dword [ebp - 0xa3c], esp
mov dword [ebp - 0xa40], esi
mov eax, dword [ebp - 0xa34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
push eax
call fcn.0040b110
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xb
call fcn.0042e030
mov ecx, eax
call fcn.00422730
push ecx
mov esi, esp
mov dword [ebp - 0xa40], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040b110
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xa30]
mov byte [ebp - 4], 0xa
push eax
call fcn.00409c00
mov edx, dword [ebp - 0xa1c]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 8
sete bl
cmp edx, 0x10
jb 0x42ec37
mov ecx, dword [ebp - 0xa30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ec2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ed28
push edx
push ecx
call fcn.004986b3
add esp, 8
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 0xf
mov byte [ebp - 0xa30], 0
test bl, bl
je 0x42ec94
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa3c], esp
mov dword [eax + 0x24], 0
push 1
push 0
push 0x542a3c
mov byte [ebp - 4], 0xc
call fcn.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00417290
lea ecx, [ebp - 0xa34]
call fcn.00408910
xor eax, eax
jmp 0x42ece4
lea ecx, [ebp - 0xa34]
mov dword [ebp - 4], 0xffffffff
call fcn.00408910
lea eax, [ebp - 0xa18]
push eax
call fcn.0042e250
mov ecx, eax
call fcn.00435420
mov esi, dword [edi]
call fcn.0042e030
mov ecx, eax
call fcn.004242c0
push eax
push edi
call dword [esi + 0x58]
mov esi, dword [edi]
call fcn.0042e030
mov ecx, eax
call fcn.004237e0
push eax
push edi
call dword [esi + 0x5c]
mov eax, 1
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.00498678
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
call fcn.004cd9a3
nop dword [eax]
or esp, esi
inc edx
add byte [esi], dl
inc edx
add byte [0x260042e6], bl
out 0x42, al
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527a80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5898bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00448f40
mov esi, eax
push str.SETUPDATA
push 0xd7
push dword [0x58d56c]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x42ee5e
push str.InitPackInfo_failed__exit
call fcn.0043a240
add esp, 4
push 0
push 4
push 0x5426fc
push 0
call fcn.004410b0
cmp eax, 6
jne 0x42edc9
push 1
push 0
push 0
lea ecx, [ebp - 0xd]
call fcn.0042c100
push eax
push 0x53ec60
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x42ef87
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str._sInitPackInfo:_d
push eax
call fcn.00409150
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x18], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x14]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 1
call fcn.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00417290
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42ee4c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.0043a240
mov eax, dword [esi]
add esp, 4
push str.bizhi.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x58d56c]
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x42ef65
push str.InitConfig_failed__exit
call fcn.0043a240
add esp, 4
push 0
push 4
push 0x5426fc
push 0
call fcn.004410b0
cmp eax, 6
jne 0x42eecc
push 1
push 0
push 0
lea ecx, [ebp - 0xd]
call fcn.0042c100
push eax
push 0x53ec60
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.004097e0
mov ecx, eax
test ecx, ecx
je 0x42ef91
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push str._sInitConfig:_d
push eax
call fcn.00409150
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x18], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x14]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 3
call fcn.0041dbd0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00417290
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42ee4c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitConfig_success
call fcn.0043a240
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
int3