Function at 0x42c2e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a4
push ebx
push esi
push edi
mov ecx, 0x56d188
call fcn.0040c0a0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x5394a4
push 0x103
push 0x5779d4
call ebx
add esp, 0x10
push str.360se_3.0
push 0x5394a4
push 0x103
push 0x575b5c
call ebx
add esp, 0x10
push str.4.1
push 0x5394a4
push 0x103
push 0x575d64
call ebx
add esp, 0x10
call fcn.00451c70
push eax
push 0x5394a4
push 0x103
push 0x575f6c
call ebx
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x5394a4
push 0x103
push 0x576174
call ebx
mov esi, dword [ebp + 8]
add esp, 0x10
test esi, esi
je 0x42c88d
mov eax, dword [esi]
test eax, eax
je 0x42c501
mov eax, dword [eax]
push eax
push str.0x_08x
push 0x103
push 0x576b9c
call ebx
mov cx, word [0x56d150]
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.0042ce40
add esp, 0x20
test eax, eax
je 0x42c4d9
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 0x5394a4
push 0x103
push 0x57678c
call ebx
push 0x103
lea eax, [ebp - 0x3a4]
push 0x576994
push eax
call fcn.0043f420
add esp, 0x1c
lea ecx, [ebp - 0x3a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
jne 0x42c47d
lea edi, [ebp - 0x3a4]
push edi
push 0x5394a4
push 0x103
push 0x57637c
call ebx
add esp, 0x10
push edi
push 0x5394a4
push 0x103
push 0x576584
call ebx
mov edx, dword [ebp - 0x24]
add esp, 0x10
push edx
push str.0x_08x
push 0x103
push 0x576da4
call ebx
mov eax, dword [ebp - 0x24]
add esp, 0x10
push eax
push str.0x_08x
push 0x103
push 0x576fac
call ebx
add esp, 0x10
jmp 0x42c501
push str.unknown
push 0x103
push 0x57637c
call ebx
add esp, 0xc
push str.unknown
push 0x103
push 0x576584
call ebx
add esp, 0xc
mov eax, dword [esi + 4]
test eax, eax
je 0x42c88d
mov ecx, dword [0x5381a0]
mov edx, 0x56d150
test edx, edx
mov dword [ebp - 0x1c], ecx
je 0x42c554
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c554
push edi
lea ecx, [ebp - 0x1c]
call fcn.00405010
test eax, eax
je 0x42c554
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x1c]
mov eax, ecx
mov esi, 0x56d150
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 [0x5381a0]
mov edx, 0x56d150
test edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
je 0x42c5a3
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c5a3
push edi
lea ecx, [ebp - 0x18]
call fcn.00405010
test eax, eax
je 0x42c5a3
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x18]
mov eax, ecx
mov esi, 0x56d150
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 [0x5381a0]
mov edx, 0x56d150
test edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ecx
je 0x42c5ef
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42c5ef
push edi
lea ecx, [ebp - 0x10]
call fcn.00405010
test eax, eax
je 0x42c5ef
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, 0x56d150
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 [0x5381a0]
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.004d66c0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c671
push 7
push str.unknown
push 0x57637c
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42c671
mov edx, dword [ebp - 0x14]
push edx
push 0x103
push 0x576584
call ebx
mov eax, dword [ebp - 0x20]
add esp, 0xc
push eax
push 0x5394a4
push 0x103
push 0x576fac
call ebx
add esp, 0x10
mov ecx, 0x576fac
test ecx, ecx
jne 0x42c67e
xor eax, eax
jmp 0x42c689
push 0x576fac
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x576fac
push eax
lea ecx, [ebp - 0x10]
call fcn.00405070
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp eax, 1
jle 0x42c6d8
lea ecx, [ebp - 0x10]
call fcn.00405210
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10]
push eax
call fcn.00405010
test eax, eax
je 0x42c6d8
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 0x42c709
xor esi, esi
jmp 0x42c73e
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.0051d1f0
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.00451f00
lea eax, [ebp - 0x88]
add esp, 0x10
test eax, eax
jne 0x42c762
xor edi, edi
jmp 0x42c79b
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.0051d1f0
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 0x5394a4
push 0x103
push 0x5771b4
call fcn.0042dc40
mov eax, dword [ebp - 0x20]
mov edx, dword [0x538120]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c7e2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42c7e2
mov edx, dword [ebp - 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.0051d19a
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x538120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c80b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42c80b
mov edx, dword [ebp - 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0051d19a
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x538120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c834
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42c834
mov edx, dword [ebp - 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0051d19a
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [0x538120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c85d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42c85d
mov edx, dword [ebp - 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.0051d19a
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x538120]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42c88d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42c88d
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff4
push edx
call fcn.0051d19a
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 0x42c8e7
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 0x5773bc
call ebx
add esp, 0x1c
push 0x104
push 0x5775c4
call fcn.004c0f80
add esp, 8
mov ecx, 0x56d188
push 0
push str.user.dat
call fcn.0040c290
push eax
push 0x5394a4
push 0x103
push 0x5777cc
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