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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x824], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
cmp esi, edi
je 0x443d8c
lea eax, [ebp - 0x828]
push eax
push esi
mov dword [ebp - 0x828], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x820], eax
cmp eax, edi
je 0x443d8c
cmp dword [ebp - 0x828], edi
je 0x443d8c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x443d7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x824], esi
cmp eax, 2
je 0x443d80
mov dword [ebp - 0x824], ebx
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x840]
call fcn.00441614
mov dword [ebp - 0x410], edi
mov dword [0x4a2f10], esi
mov edi, 0x49337c
push edi
lea eax, [ebp - 0x404]
mov esi, 0x478a34
push esi
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x410]
push 0x4789c0
mov ebx, 0x200
push eax
mov dword [ebp - 0x40c], ebx
call fcn.004031a5
pop ecx
pop ecx
push eax
call fcn.004031a5
pop ecx
pop ecx
push eax
call fcn.004031a5
mov ecx, dword [ebp - 0x408]
mov edx, dword [ebp - 0x410]
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x408]
push eax
mov dword [ebp - 0x820], eax
call fcn.0044b232
add esp, 0xc
push eax
push dword [ebp - 0x820]
mov ecx, 0x4a05ec
call fcn.0040324a
and dword [ebp - 0x81c], 0
push edi
lea eax, [ebp - 0x810]
push esi
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x81c]
push 0x478948
push eax
mov dword [ebp - 0x818], ebx
call fcn.004031a5
pop ecx
pop ecx
push eax
call fcn.004031a5
pop ecx
pop ecx
push eax
call fcn.004031a5
mov ecx, dword [ebp - 0x814]
mov edx, dword [ebp - 0x81c]
xor eax, eax
mov word [ecx + edx*2], ax
mov esi, dword [ebp - 0x814]
push esi
call fcn.0044b232
add esp, 0xc
push eax
push esi
mov ecx, 0x4a0608
call fcn.0040324a
mov esi, dword [ebp - 0x824]
push 6
push 0x478938
push esi
call fcn.0044b9d2
add esp, 0xc
test eax, eax
jne 0x443f14
xor edi, edi
inc edi
push edi
mov dword [0x4a05e8], edi
call fcn.00443ca1
push esi
call fcn.00411689
pop ecx
pop ecx
call fcn.00445c8c
lea eax, [ebp - 0x810]
cmp dword [ebp - 0x814], eax
je 0x443edc
push dword [ebp - 0x814]
call fcn.0044c187
pop ecx
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x443ef6
push dword [ebp - 0x408]
call fcn.0044c187
pop ecx
lea ecx, [ebp - 0x840]
call fcn.00443753
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret 0x10
push 0x10
push 0x477890
push esi
call fcn.0044b9d2
add esp, 0xc
test eax, eax
je 0x443f67
push 0xa
push 0x478920
push esi
call fcn.0044b9d2
add esp, 0xc
test eax, eax
jne 0x443f41
push 3
pop eax
jmp 0x443f67
push 0xc
push 0x478548
push esi
call fcn.0044b9d2
add esp, 0xc
test eax, eax
jne 0x443f59
push 2
jmp 0x443f3e
push esi
call fcn.0044b232
neg eax
sbb eax, eax
pop ecx
add eax, 5
push eax
mov dword [0x4a05e8], eax
call fcn.00443ca1
cmp dword [0x4a05e8], 4
pop ecx
je 0x443f8e
push dword [ebp + 0x14]
push esi
call fcn.0043bf94
pop ecx
pop ecx
mov edi, eax
jmp 0x443ec2
lea eax, [ebp - 0x810]
cmp dword [ebp - 0x814], eax
je 0x443fa8
push dword [ebp - 0x814]
call fcn.0044c187
pop ecx
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x443fc2
push dword [ebp - 0x408]
call fcn.0044c187
pop ecx
xor edi, edi
jmp 0x443ef6