Function at 0x42e120
Capabilities:
Get common file path
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43ca6b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x44c274]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c274]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov dword [esp + 0x48], ecx
mov edi, dword [esp + 0x1fc]
mov ebp, dword [esp + 0x1f8]
xor eax, eax
xor ebx, ebx
cmp edi, 0x198
mov byte [esp + 0xa0], bl
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov word [esp + 0xbd], ax
mov byte [esp + 0xbf], al
mov byte [esp + 0x80], bl
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov word [esp + 0x9d], ax
mov byte [esp + 0x9f], al
mov byte [esp + 0xc0], bl
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov dword [esp + 0xd1], eax
mov dword [esp + 0xd5], eax
mov dword [esp + 0xd9], eax
mov word [esp + 0xdd], ax
mov byte [esp + 0xdf], al
jg 0x42e460
je 0x42e3b2
mov eax, edi
sub eax, 0x6c
je 0x42e304
sub eax, 0x64
jne 0x42e514
mov eax, dword [str.EnableMask_NW]
mov ecx, dword [0x442fb0]
mov edx, dword [0x442fb4]
mov dword [esp + 0xa0], eax
mov ax, word [0x442fb8]
mov dword [esp + 0xa4], ecx
mov ecx, dword [str.DisableMask_NW]
mov dword [esp + 0xa8], edx
mov edx, dword [0x442fa0]
mov word [esp + 0xac], ax
mov eax, dword [0x442fa4]
mov dword [esp + 0x80], ecx
mov cx, word [0x442fa8]
mov dword [esp + 0x84], edx
mov dl, byte [0x442faa]
mov dword [esp + 0x88], eax
mov eax, dword [str.EnableAction_NW]
mov word [esp + 0x8c], cx
mov ecx, dword [0x442f90]
mov byte [esp + 0x8e], dl
mov edx, dword [0x442f94]
mov dword [esp + 0xc0], eax
mov eax, dword [0x442f98]
jmp 0x42e4ff
mov ecx, dword [str.EnableMask_PS]
mov edx, dword [0x442f80]
mov eax, dword [0x442f84]
mov dword [esp + 0xa0], ecx
mov cx, word [0x442f88]
mov dword [esp + 0xa4], edx
mov edx, dword [str.DisableMask_PS]
mov dword [esp + 0xa8], eax
mov eax, dword [0x442f70]
mov word [esp + 0xac], cx
mov ecx, dword [0x442f74]
mov dword [esp + 0x80], edx
mov dx, word [0x442f78]
mov dword [esp + 0x84], eax
mov al, byte [0x442f7a]
mov dword [esp + 0x88], ecx
mov ecx, dword [str.EnableAction_PS]
mov word [esp + 0x8c], dx
mov edx, dword [0x442f60]
mov byte [esp + 0x8e], al
mov eax, dword [0x442f64]
mov dword [esp + 0xc0], ecx
mov ecx, dword [0x442f68]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
jmp 0x42e514
mov edx, dword [str.EnableMask_FW]
mov eax, dword [0x442f50]
mov ecx, dword [0x442f54]
mov dword [esp + 0xa0], edx
mov dx, word [0x442f58]
mov dword [esp + 0xa4], eax
mov eax, dword [str.DisableMask_FW]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x442f40]
mov word [esp + 0xac], dx
mov edx, dword [0x442f44]
mov dword [esp + 0x80], eax
mov ax, word [0x442f48]
mov dword [esp + 0x84], ecx
mov cl, byte [0x442f4a]
mov dword [esp + 0x88], edx
mov edx, dword [str.EnableAction_FW]
mov word [esp + 0x8c], ax
mov eax, dword [0x442f30]
mov byte [esp + 0x8e], cl
mov ecx, dword [0x442f34]
mov dword [esp + 0xc0], edx
mov edx, dword [0x442f38]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
jmp 0x42e514
cmp edi, 0x328
jne 0x42e514
mov eax, dword [str.EnableMask_PP]
mov ecx, dword [0x442f20]
mov edx, dword [0x442f24]
mov dword [esp + 0xa0], eax
mov ax, word [0x442f28]
mov dword [esp + 0xa4], ecx
mov ecx, dword [str.DisableMask_PP]
mov dword [esp + 0xa8], edx
mov edx, dword [0x442f10]
mov word [esp + 0xac], ax
mov eax, dword [0x442f14]
mov dword [esp + 0x80], ecx
mov cx, word [0x442f18]
mov dword [esp + 0x84], edx
mov dl, byte [0x442f1a]
mov dword [esp + 0x88], eax
mov eax, dword [str.EnableAction_PP]
mov word [esp + 0x8c], cx
mov ecx, dword [0x442f00]
mov byte [esp + 0x8e], dl
mov edx, dword [0x442f04]
mov dword [esp + 0xc0], eax
mov eax, dword [0x442f08]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], ecx
push 0x30
lea ecx, [esp + 0x50]
push ebx
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00414950
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00431a00
push 0xf003f
push str.SoftWareMicrosoft
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
mov dword [esp + 0x1fc], ebx
call fcn.00431ab0
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea ecx, [esp + 0x14]
call fcn.00431a10
push 0xf003f
push str.SoftWareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.00431ab0
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea ecx, [esp + 0x14]
call fcn.00431a10
push 0xf003f
push str.SoftWareJiangMin
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.00431ab0
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00431b10
lea ecx, [esp + 0x14]
call fcn.00431a10
push 0x103
lea edx, [esp + 0xe5]
push ebx
push edx
mov byte [esp + 0xec], bl
call fcn.00414950
add esp, 0xc
push 0x104
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0xe0]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x42e6c7
mov ecx, dword [str.msawt.dll]
mov edx, dword [0x442e9c]
push ebx
push 0x80
mov dword [eax], ecx
mov cx, word [0x442ea0]
push 3
mov dword [eax + 4], edx
mov dl, byte [0x442ea2]
push ebx
mov word [eax + 8], cx
push 1
mov byte [eax + 0xa], dl
push SysReAllocStringLen
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, ebx
je 0x42e852
cmp esi, 0xffffffff
je 0x42e852
push 2
push ebx
push 0xffffffffffffffd0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea ecx, [esp + 0x80]
push ecx
push 0x30
lea edx, [esp + 0x58]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x198
jg 0x42e7b5
je 0x42e79b
mov eax, edi
sub eax, 0x6c
je 0x42e781
sub eax, 0x64
jne 0x42e7d7
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
jmp 0x42e7e3
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
jmp 0x42e7e3
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
jmp 0x42e7e3
cmp edi, 0x328
jne 0x42e7d7
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
jmp 0x42e7e3
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x42e852
cmp dword [esp + 0x38], edx
jne 0x42e83d
cmp dword [esp + 0x3c], edx
jne 0x42e83d
cmp dword [esp + 0x40], edx
jne 0x42e83d
mov esi, dword [esp + 0x18]
cmp esi, ecx
jne 0x42e83d
cmp dword [esp + 0x1c], ecx
jne 0x42e83d
cmp dword [esp + 0x20], ecx
jne 0x42e83d
cmp dword [esp + 0x28], eax
jne 0x42e83d
cmp dword [esp + 0x2c], eax
jne 0x42e83d
cmp dword [esp + 0x30], eax
jne 0x42e83d
mov dword [ebp], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00404ae0
mov eax, 1
jmp 0x42e868
push eax
push ecx
mov ecx, dword [esp + 0x50]
push edx
call fcn.0042d9b0
mov eax, dword [esp + 0x24]
mov dword [ebp], eax
jmp 0x42e822
lea ecx, [esp + 0x14]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00404ae0
xor eax, eax
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.004144f2
add esp, 0x1e0
ret 8