Function at 0x10045430
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f83d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c4
mov eax, dword [0x1007b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6b0], ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x6b4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x410
lea eax, [ebp - 0x628]
mov edi, 0x14
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], eax
mov word [ebp - 0x658], ax
push 0x44
push eax
lea eax, [ebp - 0x69c]
mov byte [ebp - 4], 1
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov dword [ebp - 0x69c], 0x44
xorps xmm0, xmm0
lea ecx, [ebp - 0x658]
movups xmmword [ebp - 0x6ac], xmm0
call fcn.1000b920
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
test eax, eax
jne 0x10045544
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x10045799
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x10045589
cmp dword [ebp - 0x644], 8
lea eax, [ebp - 0x658]
push dword [ebp - 0x648]
cmovae eax, dword [ebp - 0x658]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push 0xffffffffffffffff
push 0x10067494
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0x20
push 0xffffffffffffffff
push str.QQPCMgr.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100455b0
mov eax, dword [ebp - 0x6b0]
sub ecx, edx
sar ecx, 1
lea edx, [ecx + 2]
test eax, eax
je 0x100455ed
mov ecx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x6b8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100455d7
sub ecx, dword [ebp - 0x6b8]
inc edx
sar ecx, 1
add edx, ecx
cmp edx, 0x208
jae 0x10045674
push 0xffffffffffffffff
push 0x1006a988
lea eax, [ebp - 0x628]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push 0x208
push eax
call esi
push 0xffffffffffffffff
push 0x1006a988
lea eax, [ebp - 0x628]
push 0x208
push eax
call esi
add esp, 0x30
cmp dword [ebp - 0x6b0], 0
je 0x10045674
push 0xffffffffffffffff
push 0x1006aa2c
lea eax, [ebp - 0x628]
push 0x208
push eax
call esi
push 0xffffffffffffffff
push dword [ebp - 0x6b0]
lea eax, [ebp - 0x628]
push 0x208
push eax
call esi
add esp, 0x20
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x69c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x628]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10045799
nop word [eax + eax]
mov edx, str.QQDOCTOR
lea ecx, [ebp - 0x6d0]
call fcn.1003e7c0
mov esi, eax
lea eax, [ebp - 0x640]
cmp eax, esi
je 0x1004570d
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x100456e4
inc eax
push eax
push dword [ebp - 0x640]
call fcn.10003020
xor eax, eax
mov dword [ebp - 0x62c], 7
push esi
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
call fcn.1000c340
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x10045729
inc eax
push eax
push dword [ebp - 0x6d0]
call fcn.10003020
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push 0xc8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x10045767
mov eax, edi
dec edi
test eax, eax
jne 0x100456b0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x6ac]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6b4], 1
call edi
push dword [ebp - 0x6a8]
call edi
test esi, esi
je 0x10045799
push esi
call edi
mov eax, dword [ebp - 0x644]
cmp eax, 8
jb 0x100457b1
inc eax
push eax
push dword [ebp - 0x658]
call fcn.10003020
mov ecx, dword [ebp - 0x62c]
xor eax, eax
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], 0
mov word [ebp - 0x658], ax
cmp ecx, 8
jb 0x100457e6
inc ecx
push ecx
push dword [ebp - 0x640]
call fcn.10003020
mov eax, dword [ebp - 0x6b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret