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

Disassembly:
mov eax, 0x10470
call fcn.004cdac0
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 0x42e255
push 0x106
lea ecx, [esp + 0x44]
push ecx
push 0
call eax
cmp eax, 0x104
ja 0x42e81e
lea eax, [esp + 0x40]
push 0x5c
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x42e81e
push 0x2e
push esi
call dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x42e81e
cmp dword [0x4fba54], 0
lea ebp, [esp + 0x40]
movq xmm0, qword [str..ahk]
movq qword [eax], xmm0
mov cx, word [0x4e8d68]
mov word [eax + 8], cx
mov dword [esp + 0x10488], ebp
jne 0x42e285
mov eax, ebp
push eax
call edi
cmp eax, 0xffffffff
jne 0x42e255
lea ebp, [esp + 0x270]
mov eax, ebp
mov dword [esp + 0x10488], ebp
push 0x4cfc40
push eax
call fcn.00466430
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 0x42e190
sub edx, eax
lea eax, [edi + 1]
sar edx, 1
add eax, edx
cmp eax, 0x105
ja 0x42e81e
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 0x42e1c0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x270]
push eax
call edi
cmp eax, 0xffffffff
jne 0x42e255
movups xmm0, xmmword [0x4e8d6c]
lea eax, [esp + 0x40]
push eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x4e8d7c]
movups xmmword [esi + 0x10], xmm0
call edi
cmp eax, 0xffffffff
je 0x42e255
lea eax, [esp + 0x40]
push eax
push str._ms_its:_s::_docs_Welcome.htm_
lea eax, [esp + 0x488]
push 0x8000
push eax
call fcn.0042ab10
add esp, 0x10
lea eax, [esp + 0x40]
mov ecx, ebx
push 0
push 0
push 0
push 0
push 0x4e8dcc
push 0
push eax
lea eax, [esp + 0x49c]
push eax
push str.hh.exe
call fcn.0044fb00
test eax, eax
jne 0x42e81e
cmp dword [0x4fba54], 0
jne 0x42e285
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 0x42e81e
jmp 0x42e3ee
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x480]
push 0x8000
push eax
push 0
call esi
test eax, eax
jne 0x42e2af
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 0x42e3e0
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 0x42e3d9
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x10]
cmp word [ecx + 0x40], 0
je 0x42e3d9
mov esi, 1
cmp edx, esi
jle 0x42e3d9
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 0x4e8de4
push edi
call ebp
add esp, 0xc
test eax, eax
je 0x42e375
push 1
push 0x4e8de8
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x42e382
mov eax, dword [esp + 0x14]
inc esi
cmp esi, dword [esp + 0x10]
jge 0x42e3d5
jmp 0x42e350
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x480]
jne 0x42e3ba
mov esi, dword [esp + 0x1c]
push 0x8000
push eax
push 0
call esi
test eax, eax
jne 0x42e3d1
push 0x8000
lea eax, [esp + 0x484]
push eax
push 0
call esi
jmp 0x42e3d1
push 0
push eax
push 0x8000
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x42e81e
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 0x42e419
cmp word [ebp + 2], 0
jne 0x42e419
mov byte [0x4fba9b], 1
mov dword [0x4fba0c], 4
mov dword [0x4fa35c], 1
jmp 0x42e43d
cmp dword [0x4fba54], 0
mov byte [0x4fba9b], 0
jne 0x42e43d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x484]
call fcn.004b2590
add esp, 4
cmp word [esp + 0x480], 0
je 0x42e4bc
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e452
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004ae100
mov edi, eax
test edi, edi
jne 0x42e49e
lea eax, [esp + 0x480]
mov ecx, 0x4fdb78
push eax
push 0x4e3bcc
call fcn.0044ec90
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 0x42e4b4
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 0x42e4c1
mov edi, 0x4cfc40
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 0x42e622
xor eax, eax
mov word [edi], ax
cmp word [esp + 0x480], ax
je 0x42e572
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e500
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x10], eax
call fcn.004ae100
mov ebp, eax
test ebp, ebp
jne 0x42e550
lea eax, [esp + 0x480]
mov ecx, 0x4fdb78
push eax
push 0x4e3bcc
call fcn.0044ec90
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 0x42e56a
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 0x42e577
mov ebp, 0x4cfc40
mov dword [ebx + 0xae4], ebp
add edi, 2
jne 0x42e629
mov ebp, 0x4cfc40
push 0x4e8dec
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.004b1470
add esp, 0x18
cmp word [esp + 0x480], 0
je 0x42e6c5
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e5d2
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004ae100
mov edi, eax
test edi, edi
jne 0x42e6a7
lea eax, [esp + 0x480]
mov ecx, 0x4fdb78
push eax
push 0x4e3bcc
call fcn.0044ec90
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 0x42e586
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e640
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
lea ecx, [eax + 2]
mov dword [esp + 0x10], eax
call fcn.004ae100
mov ebp, eax
test ebp, ebp
jne 0x42e689
push edi
push 0x4e3bcc
mov ecx, 0x4fdb78
call fcn.0044ec90
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 0x42e69c
push esi
push edi
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [esi + ebp], ax
jmp 0x42e58b
test esi, esi
je 0x42e6bd
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 0x42e6ca
mov edi, 0x4cfc40
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 0x42e86b
lea ecx, [esp + 0x480]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e702
sub ecx, edx
sar ecx, 1
mov dword [esp + ecx*2 + 0x480], esi
cmp word [esp + 0x480], ax
je 0x42e79a
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e730
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004ae100
mov edi, eax
test edi, edi
jne 0x42e77c
lea eax, [esp + 0x480]
mov ecx, 0x4fdb78
push eax
push 0x4e3bcc
call fcn.0044ec90
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 0x42e792
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 0x42e79f
mov edi, 0x4cfc40
lea eax, [esp + 0x480]
mov dword [ebx + 0xaec], edi
push 0x5c
push eax
call dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x42e7c4
mov dword [ebx + 0xaf0], 0x4cfc40
xor ecx, ecx
mov word [eax], cx
cmp word [esp + 0x482], cx
je 0x42e861
lea esi, [esp + 0x482]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e7e1
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.004ae100
mov edi, eax
test edi, edi
jne 0x42e82d
lea eax, [esp + 0x482]
mov ecx, 0x4fdb78
push eax
push 0x4e3bcc
call fcn.0044ec90
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 0x42e843
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], 0x4cfc40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10470
ret 0x14