Function at 0x42cd10
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10470
call fcn.004e88a0
mov al, byte [esp + 0x1047c]
push ebx
mov ebx, dword [esp + 0x1047c]
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp + 0xafa], al
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x42ceb6
push 0x106
lea ecx, [esp + 0x44]
push ecx
push 0
call eax
cmp eax, 0x104
ja 0x42cee1
lea eax, [esp + 0x40]
push 0x5c
push eax
call fcn.004cbcce
mov esi, eax
add esp, 8
test esi, esi
je 0x42cee1
push 0x2e
push esi
call fcn.004cbcce
add esp, 8
test eax, eax
je 0x42cee1
cmp dword [0x51eb44], 0
lea ebx, [esp + 0x40]
movq xmm0, qword [str..ahk]
movq qword [eax], xmm0
mov cx, word [0x50a760]
mov word [eax + 8], cx
mov dword [esp + 0x10488], ebx
jne 0x42cef0
mov eax, ebx
push eax
call edi
cmp eax, 0xffffffff
jne 0x42ceb6
lea ebx, [esp + 0x270]
mov eax, ebx
mov dword [esp + 0x10488], ebx
push 0x4f03e8
push eax
call fcn.00465a80
mov edx, esi
mov edi, eax
add esp, 8
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42cdf6
sub edx, eax
lea eax, [edi + 1]
sar edx, 1
add eax, edx
cmp eax, 0x105
ja 0x42cee1
lea eax, [edi + edi]
mov ecx, esi
sub eax, esi
lea edx, [esp + 0x270]
add edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42ce25
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x270]
push eax
call edi
cmp eax, 0xffffffff
jne 0x42ceb6
movups xmm0, xmmword [0x50a764]
lea eax, [esp + 0x40]
push eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x50a774]
movups xmmword [esi + 0x10], xmm0
call edi
cmp eax, 0xffffffff
je 0x42ceb6
lea eax, [esp + 0x40]
push eax
push str._ms_its:_s::_docs_Welcome.htm_
lea eax, [esp + 0x488]
push 0x8000
push eax
call fcn.004296b0
add esp, 0x10
lea eax, [esp + 0x40]
mov ecx, ebp
push 0
push 0
push 0
push 0
push 0x50a7c4
push 0
push eax
lea eax, [esp + 0x49c]
push eax
push str.hh.exe
call fcn.0044ec20
test eax, eax
jne 0x42cee1
cmp dword [0x51eb44], 0
jne 0x42cef0
push 0
lea eax, [esp + 0x484]
push eax
push 0x8000
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42d04e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x480]
push 0x8000
push eax
push 0
call edi
test eax, eax
jne 0x42cf1a
push 0x8000
lea eax, [esp + 0x484]
push eax
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.NtQueryInformationProcess
mov esi, eax
push str.ntdll.dll
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x24]
push ecx
push 0x18
lea ecx, [esp + 0x30]
push ecx
push 0
push esi
call eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
cmp word [eax + 0x40], 0
je 0x42d040
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push dword [eax + 0x44]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x42d039
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x10]
cmp word [ecx + 0x40], 0
je 0x42d039
mov esi, 1
cmp eax, esi
jle 0x42d035
mov edi, dword [ebx + esi*4]
push 1
push 0x50a7dc
push edi
call fcn.004d9d9e
add esp, 0xc
test eax, eax
je 0x42cfdd
push 1
push 0x50a7e0
push edi
call fcn.004d9d9e
add esp, 0xc
test eax, eax
jne 0x42cfe6
inc esi
cmp esi, dword [esp + 0x14]
jl 0x42cfb2
jmp 0x42d035
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x480]
jne 0x42d01e
mov edi, dword [esp + 0x1c]
push 0x8000
push eax
push 0
call edi
test eax, eax
jne 0x42d035
push 0x8000
lea eax, [esp + 0x484]
push eax
push 0
call edi
jmp 0x42d035
push 0
push eax
push 0x8000
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x42cee1
mov esi, dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10488]
cmp word [ebx], 0x2a
jne 0x42d078
cmp word [ebx + 2], 0
jne 0x42d078
mov byte [0x51eb8b], 1
mov dword [0x51eafc], 4
mov dword [0x51cbf4], 1
jmp 0x42d09c
cmp dword [0x51eb44], 0
mov byte [0x51eb8b], 0
jne 0x42d09c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x484]
call fcn.004b0820
add esp, 4
cmp word [esp + 0x480], 0
je 0x42d184
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d0b5
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea edi, [eax + 2]
mov dword [esp + 0x14], eax
lea eax, [edi - 1]
cmp eax, 0xffff
ja 0x42d154
cmp dword [0x5203c4], 0
jne 0x42d0f3
call fcn.004ac4d0
mov dword [0x5203c4], eax
test eax, eax
je 0x42d154
mov ecx, dword [0x5203c0]
cmp edi, dword [ecx + 8]
jbe 0x42d110
call fcn.004ac4d0
mov ecx, dword [0x5203c0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d154
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x5203bc], ebx
and eax, 3
je 0x42d125
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d154
test esi, esi
mov esi, dword [esp + 0x14]
je 0x42d14c
push esi
lea eax, [esp + 0x484]
push eax
push ebx
call fcn.004cc730
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x42d189
lea eax, [esp + 0x480]
mov ecx, 0x520c68
push eax
push 0x504378
call fcn.0044ddc0
mov dword [ebp + 0xae0], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov ebx, 0x4f03e8
lea eax, [esp + 0x480]
mov dword [ebp + 0xae0], ebx
push 0x5c
push eax
call fcn.004cbcce
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x42d2c8
xor eax, eax
mov word [ebp], ax
cmp word [esp + 0x480], ax
je 0x42d2b4
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d1d0
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea edi, [eax + 2]
mov dword [esp + 0x14], eax
lea eax, [edi - 1]
cmp eax, 0xffff
ja 0x42d280
cmp dword [0x5203c4], 0
jne 0x42d212
call fcn.004ac4d0
mov dword [0x5203c4], eax
test eax, eax
je 0x42d280
mov ecx, dword [0x5203c0]
cmp edi, dword [ecx + 8]
jbe 0x42d22f
call fcn.004ac4d0
mov ecx, dword [0x5203c0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d280
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x5203bc], ebx
and eax, 3
je 0x42d244
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d280
test esi, esi
mov esi, dword [esp + 0x14]
je 0x42d26b
push esi
lea eax, [esp + 0x484]
push eax
push ebx
call fcn.004cc730
add esp, 0xc
xor eax, eax
add ebp, 2
mov word [esi + ebx], ax
mov eax, dword [esp + 0x18]
mov dword [eax + 0xae4], ebx
jmp 0x42d2cf
lea eax, [esp + 0x480]
mov ecx, 0x520c68
push eax
push 0x504378
call fcn.0044ddc0
mov eax, dword [esp + 0x18]
mov dword [eax + 0xae4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov eax, dword [esp + 0x18]
mov ebx, 0x4f03e8
add ebp, 2
mov dword [eax + 0xae4], ebx
jmp 0x42d2cf
lea ebp, [esp + 0x480]
or edx, 0xffffffff
mov ecx, ebp
call fcn.004ac3f0
mov ebp, dword [esp + 0x18]
mov dword [ebp + 0xae8], eax
test eax, eax
je 0x42cee1
push 0x50a7e4
push eax
push dword [ebp + 0xae4]
lea eax, [esp + 0x48c]
push str._s_s____s
push 0x8000
push eax
call fcn.004af740
add esp, 0x18
cmp word [esp + 0x480], 0
je 0x42d3ff
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d330
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea edi, [eax + 2]
mov dword [esp + 0x18], eax
lea eax, [edi - 1]
cmp eax, 0xffff
ja 0x42d3cf
cmp dword [0x5203c4], 0
jne 0x42d36e
call fcn.004ac4d0
mov dword [0x5203c4], eax
test eax, eax
je 0x42d3cf
mov ecx, dword [0x5203c0]
cmp edi, dword [ecx + 8]
jbe 0x42d38b
call fcn.004ac4d0
mov ecx, dword [0x5203c0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d3cf
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x5203bc], ebx
and eax, 3
je 0x42d3a0
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d3cf
test esi, esi
mov esi, dword [esp + 0x18]
je 0x42d3c7
push esi
lea eax, [esp + 0x484]
push eax
push ebx
call fcn.004cc730
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x42d404
lea eax, [esp + 0x480]
mov ecx, 0x520c68
push eax
push 0x504378
call fcn.0044ddc0
mov dword [ebp + 0xaf4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov ebx, 0x4f03e8
push 0x7ffe
lea eax, [esp + 0x486]
mov dword [ebp + 0xaf4], ebx
push eax
mov esi, 0x22
push 0
mov word [esp + 0x48c], si
call dword [esp + 0x28]
test eax, eax
je 0x42d58c
lea ecx, [esp + 0x480]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d440
sub ecx, edx
sar ecx, 1
mov dword [esp + ecx*2 + 0x480], esi
cmp word [esp + 0x480], ax
je 0x42d53f
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d470
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea edi, [eax + 2]
mov dword [esp + 0x1c], eax
lea eax, [edi - 1]
cmp eax, 0xffff
ja 0x42d50f
cmp dword [0x5203c4], 0
jne 0x42d4ae
call fcn.004ac4d0
mov dword [0x5203c4], eax
test eax, eax
je 0x42d50f
mov ecx, dword [0x5203c0]
cmp edi, dword [ecx + 8]
jbe 0x42d4cb
call fcn.004ac4d0
mov ecx, dword [0x5203c0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d50f
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x5203bc], ebx
and eax, 3
je 0x42d4e0
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d50f
test esi, esi
mov esi, dword [esp + 0x1c]
je 0x42d507
push esi
lea eax, [esp + 0x484]
push eax
push ebx
call fcn.004cc730
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x42d544
lea eax, [esp + 0x480]
mov ecx, 0x520c68
push eax
push 0x504378
call fcn.0044ddc0
mov dword [ebp + 0xaec], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov ebx, 0x4f03e8
lea eax, [esp + 0x480]
mov dword [ebp + 0xaec], ebx
push 0x5c
push eax
call fcn.004cbcce
add esp, 8
test eax, eax
jne 0x42d56a
mov dword [ebp + 0xaf0], 0x4f03e8
xor ecx, ecx
or edx, 0xffffffff
mov word [eax], cx
lea ecx, [esp + 0x482]
call fcn.004ac3f0
mov dword [ebp + 0xaf0], eax
test eax, eax
je 0x42cee1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10470
ret 0x14