Function at 0x42c6f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a4
push ebx
push esi
push edi
mov ecx, 0x56e210
call fcn.0040c310
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x53a4a4
push 0x103
push 0x578a5c
call ebx
add esp, 0x10
push str.360se_3.0
push 0x53a4a4
push 0x103
push 0x576be4
call ebx
add esp, 0x10
push 0x539174
push 0x53a4a4
push 0x103
push 0x576dec
call ebx
add esp, 0x10
call fcn.004521e0
push eax
push 0x53a4a4
push 0x103
push 0x576ff4
call ebx
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x53a4a4
push 0x103
push 0x5771fc
call ebx
mov esi, dword [ebp + 8]
add esp, 0x10
test esi, esi
je 0x42cc9d
mov eax, dword [esi]
test eax, eax
je 0x42c911
mov eax, dword [eax]
push eax
push str.0x_08x
push 0x103
push 0x577c24
call ebx
mov cx, word [0x56e1d0]
xor eax, eax
mov word [ebp - 0x3a4], cx
mov ecx, 0x81
lea edi, [ebp - 0x3a2]
lea edx, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov dword [ebp - 0x24], 0
stosw word es:[edi], ax
push edx
mov edx, dword [ecx + 0xc]
lea eax, [ebp - 0x3a4]
push 0x103
push eax
push edx
call fcn.0042d250
add esp, 0x20
test eax, eax
je 0x42c8e9
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x5ae]
mov word [ebp - 0x5b0], 0
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5b0]
push 0x104
lea ecx, [ebp - 0x3a4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea edx, [ebp - 0x5b0]
push edx
push 0x53a4a4
push 0x103
push 0x577814
call ebx
push 0x103
lea eax, [ebp - 0x3a4]
push 0x577a1c
push eax
call fcn.0043f930
add esp, 0x1c
lea ecx, [ebp - 0x3a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
jne 0x42c88d
lea edi, [ebp - 0x3a4]
push edi
push 0x53a4a4
push 0x103
push 0x577404
call ebx
add esp, 0x10
push edi
push 0x53a4a4
push 0x103
push 0x57760c
call ebx
mov edx, dword [ebp - 0x24]
add esp, 0x10
push edx
push str.0x_08x
push 0x103
push 0x577e2c
call ebx
mov eax, dword [ebp - 0x24]
add esp, 0x10
push eax
push str.0x_08x
push 0x103
push 0x578034
call ebx
add esp, 0x10
jmp 0x42c911
push str.unknown
push 0x103
push 0x577404
call ebx
add esp, 0xc
push str.unknown
push 0x103
push 0x57760c
call ebx
add esp, 0xc
mov eax, dword [esi + 4]
test eax, eax
je 0x42cc9d
mov ecx, dword [0x5391a0]
mov edx, 0x56e1d0
test edx, edx
mov dword [ebp - 0x1c], ecx
je 0x42c964
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c964
push edi
lea ecx, [ebp - 0x1c]
call fcn.00405040
test eax, eax
je 0x42c964
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x1c]
mov eax, ecx
mov esi, 0x56e1d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
mov ecx, dword [0x5391a0]
mov edx, 0x56e1d0
test edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
je 0x42c9b3
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c9b3
push edi
lea ecx, [ebp - 0x18]
call fcn.00405040
test eax, eax
je 0x42c9b3
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x18]
mov eax, ecx
mov esi, 0x56e1d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
mov ecx, dword [0x5391a0]
mov edx, 0x56e1d0
test edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ecx
je 0x42c9ff
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c9ff
push edi
lea ecx, [ebp - 0x10]
call fcn.00405040
test eax, eax
je 0x42c9ff
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, 0x56e1d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov eax, dword [0x5391a0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
push 0x64
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [esi + 4]
lea edx, [ebp - 0x1c]
push ecx
push edx
push eax
mov byte [ebp - 4], 4
call fcn.004d6de0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42ca81
push 7
push str.unknown
push 0x577404
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42ca81
mov edx, dword [ebp - 0x14]
push edx
push 0x103
push 0x57760c
call ebx
mov eax, dword [ebp - 0x20]
add esp, 0xc
push eax
push 0x53a4a4
push 0x103
push 0x578034
call ebx
add esp, 0x10
mov ecx, 0x578034
test ecx, ecx
jne 0x42ca8e
xor eax, eax
jmp 0x42ca99
push 0x578034
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x578034
push eax
lea ecx, [ebp - 0x10]
call fcn.004050a0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp eax, 1
jle 0x42cae8
lea ecx, [ebp - 0x10]
call fcn.00405240
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10]
push eax
call fcn.00405040
test eax, eax
je 0x42cae8
mov ecx, dword [esi + 4]
mov edi, dword [ebp - 0x10]
add esi, 0xc
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x87]
mov byte [ebp - 0x88], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
test eax, eax
mov dword [ebp + 8], eax
jne 0x42cb19
xor esi, esi
jmp 0x42cb4e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0051d7f0
mov ecx, dword [ebp + 8]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
lea edx, [ebp - 0x88]
push 0x63
push edx
push eax
push esi
call fcn.00452470
lea eax, [ebp - 0x88]
add esp, 0x10
test eax, eax
jne 0x42cb72
xor edi, edi
jmp 0x42cbab
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0051d7f0
mov edi, esp
push esi
push edi
lea edx, [ebp - 0x88]
push 0xffffffffffffffff
push edx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0x53a4a4
push 0x103
push 0x57823c
call fcn.0042e050
mov eax, dword [ebp - 0x20]
mov edx, dword [0x539120]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cbf2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cbf2
mov edx, dword [ebp - 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.0051d79a
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x539120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cc1b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cc1b
mov edx, dword [ebp - 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0051d79a
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x539120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cc44
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cc44
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0051d79a
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x539120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cc6d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cc6d
mov edx, dword [ebp - 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.0051d79a
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x539120]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cc9d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cc9d
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff4
push edx
call fcn.0051d79a
add esp, 4
mov ecx, 0x45
xor eax, eax
lea edi, [ebp - 0x19c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42ccf7
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x188]
push ecx
mov ecx, dword [ebp - 0x198]
push edx
push eax
push ecx
push str._d._d._d__s
push 0x103
push 0x578444
call ebx
add esp, 0x1c
push 0x104
push 0x57864c
call fcn.004c1680
add esp, 8
mov ecx, 0x56e210
push 0
push str.user.dat
call fcn.0040c500
push eax
push 0x53a4a4
push 0x103
push 0x578854
call ebx
mov ecx, dword [ebp - 0xc]
add esp, 0x10
lea esp, [ebp - 0x5bc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret