Function at 0x1002ff70
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011ad70
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101684dc]
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 edi, ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jne 0x1003061b
mov esi, dword [edi + 0x28]
push 0
push eax
push ecx
push ebx
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.1002f7d0
mov dword [edi + 0x28], esi
test eax, eax
jne 0x10030031
mov eax, dword [ebp + 0xc]
cmp eax, 0x47
jne 0x1003003b
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0xa8]
add eax, 0x198
push eax
mov eax, dword [ebp - 0x20]
add eax, 0xf7
push eax
call fcn.10021190
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0x178]
add eax, 0x1c0
push eax
mov eax, dword [ebp - 0x20]
add eax, 0xf7
push eax
call fcn.10021190
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0
mov eax, 1
jmp 0x1003061d
cmp eax, 0x8c8d
jne 0x10030065
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push dword [ebp - 0x28]
push ebx
push 0x8c8d
call fcn.1002de40
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, 1
jmp 0x1003061d
cmp eax, 0x1400
jne 0x100300c6
call fcn.10023f20
mov ecx, eax
call fcn.1001be20
test eax, eax
jne 0x10030028
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x10030096
push 9
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100300aa
push 5
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [ecx], 0
jmp 0x1003061d
cmp eax, 0x464
jne 0x1003021a
test ebx, ebx
jne 0x10030180
call fcn.10023f20
mov ecx, eax
call fcn.1001be20
test eax, eax
je 0x10030109
push 1
mov ecx, edi
call fcn.1002ee70
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 1]
mov dword [edi + 0x254], 1
mov dword [ecx], ebx
jmp 0x1003061d
cmp dword [edi + 0x74], 0
je 0x10030163
cmp dword [edi + 0x80], 0
je 0x10030163
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10030163
cmp dword [edi + 0x7c], 0
je 0x10030163
mov eax, dword [ecx]
push 1
push 1
push ecx
call dword [eax + 0x20]
mov eax, dword [edi + 0x74]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push 0
lea ecx, [edi + 0xa8]
call fcn.100211c0
push 0
lea ecx, [edi + 0x178]
call fcn.100211c0
mov eax, dword [edi + 0x7c]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [edi + 0x254], 1
mov dword [ecx], 0
jmp 0x1003061d
cmp ebx, 1
jne 0x100301da
call fcn.10023f20
mov ecx, eax
call fcn.1001be20
mov ecx, edi
push 2
test eax, eax
je 0x100301b8
call fcn.1002ee70
mov ecx, dword [ebp - 0x24]
mov eax, ebx
mov dword [edi + 0x254], 2
mov dword [ecx], 0
jmp 0x1003061d
call fcn.1002f190
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [edi + 0x254], 2
mov dword [ecx], 0
jmp 0x1003061d
cmp ebx, 2
jne 0x10030028
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.10037460
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, edi
call fcn.1002ece0
push 1
mov ecx, edi
call fcn.1002ea80
mov ecx, dword [ebp - 0x24]
lea eax, [ebx - 1]
mov dword [ecx], 0
jmp 0x1003061d
cmp eax, 0x10
jne 0x10030255
cmp dword [edi + 0x254], 1
mov dword [edi + 0x70], 1
je 0x10030238
push 0
mov ecx, edi
call fcn.1002ea80
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0
cmp dword [edi + 0x70], 0
je 0x1003061b
mov eax, 1
jmp 0x1003061d
cmp eax, 0x111
jne 0x10030559
movzx eax, bx
mov ecx, 0x3e8
cmp cx, ax
jne 0x1003028f
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push ecx
shr ebx, 0x10
mov ecx, edi
push ebx
call fcn.1002dad0
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, 1
jmp 0x1003061d
mov ecx, 0x3f1
cmp cx, ax
jne 0x100302a3
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push ecx
jmp 0x10030275
mov ecx, 0x3ed
cmp cx, ax
jne 0x100302cf
lea eax, [ebp - 0x2c]
shr ebx, 0x10
push eax
push dword [ebp - 0x28]
push ecx
push ebx
mov ecx, edi
call fcn.1002d740
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, 1
jmp 0x1003061d
mov ecx, 0x3ee
cmp cx, ax
jne 0x100302f7
push 6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [ecx], 0
jmp 0x1003061d
mov ecx, 0x3f6
cmp cx, ax
jne 0x10030323
lea eax, [ebp - 0x2c]
shr ebx, 0x10
push eax
push dword [ebp - 0x28]
push ecx
push ebx
mov ecx, edi
call fcn.1002d540
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, 1
jmp 0x1003061d
mov ecx, 0x3f7
cmp cx, ax
jne 0x1003034f
lea eax, [ebp - 0x2c]
shr ebx, 0x10
push eax
push dword [ebp - 0x28]
push ecx
push ebx
mov ecx, edi
call fcn.1002d540
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, 1
jmp 0x1003061d
mov ecx, 0x3f9
cmp cx, ax
jne 0x10030410
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0xa8]
call fcn.10020530
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 4
cmp dword [eax - 4], 1
jle 0x1003038a
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
call fcn.10004fc0
mov eax, dword [ebp - 0x2c]
push eax
push dword [edi + 4]
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x84]
call fcn.10028830
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 5
cmp dword [eax - 0xc], 0
je 0x100303bc
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0xa8]
call fcn.10021160
mov eax, dword [ebp - 0x30]
or esi, 0xffffffff
mov byte [ebp - 4], 4
lea edx, [eax - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100303da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10030028
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [ecx], 0
jmp 0x1003061d
mov ecx, 0x3fa
cmp cx, ax
jne 0x100304a3
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x178]
call fcn.10020320
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 6
cmp dword [eax - 4], 1
jle 0x1003044b
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.10004fc0
mov eax, dword [ebp - 0x28]
push eax
push dword [edi + 4]
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x248]
call fcn.1001ec90
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp dword [eax - 0xc], 0
je 0x1003047d
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x178]
call fcn.10021130
mov eax, dword [ebp - 0x34]
or esi, 0xffffffff
mov byte [ebp - 4], 6
lea edx, [eax - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003049b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
jmp 0x100303dd
mov ecx, 0x3e9
cmp cx, ax
jne 0x100304d8
push 1
push 0
push 0
push str.https:__www.ludashi.com_licence.html
push 0x10128354
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [ecx], 0
jmp 0x1003061d
mov ecx, 0x3f2
cmp cx, ax
jne 0x1003050d
push 1
push 0
push 0
push str.http:__www.ludashi.com_cms_page_protocol.html
push 0x10128354
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [ecx], 0
jmp 0x1003061d
mov ecx, 0x3f3
cmp cx, ax
jne 0x1003061b
push 4
call fcn.10023f20
mov ecx, eax
call fcn.1001dbb0
lea ecx, [edi + 0x9c]
call fcn.10028110
push 0
push 2
push 0x464
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x24]
mov eax, 1
mov dword [ecx], 0
jmp 0x1003061d
cmp eax, 0x21
jne 0x10030573
push dword [edi + 4]
mov dword [edi + 0x70], 1
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10030238
cmp eax, 0x112
jne 0x1003061b
mov dword [edi + 0x70], 1
cmp ebx, 0xf120
jne 0x10030601
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100305a7
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x10030608
push 9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x254]
test eax, eax
jne 0x100305ce
mov eax, dword [edi + 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [edi + 0x254]
cmp eax, 3
jne 0x100305db
mov eax, dword [edi + 0x80]
jmp 0x100305ed
cmp eax, 1
jne 0x100305e5
mov eax, dword [edi + 0x78]
jmp 0x100305ed
cmp eax, 2
jne 0x100305f6
mov eax, dword [edi + 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x108]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x10030608
mov dword [edi + 0x70], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0
cmp dword [edi + 0x70], 0
jne 0x10030031
xor eax, eax
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.10067be8
mov esp, ebp
pop ebp
ret 0x18