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

Disassembly:
mov eax, 0x10468
call fcn.004d2340
mov al, byte [esp + 0x10474]
push ebx
push ebp
mov ebp, dword [esp + 0x10478]
mov ebx, ecx
mov dword [esp + 0xc], ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebx + 0xafa], al
test ebp, ebp
jne 0x42b1d3
push 0x106
lea eax, [esp + 0x3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
ja 0x42b1fe
lea eax, [esp + 0x38]
push 0x5c
push eax
call fcn.004b7194
mov esi, eax
add esp, 8
test esi, esi
je 0x42b1fe
push 0x2e
push esi
call fcn.004b7194
add esp, 8
test eax, eax
je 0x42b1fe
cmp dword [0x507b14], 0
lea ebp, [esp + 0x38]
movq xmm0, qword [str..ahk]
movq qword [eax], xmm0
mov cx, word [0x4f3400]
mov word [eax + 8], cx
jne 0x42b20d
mov eax, ebp
push eax
call edi
cmp eax, 0xffffffff
jne 0x42b1d3
lea ebp, [esp + 0x268]
mov eax, ebp
push 0x4da3cc
push eax
call fcn.0045d260
mov edx, esi
mov edi, eax
add esp, 8
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x42b113
sub edx, eax
lea eax, [edi + 1]
sar edx, 1
add eax, edx
cmp eax, 0x105
ja 0x42b1fe
lea eax, [edi + edi]
mov ecx, esi
sub eax, esi
lea edx, [esp + 0x268]
add edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42b142
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x268]
push eax
call edi
cmp eax, 0xffffffff
jne 0x42b1d3
movups xmm0, xmmword [0x4f3404]
lea eax, [esp + 0x38]
push eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x4f3414]
movups xmmword [esi + 0x10], xmm0
call edi
cmp eax, 0xffffffff
je 0x42b1d3
lea eax, [esp + 0x38]
push eax
push str._ms_its:_s::_docs_Welcome.htm_
lea eax, [esp + 0x480]
push 0x8000
push eax
call fcn.00427310
add esp, 0x10
lea eax, [esp + 0x38]
mov ecx, ebx
push 0
push 0
push 0
push 0
push 0x4f3464
push 0
push eax
lea eax, [esp + 0x494]
push eax
push str.hh.exe
call fcn.00448860
test eax, eax
jne 0x42b1fe
cmp dword [0x507b14], 0
jne 0x42b20d
push 0
lea eax, [esp + 0x47c]
push eax
push 0x8000
push ebp
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42b368
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10468
ret 0x14
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x478]
push 0x8000
push eax
push 0
call edi
test eax, eax
jne 0x42b239
push 0x8000
lea eax, [esp + 0x47c]
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 + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x1c]
push ecx
push 0x18
lea ecx, [esp + 0x28]
push ecx
push 0
push esi
call eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
cmp word [eax + 0x40], 0
je 0x42b361
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push dword [eax + 0x44]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov eax, dword [esp + 0x18]
cmp eax, 1
jle 0x42b35a
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x10]
cmp word [ecx + 0x40], 0
je 0x42b35a
mov esi, 1
cmp eax, esi
jle 0x42b356
mov edi, dword [ebx + esi*4]
push 1
push 0x4f347c
push edi
call fcn.004c4920
add esp, 0xc
test eax, eax
je 0x42b2fc
push 1
push 0x4f3480
push edi
call fcn.004c4920
add esp, 0xc
test eax, eax
jne 0x42b305
inc esi
cmp esi, dword [esp + 0x18]
jl 0x42b2d1
jmp 0x42b356
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x478]
jne 0x42b33f
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x8000
push eax
push 0
call edi
test eax, eax
jne 0x42b356
push 0x8000
lea eax, [esp + 0x47c]
push eax
push 0
call edi
jmp 0x42b356
push 0
push eax
push 0x8000
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x42b1fe
mov esi, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp], 0x2a
jne 0x42b393
cmp word [ebp + 2], 0
jne 0x42b393
mov byte [0x507b4f], 1
mov dword [0x507acc], 4
mov dword [0x505c04], 1
jmp 0x42b3b7
cmp dword [0x507b14], 0
mov byte [0x507b4f], 0
jne 0x42b3b7
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x47c]
call fcn.0049cc10
add esp, 4
cmp word [esp + 0x478], 0
je 0x42b427
lea esi, [esp + 0x478]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b3d0
sub esi, ecx
sar esi, 1
lea ebx, [esi + esi]
lea ecx, [ebx + 2]
call fcn.00499070
mov edi, eax
test edi, edi
jne 0x42b409
lea eax, [esp + 0x478]
mov ecx, 0x509c28
push eax
push 0x4ee268
call fcn.00447960
jmp 0x42b42c
test esi, esi
je 0x42b41f
push ebx
lea eax, [esp + 0x47c]
push eax
push edi
call fcn.004b9800
add esp, 0xc
xor eax, eax
mov word [ebx + edi], ax
jmp 0x42b42c
mov edi, 0x4da3cc
mov ebp, dword [esp + 0x14]
mov dword [ebp + 0xae0], edi
test edi, edi
je 0x42b1fe
lea eax, [esp + 0x478]
push 0x5c
push eax
call fcn.004b7194
mov edi, eax
add esp, 8
test edi, edi
je 0x42b580
xor eax, eax
mov word [edi], ax
cmp word [esp + 0x478], ax
je 0x42b4d2
lea esi, [esp + 0x478]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b473
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.00499070
mov ebx, eax
test ebx, ebx
jne 0x42b4b0
lea eax, [esp + 0x478]
mov ecx, 0x509c28
push eax
push 0x4ee268
call fcn.00447960
mov ebp, dword [esp + 0x14]
jmp 0x42b4d7
test esi, esi
je 0x42b4c6
push ebp
lea eax, [esp + 0x47c]
push eax
push ebx
call fcn.004b9800
add esp, 0xc
xor eax, eax
mov word [ebx + ebp], ax
mov ebp, dword [esp + 0x14]
jmp 0x42b4d7
mov ebx, 0x4da3cc
mov dword [ebp + 0xae4], ebx
test ebx, ebx
je 0x42b1fe
add edi, 2
jne 0x42b587
mov ebx, 0x4da3cc
mov dword [ebp + 0xae8], ebx
test ebx, ebx
je 0x42b1fe
push 0x4f3484
push ebx
push dword [ebp + 0xae4]
lea eax, [esp + 0x484]
push str._s_s____s
push 0x8000
push eax
call fcn.0049bbc0
add esp, 0x18
cmp word [esp + 0x478], 0
je 0x42b60b
lea esi, [esp + 0x478]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b540
sub esi, ecx
sar esi, 1
lea ebx, [esi + esi]
lea ecx, [ebx + 2]
call fcn.00499070
mov edi, eax
test edi, edi
jne 0x42b5ed
lea eax, [esp + 0x478]
mov ecx, 0x509c28
push eax
push 0x4ee268
call fcn.00447960
jmp 0x42b610
lea edi, [esp + 0x478]
cmp word [edi], 0
je 0x42b4ee
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b596
sub esi, ecx
sar esi, 1
lea ebp, [esi + esi]
lea ecx, [ebp + 2]
call fcn.00499070
mov ebx, eax
test ebx, ebx
jne 0x42b5cf
push edi
push 0x4ee268
mov ecx, 0x509c28
call fcn.00447960
mov ebp, dword [esp + 0x14]
jmp 0x42b4f3
test esi, esi
je 0x42b5de
push ebp
push edi
push ebx
call fcn.004b9800
add esp, 0xc
xor eax, eax
mov word [ebx + ebp], ax
mov ebp, dword [esp + 0x14]
jmp 0x42b4f3
test esi, esi
je 0x42b603
push ebx
lea eax, [esp + 0x47c]
push eax
push edi
call fcn.004b9800
add esp, 0xc
xor eax, eax
mov word [ebx + edi], ax
jmp 0x42b610
mov edi, 0x4da3cc
mov dword [ebp + 0xaf4], edi
test edi, edi
je 0x42b1fe
push 0x7ffe
lea eax, [esp + 0x47e]
mov esi, 0x22
push eax
push 0
mov word [esp + 0x484], si
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x42b72c
lea ecx, [esp + 0x478]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b652
sub ecx, edx
sar ecx, 1
mov dword [esp + ecx*2 + 0x478], esi
cmp word [esp + 0x478], ax
je 0x42b6d7
lea esi, [esp + 0x478]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b680
sub esi, ecx
sar esi, 1
lea ebx, [esi + esi]
lea ecx, [ebx + 2]
call fcn.00499070
mov edi, eax
test edi, edi
jne 0x42b6b9
lea eax, [esp + 0x478]
mov ecx, 0x509c28
push eax
push 0x4ee268
call fcn.00447960
jmp 0x42b6dc
test esi, esi
je 0x42b6cf
push ebx
lea eax, [esp + 0x47c]
push eax
push edi
call fcn.004b9800
add esp, 0xc
xor eax, eax
mov word [ebx + edi], ax
jmp 0x42b6dc
mov edi, 0x4da3cc
mov dword [ebp + 0xaec], edi
test edi, edi
je 0x42b1fe
lea eax, [esp + 0x478]
push 0x5c
push eax
call fcn.004b7194
add esp, 8
test eax, eax
jne 0x42b70a
mov dword [ebp + 0xaf0], 0x4da3cc
xor ecx, ecx
or edx, 0xffffffff
mov word [eax], cx
lea ecx, [esp + 0x47a]
call fcn.00498ff0
mov dword [ebp + 0xaf0], eax
test eax, eax
je 0x42b1fe
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10468
ret 0x14