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

Disassembly:
push 0xffffffffffffffff
push 0x43a5db
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x448270]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x448270]
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 0x42da80
je 0x42d9d2
mov eax, edi
sub eax, 0x6c
je 0x42d924
sub eax, 0x64
jne 0x42db34
mov eax, dword [str.EnableMask_NW]
mov ecx, dword [0x43fe40]
mov edx, dword [0x43fe44]
mov dword [esp + 0xa0], eax
mov ax, word [0x43fe48]
mov dword [esp + 0xa4], ecx
mov ecx, dword [str.DisableMask_NW]
mov dword [esp + 0xa8], edx
mov edx, dword [0x43fe30]
mov word [esp + 0xac], ax
mov eax, dword [0x43fe34]
mov dword [esp + 0x80], ecx
mov cx, word [0x43fe38]
mov dword [esp + 0x84], edx
mov dl, byte [0x43fe3a]
mov dword [esp + 0x88], eax
mov eax, dword [str.EnableAction_NW]
mov word [esp + 0x8c], cx
mov ecx, dword [0x43fe20]
mov byte [esp + 0x8e], dl
mov edx, dword [0x43fe24]
mov dword [esp + 0xc0], eax
mov eax, dword [0x43fe28]
jmp 0x42db1f
mov ecx, dword [str.EnableMask_PS]
mov edx, dword [0x43fe10]
mov eax, dword [0x43fe14]
mov dword [esp + 0xa0], ecx
mov cx, word [0x43fe18]
mov dword [esp + 0xa4], edx
mov edx, dword [str.DisableMask_PS]
mov dword [esp + 0xa8], eax
mov eax, dword [0x43fe00]
mov word [esp + 0xac], cx
mov ecx, dword [0x43fe04]
mov dword [esp + 0x80], edx
mov dx, word [0x43fe08]
mov dword [esp + 0x84], eax
mov al, byte [0x43fe0a]
mov dword [esp + 0x88], ecx
mov ecx, dword [str.EnableAction_PS]
mov word [esp + 0x8c], dx
mov edx, dword [0x43fdf0]
mov byte [esp + 0x8e], al
mov eax, dword [0x43fdf4]
mov dword [esp + 0xc0], ecx
mov ecx, dword [0x43fdf8]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
jmp 0x42db34
mov edx, dword [str.EnableMask_FW]
mov eax, dword [0x43fde0]
mov ecx, dword [0x43fde4]
mov dword [esp + 0xa0], edx
mov dx, word [0x43fde8]
mov dword [esp + 0xa4], eax
mov eax, dword [str.DisableMask_FW]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x43fdd0]
mov word [esp + 0xac], dx
mov edx, dword [0x43fdd4]
mov dword [esp + 0x80], eax
mov ax, word [0x43fdd8]
mov dword [esp + 0x84], ecx
mov cl, byte [0x43fdda]
mov dword [esp + 0x88], edx
mov edx, dword [str.EnableAction_FW]
mov word [esp + 0x8c], ax
mov eax, dword [0x43fdc0]
mov byte [esp + 0x8e], cl
mov ecx, dword [0x43fdc4]
mov dword [esp + 0xc0], edx
mov edx, dword [0x43fdc8]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
jmp 0x42db34
cmp edi, 0x328
jne 0x42db34
mov eax, dword [str.EnableMask_PP]
mov ecx, dword [0x43fdb0]
mov edx, dword [0x43fdb4]
mov dword [esp + 0xa0], eax
mov ax, word [0x43fdb8]
mov dword [esp + 0xa4], ecx
mov ecx, dword [str.DisableMask_PP]
mov dword [esp + 0xa8], edx
mov edx, dword [0x43fda0]
mov word [esp + 0xac], ax
mov eax, dword [0x43fda4]
mov dword [esp + 0x80], ecx
mov cx, word [0x43fda8]
mov dword [esp + 0x84], edx
mov dl, byte [0x43fdaa]
mov dword [esp + 0x88], eax
mov eax, dword [str.EnableAction_PP]
mov word [esp + 0x8c], cx
mov ecx, dword [0x43fd90]
mov byte [esp + 0x8e], dl
mov edx, dword [0x43fd94]
mov dword [esp + 0xc0], eax
mov eax, dword [0x43fd98]
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.004141c0
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00430e60
push 0xf003f
push str.SoftWareMicrosoft
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
mov dword [esp + 0x1fc], ebx
call fcn.00430f10
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea ecx, [esp + 0x14]
call fcn.00430e70
push 0xf003f
push str.SoftWareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.00430f10
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea ecx, [esp + 0x14]
call fcn.00430e70
push 0xf003f
push str.SoftWareJiangMin
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
call fcn.00430f10
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00430f70
lea ecx, [esp + 0x14]
call fcn.00430e70
push 0x103
lea edx, [esp + 0xe5]
push ebx
push edx
mov byte [esp + 0xec], bl
call fcn.004141c0
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 0x42dce7
mov ecx, dword [str.msawt.dll]
mov edx, dword [0x43fd2c]
push ebx
push 0x80
mov dword [eax], ecx
mov cx, word [0x43fd30]
push 3
mov dword [eax + 4], edx
mov dl, byte [0x43fd32]
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 0x42de72
cmp esi, 0xffffffff
je 0x42de72
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 0x42ddd5
je 0x42ddbb
mov eax, edi
sub eax, 0x6c
je 0x42dda1
sub eax, 0x64
jne 0x42ddf7
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 0x42de03
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 0x42de03
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 0x42de03
cmp edi, 0x328
jne 0x42ddf7
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 0x42de03
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x42de72
cmp dword [esp + 0x38], edx
jne 0x42de5d
cmp dword [esp + 0x3c], edx
jne 0x42de5d
cmp dword [esp + 0x40], edx
jne 0x42de5d
mov esi, dword [esp + 0x18]
cmp esi, ecx
jne 0x42de5d
cmp dword [esp + 0x1c], ecx
jne 0x42de5d
cmp dword [esp + 0x20], ecx
jne 0x42de5d
cmp dword [esp + 0x28], eax
jne 0x42de5d
cmp dword [esp + 0x2c], eax
jne 0x42de5d
cmp dword [esp + 0x30], eax
jne 0x42de5d
mov dword [ebp], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00431010
mov eax, 1
jmp 0x42de88
push eax
push ecx
mov ecx, dword [esp + 0x50]
push edx
call fcn.0042cfd0
mov eax, dword [esp + 0x24]
mov dword [ebp], eax
jmp 0x42de42
lea ecx, [esp + 0x14]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00431010
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.00413d5c
add esp, 0x1e0
ret 8