Function at 0x407710
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4b8fe3
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4e1370]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x44], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x110], ebx
mov edi, dword [0x4e875c]
lea eax, [esp + 0x44]
add edi, 0x10
push edi
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x4e8ab0]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call fcn.00409350
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0047c012
push ecx
mov ecx, esp
mov byte [esp + 0x114], 1
mov dword [esp + 0x18], esp
push ecx
mov ecx, str._silent_scan
call fcn.00405a20
lea edx, [esp + 0x2c]
push edx
call fcn.0047c8cd
cmp eax, ebx
je 0x40782e
call fcn.004484d0
mov esi, eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x407812
push ecx
mov eax, esp
mov dword [eax], ebx
push ecx
mov eax, esp
add esi, 4
mov dword [eax], ebx
call fcn.00448650
call fcn.004460e0
mov ecx, eax
call fcn.00446300
lea edi, [esp + 0x44]
call fcn.00409290
mov esi, eax
jmp 0x407a38
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov ecx, str._baimingdan
call fcn.00405a20
lea edx, [esp + 0x2c]
push edx
call fcn.0047c8cd
cmp eax, ebx
je 0x40789b
lea eax, [esp + 0x28]
push eax
call fcn.004074d0
add esp, 4
lea esi, [esp + 0x28]
mov edi, eax
call fcn.00406d70
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x40787b
push eax
call fcn.00490c9e
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
cmp eax, ebx
je 0x407894
push eax
call fcn.00490c9e
add esp, 4
mov eax, edi
jmp 0x407ab5
push 0xa
push ecx
xor eax, eax
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, str._Left
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00405a20
lea edx, [esp + 0x30]
push edx
call fcn.00407eb0
push 0xa
push ecx
mov dword [esp + 0x20], eax
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str._Top
call fcn.00405a20
lea ecx, [esp + 0x30]
push ecx
call fcn.00407eb0
mov ecx, dword [0x4e8be4]
mov edx, ecx
imul ecx, ecx, 0x262
imul edx, edx, 0x398
mov esi, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [esp + 0x18]
push 0xa
mov dword [esp + 0x24], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, esi
push ecx
mov edx, esp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], esp
push edx
mov ecx, str._SoftMgrWnd
mov dword [esp + 0x28], esi
call fcn.00405a20
lea eax, [esp + 0x30]
push eax
call fcn.00407eb0
mov esi, eax
xor ebp, ebp
mov edi, 0x86000000
test esi, esi
je 0x40797f
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40797f
mov dword [0x4e8c08], esi
mov ebp, esi
mov edi, 0x46000000
mov ebx, 0x80
lea ecx, [esp + 0x7c]
push ecx
call fcn.004066e0
push ecx
mov eax, esp
mov byte [esp + 0x114], 2
mov dword [esp + 0x18], esp
push ebx
push ecx
mov dword [eax], 0
mov eax, esp
lea edx, [esp + 0x24]
mov dword [eax], edx
mov dword [esp + 0x20], esp
mov eax, edi
push ebp
lea edi, [esp + 0xb8]
call fcn.00407d20
test eax, eax
je 0x407a19
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x7c]
mov dword [0x4e8bf0], edx
mov dword [0x4e8c0c], eax
test ebp, ebp
je 0x4079fc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub esi, ecx
push esi
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x407a09
lea edx, [esp + 0xac]
push edx
call fcn.00409020
mov eax, dword [esp + 0xac]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esp + 0x44]
call fcn.00409290
lea ecx, [esp + 0x7c]
push ecx
mov esi, eax
mov byte [esp + 0x114], 1
call fcn.004067b0
xor ebx, ebx
call fcn.00408f80
mov byte [esp + 0x110], 0
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x407a65
mov ebx, dword [esp + 0x30]
call fcn.00406fe0
mov edx, dword [esp + 0x2c]
push edx
call fcn.00490c9e
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x407a9a
push eax
call fcn.00490c9e
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
cmp eax, ebx
je 0x407ab3
push eax
call fcn.00490c9e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0049021b
add esp, 0x100
ret