Function at 0x404ab0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e551c
mov eax, dword fs:[0]
push eax
sub esp, 0x7f0
mov eax, dword [0x525060]
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 eax, dword [ebp + 8]
push str.ZZDS_InsClass
push 0
push 0
mov dword [ebp - 0x7cc], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404b32
push 0x51416c
push str.ZZDS_InsClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x404e9a
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x404e9a
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, 1
jle 0x404dc2
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor bl, bl
mov dword [ebp - 0x18], 0
mov bh, 1
mov word [ebp - 0x28], cx
lea esi, [ecx + 1]
cmp eax, esi
jle 0x404c09
nop dword [eax + eax]
push 0x51418c
push dword [edi + esi*4]
call fcn.004c5c63
add esp, 8
test eax, eax
jne 0x404b98
mov bl, 1
jmp 0x404bff
push 0x514194
push dword [edi + esi*4]
call fcn.004c5c63
add esp, 8
test eax, eax
jne 0x404be9
inc esi
cmp esi, dword [ebp - 0x2c]
jge 0x404bff
mov edx, dword [edi + esi*4]
lea ecx, [ebp - 0x7e4]
call fcn.00404990
push eax
lea ecx, [ebp - 0x28]
call fcn.00404ec0
mov eax, dword [ebp - 0x7d0]
cmp eax, 8
jb 0x404bff
inc eax
lea ecx, [ebp - 0x7e4]
push eax
push dword [ebp - 0x7e4]
call fcn.00401ed0
jmp 0x404bff
push 0x51419c
push dword [edi + esi*4]
call fcn.004c5c63
add esp, 8
neg eax
sbb al, al
and bh, al
inc esi
cmp esi, dword [ebp - 0x2c]
jl 0x404b80
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test bl, bl
je 0x404d99
cmp dword [ebp - 0x18], 0
je 0x404c32
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040bac0
test al, al
jne 0x404ca3
call fcn.00405100
lea eax, [ebp - 0x7e4]
push eax
call fcn.00405890
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x404c7e
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404c61
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401ed0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404fc0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7d0]
cmp eax, 8
jb 0x404ca3
inc eax
lea ecx, [ebp - 0x7e4]
push eax
push dword [ebp - 0x7e4]
call fcn.00401ed0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0040bac0
test al, al
jne 0x404d49
call fcn.00405100
lea eax, [ebp - 0x7fc]
push eax
call fcn.004057d0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x404d07
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404cea
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401ed0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404fc0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7e8]
cmp eax, 8
jb 0x404d2c
inc eax
lea ecx, [ebp - 0x7fc]
push eax
push dword [ebp - 0x7fc]
call fcn.00401ed0
xor eax, eax
mov dword [ebp - 0x7e8], 7
mov dword [ebp - 0x7ec], 0
mov word [ebp - 0x7fc], ax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
call fcn.00405100
add esp, 4
mov ecx, eax
call fcn.00405a00
test bh, bh
je 0x404d7b
sub esp, 8
call fcn.00405100
add esp, 4
mov ecx, eax
call fcn.00405e40
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404e9a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401ed0
jmp 0x404e9a
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404dae
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401ed0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 3
call fcn.00413b10
mov ecx, dword [ebp - 0x7cc]
add esp, 4
call fcn.00404860
push 0x794
lea eax, [ebp - 0x7c8]
push 0
push eax
call fcn.004c3b60
add esp, 0xc
lea ecx, [ebp - 0x7c8]
call fcn.00408cc0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0x100
push 0x10080000
push 0x51416c
push 0
lea ecx, [ebp - 0x7c8]
call fcn.00457290
lea ecx, [ebp - 0x7c8]
call fcn.00457120
lea ecx, [ebp - 0x7c8]
call fcn.00457730
call fcn.00413ad0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x7c8]
mov dword [ebp - method.CMainWnd.2.virtual_0], vtable.CMainWnd.2.0
mov dword [ebp - method.CXMLWnd.virtual_0], vtable.CMainWnd.5.0
mov dword [ebp - method.CMainWnd.1.virtual_0], vtable.CMainWnd.1.0
mov dword [ebp - method.DuiLib::WindowImplBase.1.virtual_0], vtable.CMainWnd.3.0
mov dword [ebp - method.CMainWnd.virtual_0], vtable.CMainWnd.0
mov dword [ebp - method.DuiLib::CActiveXFrameWnd.virtual_16], vtable.CMainWnd.4.0
call fcn.004088c0
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.00412614
mov esp, ebp
pop ebp
ret 0x10