Function at 0x42a3d0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1bf1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
cmp dword [edi + 0x18], 8
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], eax
jb 0x42a431
mov eax, dword [eax]
push 0x104
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.004ac78e
xor eax, eax
add esp, 0xc
lea esi, [esp + 0x48]
mov word [esp + 0x25a], ax
call fcn.0042e3a0
mov edx, dword [eax + 8]
lea ecx, [esp + 0x54]
push ecx
call edx
push 0xab
lea ecx, [esp + 0x1c]
call fcn.004412c0
mov esi, eax
mov dword [esp + 0x270], 0
push 0xab
lea ecx, [esp + 0x20]
call fcn.004412c0
mov byte [esp + 0x270], 1
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.004ac855
add esp, 0xc
test eax, eax
sete bl
mov byte [esp + 0x270], 0
lea ecx, [esp + 0x1c]
call fcn.00405020
or esi, 0xffffffff
mov dword [esp + 0x270], esi
lea ecx, [esp + 0x18]
call fcn.00405020
test bl, bl
je 0x42a67c
push 0x104
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42aa35
xor ecx, ecx
lea esi, [esp + 0x48]
mov word [esp + 0x25a], cx
call fcn.0042e3a0
mov eax, dword [eax + 8]
lea edx, [esp + 0x54]
push edx
call eax
push 0xab
lea ecx, [esp + 0x20]
call fcn.004412c0
mov esi, eax
mov dword [esp + 0x270], 2
push 0xab
lea ecx, [esp + 0x1c]
call fcn.004412c0
mov bl, 3
mov byte [esp + 0x270], bl
mov edx, dword [esi]
mov eax, dword [eax]
mov esi, dword [edx - 0xc]
mov edx, dword [eax - 0xc]
mov ecx, dword [edi + 0x14]
lea eax, [esp + 0x28]
push eax
sub ecx, esi
push edi
call fcn.0042de00
mov byte [esp + 0x270], 4
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x42a571
mov eax, dword [eax + 4]
jmp 0x42a574
add eax, 4
push eax
lea ecx, [esp + 0x58]
push 0x104
push ecx
call fcn.004ac7d8
add esp, 0xc
mov byte [esp + 0x270], bl
cmp dword [esp + 0x40], esi
jb 0x42a5a1
mov edx, dword [esp + 0x2c]
push edx
call fcn.0045a597
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x270], 2
lea ecx, [esp + 0x18]
call fcn.00405020
or esi, 0xffffffff
mov dword [esp + 0x270], esi
lea ecx, [esp + 0x1c]
call fcn.00405020
lea edi, [esp + 0x54]
call fcn.00428150
test al, al
je 0x42aa35
mov ecx, edi
push ecx
lea ecx, [esp + 0x18]
call fcn.004054b0
mov dword [esp + 0x270], 5
lea ecx, [esp + 0x14]
call fcn.00405610
lea edx, [esp + 0x28]
push edx
call fcn.00428e30
mov bl, 6
mov byte [esp + 0x270], bl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407780
mov ecx, dword [esp + 0x24]
push ecx
lea edi, [esp + 0x30]
call fcn.0042df80
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x34], esp
push edx
lea edi, [esp + 0x48]
call fcn.00428e90
mov byte [esp + 0x28c], 7
mov byte [esp + 0x28c], bl
mov ecx, dword [esp + 0x3c]
call fcn.0042dc00
add esp, 0x1c
mov byte [esp + 0x13], 1
mov byte [esp + 0x270], 5
jmp 0x42a8d9
push 0xac
lea ecx, [esp + 0x20]
call fcn.004412c0
mov ebx, eax
mov dword [esp + 0x270], 8
push 0xac
lea ecx, [esp + 0x1c]
call fcn.004412c0
mov byte [esp + 0x270], 9
mov ecx, dword [ebx]
mov ecx, dword [ecx - 0xc]
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.004ac855
add esp, 0xc
test eax, eax
sete bl
mov byte [esp + 0x270], 8
lea ecx, [esp + 0x18]
call fcn.00405020
mov dword [esp + 0x270], esi
lea ecx, [esp + 0x1c]
call fcn.00405020
test bl, bl
je 0x42a815
push 0x104
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42aa35
xor ecx, ecx
lea esi, [esp + 0x48]
mov word [esp + 0x25a], cx
call fcn.0042e3a0
mov eax, dword [eax + 8]
lea edx, [esp + 0x54]
push edx
call eax
push 0x4e8614
lea ecx, [esp + 0x58]
push 0x104
push ecx
call fcn.004ac7d8
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x42a74b
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x42a74f
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push 0x104
push eax
call fcn.004ac7d8
add esp, 0xc
lea edi, [esp + 0x54]
call fcn.00428150
test al, al
je 0x42aa35
mov ecx, edi
push ecx
lea ecx, [esp + 0x18]
call fcn.004054b0
mov dword [esp + 0x270], 0xa
lea edx, [esp + 0x28]
push edx
call fcn.00428e30
mov bl, 0xb
mov byte [esp + 0x270], bl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407780
mov ecx, dword [esp + 0x24]
push ecx
lea edi, [esp + 0x30]
call fcn.0042df80
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x34], esp
push edx
lea edi, [esp + 0x48]
call fcn.00428e90
mov byte [esp + 0x28c], 0xc
mov byte [esp + 0x28c], bl
mov ecx, dword [esp + 0x3c]
call fcn.0042dc00
add esp, 0x1c
mov byte [esp + 0x13], 1
mov byte [esp + 0x270], 0xa
mov eax, edi
push eax
call fcn.0040c940
mov dword [esp + 0x270], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405020
jmp 0x42aa35
push 0x13
push 0
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.SHELL32.dll_PathResolve]
test eax, eax
je 0x42a8f8
push 0x104
lea edx, [esp + 0x58]
push edx
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x42aa35
lea edi, [esp + 0x54]
call fcn.00428150
test al, al
je 0x42aa35
mov ecx, edi
push ecx
lea ecx, [esp + 0x18]
call fcn.004054b0
mov dword [esp + 0x270], 0xd
lea edx, [esp + 0x28]
push edx
call fcn.00428e30
mov bl, 0xe
mov byte [esp + 0x270], bl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407780
mov ecx, dword [esp + 0x24]
push ecx
lea edi, [esp + 0x30]
call fcn.0042df80
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x34], esp
push edx
lea edi, [esp + 0x48]
call fcn.00428e90
mov byte [esp + 0x28c], 0xf
mov byte [esp + 0x28c], bl
mov ecx, dword [esp + 0x3c]
call fcn.0042dc00
add esp, 0x1c
mov byte [esp + 0x13], 1
mov byte [esp + 0x270], 0xd
lea eax, [esp + 0x28]
push eax
call fcn.0040c940
mov dword [esp + 0x270], esi
lea ecx, [esp + 0x14]
call fcn.00405020
jmp 0x42aa35
cmp dword [edi + 0x18], 8
jb 0x42a906
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
jmp 0x42a90a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x42aa35
xor esi, esi
cmp dword [esp + 0x44], esi
jle 0x42aa35
mov bl, 0x11
jmp 0x42a936
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
push 0x104
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.004ac78e
add esp, 0xc
push 0x13
push 0
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.SHELL32.dll_PathResolve]
test eax, eax
je 0x42aa2a
push 0x104
lea eax, [esp + 0x58]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x42aa2a
lea edi, [esp + 0x54]
call fcn.00428150
test al, al
je 0x42aa2a
mov edx, edi
push edx
lea ecx, [esp + 0x18]
call fcn.004054b0
mov dword [esp + 0x270], 0x10
lea eax, [esp + 0x28]
push eax
call fcn.00428e30
mov byte [esp + 0x270], bl
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00407780
mov edx, dword [esp + 0x24]
push edx
lea edi, [esp + 0x30]
call fcn.0042df80
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x38], esp
push eax
lea edi, [esp + 0x48]
call fcn.00428e90
mov byte [esp + 0x28c], 0x12
mov byte [esp + 0x28c], bl
mov ecx, dword [esp + 0x3c]
call fcn.0042dc00
add esp, 0x1c
mov byte [esp + 0x13], 1
mov byte [esp + 0x270], 0x10
mov ecx, edi
push ecx
call fcn.0040c940
mov dword [esp + 0x270], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405020
inc esi
cmp esi, dword [esp + 0x44]
jl 0x42a932
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004aa641
mov esp, ebp
pop ebp
ret