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

Disassembly:
push 0xffffffffffffffff
push 0x46c80b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push esi
or esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 4]
push eax
push 1
mov ecx, 0x4710c8
mov dword [esp + 0x150], 0
call fcn.00441e70
push 0x401e4c
push 0
mov ecx, 0x4710c8
call fcn.00441da0
test eax, eax
je 0x444e3c
cmp dword [0x401e64], 0x10
mov edx, dword [0x401e50]
jae 0x444c0c
mov edx, 0x401e50
mov ecx, 0x470e18
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
test al, al
jne 0x444c11
push ebp
push 1
push 0x470e18
lea ecx, [esp + 0x18]
call fcn.004408a0
test al, al
je 0x444c50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.004533c0
test al, al
je 0x444c50
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 0x38]
jmp 0x444c54
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edi
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x444cad
push 0x40000
push 0x406698
push 0x40667c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esp + 0x150], esi
lea ecx, [esp + 0x14]
call fcn.00440850
pop edi
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
add esp, 0x148
ret
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebp
push 0
call esi
lea edx, [esp + 0x10]
push edx
push 2
mov ecx, 0x4710c8
mov dword [0x470e10], eax
call fcn.00441e70
mov eax, dword [0x470e10]
mov ecx, dword [esp + 0x10]
push 0
push ebp
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x444d0a
push 0x40010
push 0x406330
push 0x4069c0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esp + 0x150], 0xffffffff
jmp 0x444c8a
push 0x1000
push 0
call esi
mov esi, dword [esp + 0x28]
mov dword [0x470c00], eax
mov edi, eax
lea edx, [esp + 0x44]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x470c00]
mov edi, dword [0x470e10]
push edx
mov ecx, 0x400
push 0x104
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x44]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x444d50
mov eax, dword [0x4069b4]
mov ecx, dword [0x4069b8]
mov dl, byte [0x4069bc]
push 0
push 0x80
push 4
push 0
mov dword [edi], eax
push 3
push 0xc0000000
lea eax, [esp + 0x5c]
mov dword [edi + 4], ecx
push eax
mov byte [edi + 8], dl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
or edi, 0xffffffff
cmp eax, edi
mov dword [0x470998], eax
jne 0x444dc4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40010
push 0x406330
push 0x4068fc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esp + 0x150], edi
jmp 0x444c8a
mov edx, dword [0x470e10]
push 0
lea ecx, [esp + 0x10]
push ecx
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x470e10]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
call esi
mov ecx, dword [0x470c00]
push ecx
call esi
mov edx, dword [0x470998]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov cl, byte [esp + eax + 0x44]
mov byte [eax + 0x470e18], cl
inc eax
test cl, cl
jne 0x444e00
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], edi
call fcn.00440850
pop edi
pop ebp
mov eax, 1
pop esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
add esp, 0x148
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x148], esi
call fcn.00440850
mov ecx, dword [esp + 0x140]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x148
ret