Function at 0x42c6e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f4b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a4
push ebx
push esi
push edi
mov ecx, 0x571210
call fcn.0040c0f0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x53d4a4
push 0x103
push 0x57ba5c
call ebx
push str.360se_3.0
push 0x53d4a4
push 0x103
push 0x579be4
call ebx
push str.4.1
push 0x53d4a4
push 0x103
push 0x579dec
call ebx
call fcn.004525e0
push eax
push 0x53d4a4
push 0x103
push 0x579ff4
call ebx
add esp, 0x40
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x53d4a4
push 0x103
push 0x57a1fc
call ebx
mov esi, dword [ebp + 8]
add esp, 0x10
test esi, esi
je 0x42cc75
mov eax, dword [esi]
test eax, eax
je 0x42c8ec
mov eax, dword [eax]
push eax
push str.0x_08x
push 0x103
push 0x57ac24
call ebx
mov cx, word [0x5711d0]
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.0042d220
add esp, 0x20
test eax, eax
je 0x42c8c7
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 0x53d4a4
push 0x103
push 0x57a814
call ebx
push 0x103
lea eax, [ebp - 0x3a4]
push 0x57aa1c
push eax
call fcn.0043fa10
add esp, 0x1c
lea ecx, [ebp - 0x3a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
jne 0x42c874
lea edi, [ebp - 0x3a4]
push edi
push 0x53d4a4
push 0x103
push 0x57a404
call ebx
push edi
push 0x53d4a4
push 0x103
push 0x57a60c
call ebx
mov edx, dword [ebp - 0x24]
push edx
push str.0x_08x
push 0x103
push 0x57ae2c
call ebx
mov eax, dword [ebp - 0x24]
push eax
push str.0x_08x
push 0x103
push 0x57b034
call ebx
add esp, 0x40
jmp 0x42c8ec
push str.unknown
push 0x103
push 0x57a404
call ebx
push str.unknown
push 0x103
push 0x57a60c
call ebx
add esp, 0x18
mov eax, dword [esi + 4]
test eax, eax
je 0x42cc75
mov ecx, dword [0x53c1a0]
mov edx, 0x5711d0
test edx, edx
mov dword [ebp - 0x1c], ecx
je 0x42c93f
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c93f
push edi
lea ecx, [ebp - 0x1c]
call fcn.00405040
test eax, eax
je 0x42c93f
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x1c]
mov eax, ecx
mov esi, 0x5711d0
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 [0x53c1a0]
mov edx, 0x5711d0
test edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
je 0x42c98e
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c98e
push edi
lea ecx, [ebp - 0x18]
call fcn.00405040
test eax, eax
je 0x42c98e
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x18]
mov eax, ecx
mov esi, 0x5711d0
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 [0x53c1a0]
mov edx, 0x5711d0
test edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ecx
je 0x42c9da
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c9da
push edi
lea ecx, [ebp - 0x10]
call fcn.00405040
test eax, eax
je 0x42c9da
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, 0x5711d0
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 [0x53c1a0]
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.004d73e0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42ca59
push 7
push str.unknown
push 0x57a404
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42ca59
mov edx, dword [ebp - 0x14]
push edx
push 0x103
push 0x57a60c
call ebx
mov eax, dword [ebp - 0x20]
push eax
push 0x53d4a4
push 0x103
push 0x57b034
call ebx
add esp, 0x1c
mov ecx, 0x57b034
test ecx, ecx
jne 0x42ca66
xor eax, eax
jmp 0x42ca71
push 0x57b034
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x57b034
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 0x42cac0
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 0x42cac0
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 0x42caf1
xor esi, esi
jmp 0x42cb26
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.0051e250
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.00452870
lea eax, [ebp - 0x88]
add esp, 0x10
test eax, eax
jne 0x42cb4a
xor edi, edi
jmp 0x42cb83
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.0051e250
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 0x53d4a4
push 0x103
push 0x57b23c
call fcn.0042e020
mov eax, dword [ebp - 0x20]
mov edx, dword [0x53c120]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cbca
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cbca
mov edx, dword [ebp - 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.0051e1fa
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x53c120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cbf3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cbf3
mov edx, dword [ebp - 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0051e1fa
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x53c120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cc1c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cc1c
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0051e1fa
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x53c120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cc45
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cc45
mov edx, dword [ebp - 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.0051e1fa
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x53c120]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cc75
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42cc75
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff4
push edx
call fcn.0051e1fa
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 0x42cccf
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 0x57b444
call ebx
add esp, 0x1c
push 0x104
push 0x57b64c
call fcn.004c1c70
add esp, 8
mov ecx, 0x571210
push 0
push str.user.dat
call fcn.0040c2e0
push eax
push 0x53d4a4
push 0x103
push 0x57b854
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