Function at 0x42ac50
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45f61e
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x67c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x694]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x6a4]
push 1
mov dword [esp + 0x48], ebx
call fcn.0042f396
mov dword [esp + 0x3c], eax
mov byte [eax], 0
xor edi, edi
push 1
mov dword [esp + 0x6a4], edi
call fcn.0042f396
mov dword [esp + 0x50], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x24], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x3c], eax
mov byte [eax], 0
push 1
mov dword [esp + 0x60], edi
call fcn.0042f396
mov dword [esp + 0x54], eax
add esp, 0x14
mov byte [eax], 0
push 0x208
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x6a4], 4
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x88]
dec eax
cmp byte [esp + 0x6ac], 0
jne 0x42ad61
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42ad20
mov ecx, dword [str.AutorunsDisabled.ini]
mov edx, dword [0x465e3c]
mov dword [eax], ecx
mov ecx, dword [0x465e40]
mov dword [eax + 4], edx
mov edx, dword [0x465e44]
mov dword [eax + 8], ecx
mov ecx, dword [0x465e48]
mov dword [eax + 0xc], edx
mov dx, word [0x465e4c]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
jmp 0x42ad83
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42ad61
mov ecx, dword [str.win.ini]
mov edx, dword [0x465e30]
mov dword [eax], ecx
mov cl, byte [0x465e34]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
cmp dword [0x474d7c], edi
je 0x42aeb9
cmp dword [esp + 0x6a8], 0xffffffff
jne 0x42aeb9
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x28], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x48], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x44], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
lea edx, [esp + 0xa0]
push edx
call fcn.0042f484
mov dword [esp + 0x30], eax
lea eax, [esp + 0xa4]
push eax
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0xffffffffffffffff
push edi
push edi
lea ecx, [esp + 0x5c]
push ecx
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x68]
push edx
push edi
push 0xffffffffffffffff
push 2
push ebx
mov byte [esp + 0x6fc], 0xc
call fcn.0040c0f0
mov dword [esp + 0x708], eax
mov eax, dword [esp + 0x7c]
add esp, 0x60
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x34]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x38]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x4c]
push ecx
mov byte [esp + 0x6bc], 4
call fcn.0042f4d9
add esp, 0x20
lea edx, [esp + 0x88]
push 0x465e28
push edx
call fcn.00433a07
mov esi, eax
add esp, 8
mov dword [esp + 0x68], esi
cmp esi, edi
jne 0x42af12
mov eax, dword [esp + 0x40]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x20]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x54]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
add esp, 0x14
jmp 0x42b3dc
push esi
lea edx, [esp + 0x294]
push 0x400
push edx
call fcn.004337fb
add esp, 0xc
test eax, eax
je 0x42b3a1
cmp byte [esp + 0x290], 0x5b
jne 0x42af5f
push 9
lea eax, [esp + 0x294]
push str._windows_
push eax
call fcn.004330c9
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x4c], eax
jmp 0x42b383
cmp dword [esp + 0x4c], edi
je 0x42b383
push 5
lea ecx, [esp + 0x294]
push str.load
push ecx
call fcn.004330c9
add esp, 0xc
test eax, eax
jne 0x42af8d
lea ebp, [esp + 0x295]
jmp 0x42afb3
push 4
lea edx, [esp + 0x294]
push str.run
push edx
call fcn.004330c9
add esp, 0xc
test eax, eax
jne 0x42b383
lea ebp, [esp + 0x294]
push edi
push ebp
call fcn.00430610
mov esi, eax
add esp, 8
cmp esi, ebp
jbe 0x42afdc
movsx eax, byte [esi - 1]
push eax
call fcn.004318b8
add esp, 4
test eax, eax
je 0x42afdc
dec esi
mov byte [esi], 0
cmp esi, ebp
ja 0x42afc3
lea ecx, [esp + 0x6c]
call fcn.00402f60
push edi
lea ecx, [esp + 0x70]
push ecx
push 0x2c
push ebp
mov byte [esp + 0x6ac], 0xd
call fcn.004110b0
mov esi, dword [esp + 0x88]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x8c]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 0x10
add eax, edx
je 0x42b32f
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x14], eax
jb 0x42b044
call fcn.004305db
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + edx]
mov edi, dword [esp + 0x2c]
add esi, edx
push eax
call fcn.0042f484
push edi
mov dword [esp + 0x34], eax
call fcn.0042f4d9
push 0
lea eax, [esp + 0x90]
push esi
push eax
call fcn.0040b350
mov eax, dword [eax]
mov esi, dword [esp + 0x2c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x34], eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0042f4d9
mov eax, dword [esp + 0x38]
add esp, 0x20
cmp byte [eax], 0
je 0x42b2fd
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
push ecx
push eax
push ebx
call fcn.0040b950
push ebp
mov esi, eax
call fcn.0042f484
mov dword [esp + 0x44], eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x50]
push edx
push ebx
mov byte [esp + 0x6c4], 0xe
call fcn.0040bd70
mov bl, al
mov eax, dword [esp + 0x58]
push eax
mov byte [esp + 0x6c8], 0xd
call fcn.0042f4d9
add esp, 0x2c
test bl, bl
je 0x42b2f9
cmp dword [esp + 0x6a8], 0xffffffff
jne 0x42b247
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x68], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x64], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x34], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x3c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0042f484
mov dword [esp + 0x58], eax
lea edx, [esp + 0xa4]
push edx
call fcn.0042f484
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + 0x6cc]
push 0xffffffffffffffff
push 0
push 0
lea eax, [esp + 0x90]
push eax
push ecx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push 0xffffffffffffffff
push 2
push eax
mov byte [esp + 0x6fc], 0x16
call fcn.0040c0f0
mov ecx, dword [esp + 0x80]
add esp, 0x60
push ecx
mov dword [esp + 0x6ac], eax
call fcn.0042f4d9
mov edx, dword [esp + 0x40]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x34]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x68]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x80]
push edx
call fcn.0042f4d9
add esp, 0x20
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x54], eax
lea eax, [esp + 0x8c]
push eax
call fcn.0042f484
mov dword [esp + 0x60], eax
push ebp
call fcn.0042f484
mov dword [esp + 0x6c], eax
movzx edx, byte [esp + 0x6b8]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x68]
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x6dc]
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x98]
push eax
push 4
push ecx
push esi
push edx
mov byte [esp + 0x6e8], 0x19
call fcn.0040c0f0
mov eax, dword [esp + 0xac]
add esp, 0x4c
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x58]
push edx
mov byte [esp + 0x6a8], 0xd
call fcn.0042f4d9
add esp, 0xc
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
inc dword [esp + 0x14]
add dword [esp + 0x1c], 0x1c
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x42b044
xor ebp, ebp
mov byte [esp + 0x69c], 4
cmp esi, ebp
je 0x42b35e
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x78]
push ecx
push edi
push esi
call fcn.00403060
mov edx, dword [esp + 0x88]
push edx
call fcn.0042f2c2
add esp, 0x14
mov eax, dword [esp + 0x6c]
push eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
call fcn.0042f2c2
mov esi, dword [esp + 0x6c]
add esp, 4
xor edi, edi
push esi
lea ecx, [esp + 0x294]
push 0x400
push ecx
call fcn.004337fb
add esp, 0xc
test eax, eax
jne 0x42af30
push esi
call fcn.0043377f
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x34]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x58]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042f4d9
add esp, 0x18
mov eax, dword [esp + 0x6a8]
mov ecx, dword [esp + 0x694]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x67c]
xor ecx, esp
call fcn.00430430
add esp, 0x68c
ret