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

Disassembly:
push 0xffffffffffffffff
push 0x43ca26
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 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 0x42dcf5
je 0x42dc47
mov eax, edi
sub eax, 0x6c
je 0x42db99
sub eax, 0x64
jne 0x42dda9
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 0x42dd94
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 0x42dda9
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 0x42dda9
cmp edi, 0x328
jne 0x42dda9
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
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], 0
call fcn.00431ab0
lea ecx, [esp + 0xa0]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00431b80
mov ebx, dword [esp + 0x1fc]
lea edx, [esp + 0x80]
push edx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00431b80
lea eax, [esp + 0xc0]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00431b80
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 ecx, [esp + 0xa0]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00431b80
lea edx, [esp + 0x80]
push edx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00431b80
lea eax, [esp + 0xc0]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00431b80
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 ecx, [esp + 0xa0]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00431b80
lea edx, [esp + 0x80]
push edx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00431b80
lea eax, [esp + 0xc0]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00431b80
lea ecx, [esp + 0x14]
call fcn.00431a10
lea ecx, [esp + 0x18]
call fcn.0042f930
push 0x30
lea ecx, [esp + 0x54]
push 0
push ecx
mov byte [esp + 0x1fc], 1
call fcn.00414950
mov byte [esp + 0xec], 0
push 0x103
lea edx, [esp + 0xf1]
push 0
push edx
call fcn.00414950
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 0x42df24
mov ecx, dword [str.msawt.dll]
mov edx, dword [0x442e9c]
mov dword [eax], ecx
mov cx, word [0x442ea0]
mov dword [eax + 4], edx
mov dl, byte [0x442ea2]
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.0042f720
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 0x42e0c0
cmp ebp, 0xffffffff
je 0x42e0c0
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 0x42e012
je 0x42e000
sub edi, 0x6c
je 0x42dfee
sub edi, 0x64
jne 0x42e026
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0xd0
jmp 0x42e026
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x6c
jmp 0x42e026
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x198
jmp 0x42e026
cmp edi, 0x328
jne 0x42e026
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.0042f7c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0
call fcn.0042f410
lea ecx, [esp + 0x14]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00404ae0
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.004144f2
add esp, 0x1e0
ret 0xc