Function at 0x424df0
Capabilities:
Accept command line arguments
Check if file exists
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49aa32
mov eax, dword fs:[0]
push eax
sub esp, 0xd2c
mov eax, dword [0x4cb070]
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 ebx, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x44], 2
jne 0x424f61
mov edx, dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x424e78
xor ecx, ecx
jmp 0x424e8f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424e80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040a9c0
push 0xe
push 0
push str._INFODATAFILE
lea ecx, [ebp - 0x40]
call fcn.00402c50
test eax, eax
jne 0x424f4c
push 0xffffffffffffffff
push str._INFODATAFILE
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402a40
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x424f07
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x424eea
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040aba0
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.0040a380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x424f23
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040aba0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424f4c
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x424f61
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040aba0
push str.ZZDS_pdfPrint
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425006
push 0x4aed50
push str.ZZDS_pdfPrint
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x424fff
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp - 0x18], 0
je 0x424fff
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x5c]
call fcn.00446080
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
cmp dword [ebp - 0x48], 0x10
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x4a
push esi
mov dword [ebp - 0x34], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x424fff
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00401820
xor esi, esi
jmp 0x42514c
lea ecx, [ebp - 0x30]
call fcn.0040c520
mov ecx, dword [eax]
call fcn.0040c760
mov dword [ebp - 4], 1
or edi, 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x425045
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x425045
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x425045
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xd38]
mov dword [ebp - 4], 0xffffffff
call fcn.00417ad0
mov esi, dword [eax]
mov ecx, esi
call fcn.0041a540
mov ecx, esi
call fcn.0041ae30
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0xd34]
test esi, esi
je 0x425096
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x425096
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x425096
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
add esp, 4
call fcn.00424cd0
push 0xccc
lea eax, [ebp - 0xd30]
push 0
push eax
call fcn.00474730
add esp, 0xc
lea ecx, [ebp - 0xd30]
call fcn.00431010
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0x110
push 0x10cf0000
push 0x4aed50
push 0
lea ecx, [ebp - 0xd30]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 0x65
lea ecx, [ebp - 0xd30]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0xd30]
je 0x425125
lea eax, [ebp - 0x28]
push eax
call fcn.004369e0
jmp 0x42512a
call fcn.00436f90
lea ecx, [ebp - 0xd30]
call dword [sym.imp.DuiLib.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0xd30]
mov esi, 1
call fcn.00431170
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x425161
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040aba0
mov eax, esi
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.00459a5d
mov esp, ebp
pop ebp
ret 0x10