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

Disassembly:
push 0xffffffffffffffff
push 0x43a596
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 esi, dword [esp + 0x1f8]
mov edi, dword [esp + 0x200]
neg esi
sbb esi, esi
xor eax, eax
and esi, 0x40
add esi, 0x40
cmp edi, 0x198
mov byte [esp + 0xa0], 0
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], al
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], al
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
ja 0x42d315
je 0x42d267
mov eax, edi
sub eax, 0x6c
je 0x42d1b9
sub eax, 0x64
jne 0x42d3c9
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 0x42d3b4
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 0x42d3c9
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 0x42d3c9
cmp edi, 0x328
jne 0x42d3c9
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
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], 0
call fcn.00430f10
lea ecx, [esp + 0xa0]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00430fe0
mov ebx, dword [esp + 0x1fc]
lea edx, [esp + 0x80]
push edx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00430fe0
lea eax, [esp + 0xc0]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00430fe0
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 ecx, [esp + 0xa0]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00430fe0
lea edx, [esp + 0x80]
push edx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00430fe0
lea eax, [esp + 0xc0]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00430fe0
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 ecx, [esp + 0xa0]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00430fe0
lea edx, [esp + 0x80]
push edx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00430fe0
lea eax, [esp + 0xc0]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00430fe0
lea ecx, [esp + 0x14]
call fcn.00430e70
lea ecx, [esp + 0x18]
call fcn.0042cdb0
push 0x30
lea ecx, [esp + 0x54]
push 0
push ecx
mov byte [esp + 0x1fc], 1
call fcn.004141c0
mov byte [esp + 0xec], 0
push 0x103
lea edx, [esp + 0xf1]
push 0
push edx
call fcn.004141c0
add esp, 0x18
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
test cl, cl
jne 0x42d544
mov ecx, dword [str.msawt.dll]
mov edx, dword [0x43fd2c]
mov dword [eax], ecx
mov cx, word [0x43fd30]
mov dword [eax + 4], edx
mov dl, byte [0x43fd32]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x28]
call fcn.0042eb90
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0xf8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
test ebp, ebp
je 0x42d6e0
cmp ebp, 0xffffffff
je 0x42d6e0
push 2
push 0
push 0xffffffffffffffd0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [esp + 0x20]
push edx
push 0x30
lea eax, [esp + 0x5c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, 0x198
ja 0x42d632
je 0x42d620
sub edi, 0x6c
je 0x42d60e
sub edi, 0x64
jne 0x42d646
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0xd0
jmp 0x42d646
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x6c
jmp 0x42d646
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x198
jmp 0x42d646
cmp edi, 0x328
jne 0x42d646
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
push 2
push 0
push 0xffffffffffffffd0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x30
lea edx, [esp + 0x5c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x4c]
call fcn.0042ec30
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0
call fcn.00401bf0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00431010
mov eax, 1
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 0xc