Function at 0x4c7eb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x59b92b
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
xor ebp, ebp
push eax
mov ecx, 0x5adcfc
mov dword [esp + 0x24], ebp
call fcn.00481430
lea ecx, [esp + 0x44]
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x12c], ebp
call fcn.00477950
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c7f2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.subpage
call fcn.00481430
lea edx, [esp + 0x18]
push edx
mov ecx, str.runtype
mov byte [esp + 0x12c], 3
call fcn.00481430
lea eax, [esp + 0x18]
mov byte [esp + 0x128], 4
mov esi, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00467a80
cmp esi, ebp
jne 0x4c7f77
xor ecx, ecx
jmp 0x4c7f8f
mov ecx, esi
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4c7f80
sub ecx, edi
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00480ff0
mov byte [esp + 0x128], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c7fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c7fe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.pageparam
call fcn.00481430
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
lea edx, [esp + 0x24]
push edx
add ecx, 8
push eax
mov byte [esp + 0x130], 5
call fcn.004c8a10
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x12c], 6
mov esi, dword [eax]
lea ecx, [esp + 0x4c]
call fcn.00467a80
cmp esi, ebp
jne 0x4c803a
xor ecx, ecx
jmp 0x4c804f
mov ecx, esi
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4c8040
sub ecx, edi
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00480ff0
mov byte [esp + 0x128], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c807f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c80a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x5add10
call fcn.00481430
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x5aeb14
mov byte [esp + 0x12c], 7
call fcn.00481430
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x134], 8
call fcn.00519620
mov byte [esp + 0x128], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x128], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c813d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0047f920
mov ebx, 0xc
mov byte [esp + 0x128], bl
cmp eax, ebp
mov ebp, dword [esp + 0x2c]
je 0x4c819e
mov esi, 1
cmp dword [eax + 0x24], esi
jg 0x4c819e
push esi
push str.KPageManager::_CreateNewPageProcess
push 0x1aa
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxktabpagemgr.h
lea ecx, [esp + 0xb0]
push ecx
call fcn.0047f220
push str.ck_W_T
mov byte [esp + 0x12c], 0xd
push eax
mov dword [esp + 0x28], esi
call fcn.0047f6e0
push ebp
push eax
call fcn.0047f6e0
add esp, 0x10
mov dword [esp + 0x128], ebx
test byte [esp + 0x20], 1
je 0x4c81be
and dword [esp + 0x20], 0xfffffffe
lea edx, [esp + 0xa0]
push edx
call fcn.0047eb40
mov byte [esp + 0x128], 0xb
mov eax, dword [0x5f9180]
test eax, eax
je 0x4c81d6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 0xe
lea esi, [esp + 0x30]
mov byte [esp + 0x128], bl
call fcn.004c84a0
mov byte [esp + 0x128], 0xf
mov eax, dword [eax]
push eax
push str.__s_
lea edi, [esp + 0x20]
call fcn.00481690
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8241
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0xc], 0
je 0x4c8259
push ebp
push 0x5aeb18
lea edi, [esp + 0x20]
call fcn.004815b0
add esp, 8
xor eax, eax
push 0x40
push eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], 0x44
call fcn.005695a0
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x4c82a3
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00477860
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test esi, esi
jne 0x4c82ca
xor ecx, ecx
jmp 0x4c82e5
mov ecx, esi
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4c82d0
sub ecx, edi
sar ecx, 1
js 0x4c8486
cmp ecx, dword [esi - 8]
jg 0x4c8486
test eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
jne 0x4c8400
call fcn.0047f920
test eax, eax
mov ebx, 0x10
mov byte [esp + 0x128], bl
je 0x4c835a
cmp dword [eax + 0x24], 4
jg 0x4c835a
push 4
push str.KPageManager::_CreateNewPageProcess
push 0x1bb
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxktabpagemgr.h
lea eax, [esp + 0xb0]
push eax
call fcn.0047f220
push 0x5b6808
mov byte [esp + 0x12c], 0x11
or dword [esp + 0x24], 2
push eax
call fcn.0047f6e0
push ebp
push eax
call fcn.0047f6e0
add esp, 0x10
mov dword [esp + 0x128], ebx
test byte [esp + 0x20], 2
je 0x4c8375
lea ecx, [esp + 0xa0]
push ecx
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x4c8385
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [esi - 0x10]
mov byte [esp + 0x128], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c83a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x128], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c83cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x12c], 0xffffffff
call fcn.004778e0
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 8
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esi - 0x10]
mov byte [esp + 0x128], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x128], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8467
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x12c], 0xffffffff
call fcn.004778e0
mov eax, 1
jmp 0x4c83e4
push 0x80070057
call fcn.00473d10
int3