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

Disassembly:
mov eax, 0x10470
call fcn.004cb9b0
mov al, byte [esp + 0x1047c]
push ebx
mov ebx, dword [esp + 0x1047c]
push ebp
mov ebp, ecx
mov dword [esp + 8], ebp
push esi
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov byte [ebp + 0xafa], al
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test ebx, ebx
jne 0x42ceb1
push 0x106
lea ecx, [esp + 0x44]
push ecx
push 0
call eax
cmp eax, 0x104
ja 0x42cedc
lea eax, [esp + 0x40]
push 0x5c
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x42cedc
push 0x2e
push esi
call dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x42cedc
cmp dword [0x4f9a54], 0
lea ebx, [esp + 0x40]
movq xmm0, qword [str..ahk]
movq qword [eax], xmm0
mov cx, word [0x4e6d68]
mov word [eax + 8], cx
mov dword [esp + 0x10488], ebx
jne 0x42ceeb
mov eax, ebx
push eax
call edi
cmp eax, 0xffffffff
jne 0x42ceb1
lea ebx, [esp + 0x270]
mov eax, ebx
mov dword [esp + 0x10488], ebx
push 0x4cdc40
push eax
call fcn.00465a70
mov edx, esi
mov edi, eax
add esp, 8
lea eax, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42cdf0
sub edx, eax
lea eax, [edi + 1]
sar edx, 1
add eax, edx
cmp eax, 0x105
ja 0x42cedc
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 0x42ce20
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x270]
push eax
call edi
cmp eax, 0xffffffff
jne 0x42ceb1
movups xmm0, xmmword [0x4e6d6c]
lea eax, [esp + 0x40]
push eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x4e6d7c]
movups xmmword [esi + 0x10], xmm0
call edi
cmp eax, 0xffffffff
je 0x42ceb1
lea eax, [esp + 0x40]
push eax
push str._ms_its:_s::_docs_Welcome.htm_
lea eax, [esp + 0x488]
push 0x8000
push eax
call fcn.004297e0
add esp, 0x10
lea eax, [esp + 0x40]
mov ecx, ebp
push 0
push 0
push 0
push 0
push 0x4e6dcc
push 0
push eax
lea eax, [esp + 0x49c]
push eax
push str.hh.exe
call fcn.0044ea70
test eax, eax
jne 0x42cedc
cmp dword [0x4f9a54], 0
jne 0x42ceeb
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 0x42d04a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x480]
push 0x8000
push eax
push 0
call esi
test eax, eax
jne 0x42cf15
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 ebx, eax
push str.ntdll.dll
mov dword [esp + 0x20], ebx
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 ebx
call eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
cmp word [eax + 0x40], 0
je 0x42d03c
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push dword [eax + 0x44]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x42d035
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x10]
cmp word [ecx + 0x40], 0
je 0x42d035
mov esi, 1
cmp eax, esi
jle 0x42d035
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
mov edi, dword [ebp + esi*4]
push 1
push 0x4e6de4
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x42cfd9
push 1
push 0x4e6de8
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x42cfe2
inc esi
cmp esi, dword [esp + 0x14]
jl 0x42cfb3
jmp 0x42d031
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x480]
jne 0x42d01a
mov esi, dword [esp + 0x1c]
push 0x8000
push eax
push 0
call esi
test eax, eax
jne 0x42d031
push 0x8000
lea eax, [esp + 0x484]
push eax
push 0
call esi
jmp 0x42d031
push 0
push eax
push 0x8000
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x42cedc
mov ebx, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10488]
cmp word [ebx], 0x2a
jne 0x42d074
cmp word [ebx + 2], 0
jne 0x42d074
mov byte [0x4f9a9b], 1
mov dword [0x4f9a0c], 4
mov dword [0x4f835c], 1
jmp 0x42d098
cmp dword [0x4f9a54], 0
mov byte [0x4f9a9b], 0
jne 0x42d098
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x484]
call fcn.004b09b0
add esp, 4
cmp word [esp + 0x480], 0
je 0x42d178
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d0b1
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea edi, [ebp + 2]
lea eax, [edi - 1]
cmp eax, 0xffff
ja 0x42d144
cmp dword [0x4fb2d4], 0
jne 0x42d0e7
call fcn.004ac560
mov dword [0x4fb2d4], eax
test eax, eax
je 0x42d144
mov ecx, dword [0x4fb2d0]
cmp edi, dword [ecx + 8]
jbe 0x42d104
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d144
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x4fb2cc], ebx
and eax, 3
je 0x42d119
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d144
test esi, esi
je 0x42d13c
push ebp
lea eax, [esp + 0x484]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [ebx + ebp], ax
jmp 0x42d17d
lea eax, [esp + 0x480]
mov ecx, 0x4fbb78
push eax
push 0x4e1bcc
call fcn.0044dc10
mov eax, dword [esp + 0x10]
mov dword [eax + 0xae0], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov ebx, 0x4cdc40
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x480]
push 0x5c
push eax
mov dword [esi + 0xae0], ebx
call dword [esp + 0x28]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x42d2b0
xor eax, eax
mov word [ebp], ax
cmp word [esp + 0x480], ax
je 0x42d2a0
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d1c0
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 0x42d26c
cmp dword [0x4fb2d4], 0
jne 0x42d1fe
call fcn.004ac560
mov dword [0x4fb2d4], eax
test eax, eax
je 0x42d26c
mov ecx, dword [0x4fb2d0]
cmp edi, dword [ecx + 8]
jbe 0x42d21b
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d26c
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x4fb2cc], ebx
and eax, 3
je 0x42d230
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d26c
test esi, esi
mov esi, dword [esp + 0x14]
je 0x42d257
push esi
lea eax, [esp + 0x484]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
add ebp, 2
mov word [esi + ebx], ax
mov esi, dword [esp + 0x10]
mov dword [esi + 0xae4], ebx
jmp 0x42d2b7
lea eax, [esp + 0x480]
mov ecx, 0x4fbb78
push eax
push 0x4e1bcc
call fcn.0044dc10
mov eax, dword [esp + 0x10]
mov dword [eax + 0xae4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov ebx, 0x4cdc40
add ebp, 2
mov dword [esi + 0xae4], ebx
jmp 0x42d2b7
lea ebp, [esp + 0x480]
or edx, 0xffffffff
mov ecx, ebp
call fcn.004ac480
mov dword [esi + 0xae8], eax
test eax, eax
je 0x42cedc
push 0x4e6dec
push eax
push dword [esi + 0xae4]
lea eax, [esp + 0x48c]
push str._s_s____s
push 0x8000
push eax
call fcn.004af890
add esp, 0x18
cmp word [esp + 0x480], 0
je 0x42d3db
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d310
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea edi, [ebp + 2]
lea eax, [edi - 1]
cmp eax, 0xffff
ja 0x42d3a7
cmp dword [0x4fb2d4], 0
jne 0x42d346
call fcn.004ac560
mov dword [0x4fb2d4], eax
test eax, eax
je 0x42d3a7
mov ecx, dword [0x4fb2d0]
cmp edi, dword [ecx + 8]
jbe 0x42d363
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d3a7
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x4fb2cc], ebx
and eax, 3
je 0x42d378
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d3a7
test esi, esi
je 0x42d39b
push ebp
lea eax, [esp + 0x484]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x10]
xor eax, eax
mov word [ebx + ebp], ax
jmp 0x42d3e0
lea eax, [esp + 0x480]
mov ecx, 0x4fbb78
push eax
push 0x4e1bcc
call fcn.0044dc10
mov eax, dword [esp + 0x10]
mov dword [eax + 0xaf4], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov ebx, 0x4cdc40
push 0x7ffe
lea eax, [esp + 0x486]
mov dword [esi + 0xaf4], ebx
push eax
mov edi, 0x22
push 0
mov word [esp + 0x48c], di
call dword [esp + 0x28]
test eax, eax
je 0x42d567
lea ecx, [esp + 0x480]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d420
sub ecx, edx
sar ecx, 1
mov dword [esp + ecx*2 + 0x480], edi
cmp word [esp + 0x480], ax
je 0x42d51b
lea esi, [esp + 0x480]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42d450
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea edi, [ebp + 2]
lea eax, [edi - 1]
cmp eax, 0xffff
ja 0x42d4e7
cmp dword [0x4fb2d4], 0
jne 0x42d486
call fcn.004ac560
mov dword [0x4fb2d4], eax
test eax, eax
je 0x42d4e7
mov ecx, dword [0x4fb2d0]
cmp edi, dword [ecx + 8]
jbe 0x42d4a3
call fcn.004ac560
mov ecx, dword [0x4fb2d0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42d4e7
mov ebx, dword [ecx + 4]
mov eax, edi
mov dword [0x4fb2cc], ebx
and eax, 3
je 0x42d4b8
sub edi, eax
add edi, 4
sub dword [ecx + 8], edi
lea eax, [ebx + edi]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x42d4e7
test esi, esi
je 0x42d4db
push ebp
lea eax, [esp + 0x484]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x10]
xor eax, eax
mov word [ebx + ebp], ax
jmp 0x42d520
lea eax, [esp + 0x480]
mov ecx, 0x4fbb78
push eax
push 0x4e1bcc
call fcn.0044dc10
mov eax, dword [esp + 0x10]
mov dword [eax + 0xaec], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10470
ret 0x14
mov ebx, 0x4cdc40
lea eax, [esp + 0x480]
mov dword [esi + 0xaec], ebx
push 0x5c
push eax
call dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x42d545
mov dword [esi + 0xaf0], 0x4cdc40
xor ecx, ecx
or edx, 0xffffffff
mov word [eax], cx
lea ecx, [esp + 0x482]
call fcn.004ac480
mov dword [esi + 0xaf0], eax
test eax, eax
je 0x42cedc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10470
ret 0x14