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

Disassembly:
mov eax, 0x10470
call fcn.004cd440
mov al, byte [esp + 0x1047c]
push ebx
push ebp
mov ebp, dword [esp + 0x10480]
mov ebx, ecx
push esi
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov dword [esp + 0x1c], esi
mov byte [ebx + 0xafa], al
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0x18], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test ebp, ebp
jne 0x42e165
push 0x106
lea ecx, [esp + 0x44]
push ecx
push 0
call eax
cmp eax, 0x104
ja 0x42e72e
lea eax, [esp + 0x40]
push 0x5c
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x42e72e
push 0x2e
push esi
call dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x42e72e
cmp dword [0x4fba64], 0
lea ebp, [esp + 0x40]
movq xmm0, qword [str..ahk]
movq qword [eax], xmm0
mov cx, word [0x4e8d64]
mov word [eax + 8], cx
mov dword [esp + 0x10488], ebp
jne 0x42e195
mov eax, ebp
push eax
call edi
cmp eax, 0xffffffff
jne 0x42e165
lea ebp, [esp + 0x270]
mov eax, ebp
mov dword [esp + 0x10488], ebp
push 0x4cfc30
push eax
call fcn.004660a0
mov edx, esi
mov edi, eax
add esp, 8
lea eax, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42e0a0
sub edx, eax
lea eax, [edi + 1]
sar edx, 1
add eax, edx
cmp eax, 0x105
ja 0x42e72e
lea eax, [edi + edi]
mov ecx, esi
sub eax, esi
lea edx, [esp + 0x270]
add edx, eax
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42e0d0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x270]
push eax
call edi
cmp eax, 0xffffffff
jne 0x42e165
movups xmm0, xmmword [0x4e8d68]
lea eax, [esp + 0x40]
push eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x4e8d78]
movups xmmword [esi + 0x10], xmm0
call edi
cmp eax, 0xffffffff
je 0x42e165
lea eax, [esp + 0x40]
push eax
push str._ms_its:_s::_docs_Welcome.htm_
lea eax, [esp + 0x488]
push 0x8000
push eax
call fcn.0042aa40
add esp, 0x10
lea eax, [esp + 0x40]
mov ecx, ebx
push 0
push 0
push 0
push 0
push 0x4e8dc8
push 0
push eax
lea eax, [esp + 0x49c]
push eax
push str.hh.exe
call fcn.0044f7c0
test eax, eax
jne 0x42e72e
cmp dword [0x4fba64], 0
jne 0x42e195
push 0
lea eax, [esp + 0x484]
push eax
push 0x8000
push ebp
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42e72e
jmp 0x42e2fe
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x480]
push 0x8000
push eax
push 0
call esi
test eax, eax
jne 0x42e1bf
push 0x8000
lea eax, [esp + 0x484]
push eax
push 0
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.NtQueryInformationProcess
mov ebp, eax
push str.ntdll.dll
mov dword [esp + 0x20], ebp
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 ebp
call eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
cmp word [eax + 0x40], 0
je 0x42e2f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push dword [eax + 0x44]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp edx, 1
jle 0x42e2e9
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x10]
cmp word [ecx + 0x40], 0
je 0x42e2e9
mov esi, 1
cmp edx, esi
jle 0x42e2e9
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
nop
mov edi, dword [eax + esi*4]
push 1
push 0x4e8de0
push edi
call ebp
add esp, 0xc
test eax, eax
je 0x42e285
push 1
push 0x4e8de4
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x42e292
mov eax, dword [esp + 0x14]
inc esi
cmp esi, dword [esp + 0x10]
jge 0x42e2e5
jmp 0x42e260
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x480]
jne 0x42e2ca
mov esi, dword [esp + 0x1c]
push 0x8000
push eax
push 0
call esi
test eax, eax
jne 0x42e2e1
push 0x8000
lea eax, [esp + 0x484]
push eax
push 0
call esi
jmp 0x42e2e1
push 0
push eax
push 0x8000
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x42e72e
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x10488]
cmp word [ebp], 0x2a
jne 0x42e329
cmp word [ebp + 2], 0
jne 0x42e329
mov byte [0x4fbaa6], 1
mov dword [0x4fba1c], 4
mov dword [0x4fa364], 1
jmp 0x42e34d
cmp dword [0x4fba64], 0
mov byte [0x4fbaa6], 0
jne 0x42e34d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x484]
call fcn.004b20e0
add esp, 4
cmp word [esp + 0x480], 0
je 0x42e3cc
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e362
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004adc50
mov edi, eax
test edi, edi
jne 0x42e3ae
lea eax, [esp + 0x480]
mov ecx, 0x4fdb90
push eax
push 0x4e3be8
call fcn.0044e970
mov dword [ebx + 0xae0], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
test esi, esi
je 0x42e3c4
push ebp
lea eax, [esp + 0x484]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + ebp], ax
jmp 0x42e3d1
mov edi, 0x4cfc30
lea eax, [esp + 0x480]
mov dword [ebx + 0xae0], edi
push 0x5c
push eax
call dword [esp + 0x28]
mov edi, eax
add esp, 8
test edi, edi
je 0x42e532
xor eax, eax
mov word [edi], ax
cmp word [esp + 0x480], ax
je 0x42e482
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e410
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x10], eax
call fcn.004adc50
mov ebp, eax
test ebp, ebp
jne 0x42e460
lea eax, [esp + 0x480]
mov ecx, 0x4fdb90
push eax
push 0x4e3be8
call fcn.0044e970
mov dword [ebx + 0xae4], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
test esi, esi
mov esi, dword [esp + 0x10]
je 0x42e47a
push esi
lea eax, [esp + 0x484]
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [esi + ebp], ax
jmp 0x42e487
mov ebp, 0x4cfc30
mov dword [ebx + 0xae4], ebp
add edi, 2
jne 0x42e539
mov ebp, 0x4cfc30
push 0x4e8de8
push ebp
mov eax, ebp
mov dword [ebx + 0xae8], eax
lea eax, [esp + 0x488]
push dword [ebx + 0xae4]
push str._s_s____s
push 0x8000
push eax
call fcn.004b0fe0
add esp, 0x18
cmp word [esp + 0x480], 0
je 0x42e5d5
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e4e2
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004adc50
mov edi, eax
test edi, edi
jne 0x42e5b7
lea eax, [esp + 0x480]
mov ecx, 0x4fdb90
push eax
push 0x4e3be8
call fcn.0044e970
mov dword [ebx + 0xaf4], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
lea edi, [esp + 0x480]
cmp word [edi], 0
je 0x42e496
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e550
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x10], eax
call fcn.004adc50
mov ebp, eax
test ebp, ebp
jne 0x42e599
push edi
push 0x4e3be8
mov ecx, 0x4fdb90
call fcn.0044e970
mov dword [ebx + 0xae8], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
test esi, esi
mov esi, dword [esp + 0x10]
je 0x42e5ac
push esi
push edi
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [esi + ebp], ax
jmp 0x42e49b
test esi, esi
je 0x42e5cd
push ebp
lea eax, [esp + 0x484]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + ebp], ax
jmp 0x42e5da
mov edi, 0x4cfc30
push 0x7ffe
lea eax, [esp + 0x486]
mov dword [ebx + 0xaf4], edi
push eax
mov esi, 0x22
push 0
mov word [esp + 0x48c], si
call dword [esp + 0x28]
test eax, eax
je 0x42e77b
lea ecx, [esp + 0x480]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e612
sub ecx, edx
sar ecx, 1
mov dword [esp + ecx*2 + 0x480], esi
cmp word [esp + 0x480], ax
je 0x42e6aa
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e640
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004adc50
mov edi, eax
test edi, edi
jne 0x42e68c
lea eax, [esp + 0x480]
mov ecx, 0x4fdb90
push eax
push 0x4e3be8
call fcn.0044e970
mov dword [ebx + 0xaec], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
test esi, esi
je 0x42e6a2
push ebp
lea eax, [esp + 0x484]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + ebp], ax
jmp 0x42e6af
mov edi, 0x4cfc30
lea eax, [esp + 0x480]
mov dword [ebx + 0xaec], edi
push 0x5c
push eax
call dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x42e6d4
mov dword [ebx + 0xaf0], 0x4cfc30
xor ecx, ecx
mov word [eax], cx
cmp word [esp + 0x482], cx
je 0x42e771
lea esi, [esp + 0x482]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e6f1
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004adc50
mov edi, eax
test edi, edi
jne 0x42e73d
lea eax, [esp + 0x482]
mov ecx, 0x4fdb90
push eax
push 0x4e3be8
call fcn.0044e970
mov dword [ebx + 0xaf0], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
test esi, esi
je 0x42e753
push ebp
lea eax, [esp + 0x486]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + ebp], ax
mov eax, 1
mov dword [ebx + 0xaf0], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov dword [ebx + 0xaf0], 0x4cfc30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10470
ret 0x14