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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ac
mov eax, dword [0x5ea6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005536e0
add esp, 0xc
push str.LdsSecurity.log
sub esp, 8
mov eax, esp
mov dword [eax], str.LdsSecurity
mov dword [eax + 4], 0xb
lea eax, [ebp - 0x224]
push eax
call fcn.004275f0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4734e6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x473534
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47352a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473ef1
push edx
push ecx
call fcn.0051238c
add esp, 8
push 0x597944
push 0x6400000
push 1
push 1
lea eax, [ebp - 0x20c]
push eax
call fcn.0047f4d0
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4736a2
push 0x47
push str.d:jenkins.jenkinsworkspacemgame_security_security_main_antiware.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040e990
push 0x1d
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.004080a0
mov esi, eax
push str.cmd:
push esi
call fcn.004062f0
test edi, edi
mov ecx, str._null_
cmovne ecx, edi
push ecx
push esi
call fcn.004062f0
add esp, 0x10
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00409700
mov edx, dword [ebp - 0x228]
cmp edx, 0x10
jb 0x47364d
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x473643
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473ef6
push edx
push ecx
call fcn.0051238c
add esp, 8
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
cmp edx, 0x10
jb 0x4736a2
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x473698
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473ef6
push edx
push ecx
call fcn.0051238c
add esp, 8
call fcn.00426c60
test al, al
jne 0x473791
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x473779
push 0x47
push str.d:jenkins.jenkinsworkspacemgame_security_security_main_antiware.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040e990
push 0x20
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.004080a0
mov esi, eax
push str.inst_epp_failed_3_times
push esi
call fcn.00409170
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00409700
lea ecx, [ebp - 0x224]
call fcn.00408b80
lea ecx, [ebp - 0x23c]
call fcn.00408b80
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00512634
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x26c]
call fcn.0048f5b0
push edi
lea ecx, [ebp - 0x224]
call fcn.0041a390
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0048fe00
lea ecx, [ebp - 0x224]
call fcn.00408bd0
lea eax, [ebp - 0x26c]
push eax
call fcn.0042bc00
add esp, 4
mov ebx, eax
push str.Global93A1DFA7_53F6_4360_BBA0_70CEE2FA3D8A
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x5f6840], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x473800
cmp eax, 5
jne 0x4738a8
cmp ebx, 2
je 0x4738a8
push 0
push 0x59c630
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x473892
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041a390
mov eax, dword [ebp - 0x214]
cmp dword [ebp - 0x210], 8
push 0
push 0x1388
lea eax, [eax*2 + 2]
mov dword [ebp - 0x230], 0x2715
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push 1
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x230]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea ecx, [ebp - 0x224]
call fcn.00408bd0
call fcn.0042dc80
push dword [0x5f6840]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x473ed1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x47399a
push dword [0x5f6840]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x47398c
push 0x47
push str.d:jenkins.jenkinsworkspacemgame_security_security_main_antiware.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040e990
push 0x40
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.004080a0
mov esi, eax
push str.will_adjust_privilege
push esi
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00409700
lea ecx, [ebp - 0x224]
call fcn.00408b80
lea ecx, [ebp - 0x23c]
call fcn.00408b80
push edi
call fcn.00425d70
add esp, 4
jmp 0x473ed1
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x473a64
push 0x47
push str.d:jenkins.jenkinsworkspacemgame_security_security_main_antiware.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040e990
push 0x46
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.004080a0
mov esi, eax
push str.run_in_admin
push esi
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00409700
lea ecx, [ebp - 0x224]
call fcn.00408b80
lea ecx, [ebp - 0x23c]
call fcn.00408b80
lea ecx, [ebp - 0x26c]
call fcn.0048fdf0
test eax, eax
je 0x473b46
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x473b41
push 0x47
push str.d:jenkins.jenkinsworkspacemgame_security_security_main_antiware.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040e990
push 0x49
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.004080a0
mov esi, eax
push str.run_computer_tray
push esi
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00409700
lea ecx, [ebp - 0x224]
call fcn.00408b80
lea ecx, [ebp - 0x23c]
call fcn.00408b80
call fcn.0042d120
push 0
push str.securitymain
lea ecx, [ebp - 0x2f1]
call fcn.00414b60
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x5f3414]
test al, 1
jne 0x473ba7
or eax, 1
mov dword [0x5f3414], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x596550
mov dword [0x5f3408], 0x59794c
mov dword [0x5f340c], eax
mov byte [0x5f3410], 0
call fcn.0051261f
mov eax, dword [0x5f3414]
add esp, 4
test al, 2
jne 0x473c03
or eax, 2
mov dword [0x5f3418], 0x597964
mov dword [0x5f3414], eax
xor eax, eax
push 0x596580
mov dword [0x5f341c], 0x5f3408
mov dword [0x5f342c], 2
mov dword [0x5f3424], 0
mov dword [0x5f3428], 0
mov dword [0x5f3430], eax
mov dword [0x5f3420], 0x5f3418
call fcn.0051261f
add esp, 4
mov eax, dword [0x5f3418]
mov ecx, 0x5f3418
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x2f8], eax
mov eax, str.http:__s.ludashi.com_pcsecurity_pidpidtypetypeactionactionappappappverappvermidmidmid2mid2modvermodver
test eax, 0xffff0000
jne 0x473c36
movzx eax, ax
push eax
call fcn.00412860
jmp 0x473c45
push 0x85
push str.http:__s.ludashi.com_pcsecurity_pidpidtypetypeactionactionappappappverappvermidmidmid2mid2modvermodver
call fcn.0040d340
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.0041f9a0
mov edx, dword [ebp - 0x2f8]
or edi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473c7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00428550
push dword [ebp - 0x2fc]
mov ecx, eax
push str.main
push 1
call fcn.00480130
push dword [ebp - 0x300]
call fcn.004a2330
lea eax, [ebp - 0x2f0]
push eax
call fcn.0049d9a0
add esp, 8
lea ecx, [ebp - 0x2f0]
push str.skin
call fcn.004a34f0
lea ecx, [ebp - 0x2f0]
call fcn.00438630
push eax
call fcn.004a25b0
push 1
push str.AntiMain.zip
call fcn.004a2670
push 0
call fcn.0043f210
add esp, 0x10
mov dword [ebp - 0x310], 1
lea eax, [ebp - 0x310]
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
push 0
push eax
lea eax, [ebp - 0x314]
push eax
call sub.gdiplus.dll_GdiplusStartup
push 0xeb0
call fcn.0051235c
add esp, 4
test eax, eax
je 0x473d3e
mov ecx, eax
call fcn.004502f0
mov esi, eax
jmp 0x473d40
xor esi, esi
cmp ebx, 2
jne 0x473e23
mov ecx, esi
call fcn.00466f80
mov ecx, esi
call fcn.00463640
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x473e83
push 0x47
push str.d:jenkins.jenkinsworkspacemgame_security_security_main_antiware.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040e990
push 0x6d
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.004080a0
mov esi, eax
push str.exit_as_stop_rtp
push esi
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.00409700
lea ecx, [ebp - 0x224]
call fcn.00408b80
lea ecx, [ebp - 0x23c]
call fcn.00408b80
jmp 0x473e83
call fcn.00428550
push 0
push str.operate
push 1
push 0
push 0x5a01b8
mov ecx, eax
call fcn.00480150
test ebx, ebx
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.004655d0
movaps xmm0, xmmword [0x59c500]
mov ecx, esi
push 0
sub esp, 0x10
mov eax, esp
push 0
push SysReAllocString
push 0x597944
push 0
movups xmmword [eax], xmm0
call fcn.004a4ce0
mov ecx, esi
call fcn.004a4d20
mov ecx, eax
call fcn.004a00e0
push dword [0x5f6840]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042dc80
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2f0]
call fcn.00408a60
mov edx, dword [ebp - 0x2fc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x473ec6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2f1]
call fcn.0040e150
lea ecx, [ebp - 0x26c]
call fcn.0048f680
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00512634
mov esp, ebp
pop ebp
ret 0x10
call fcn.00556b30
call fcn.00556b30
int3