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

Disassembly:
push 0xffffffffffffffff
push 0x4645ab
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, 0x468db0
mov dword [esp + 0x150], 0
call fcn.004399e0
push 0x4037a4
push 0
mov ecx, 0x468db0
call fcn.00439910
test eax, eax
je 0x43c77c
cmp dword [0x4037bc], 0x10
mov edx, dword [0x4037a8]
jae 0x43c54c
mov edx, 0x4037a8
mov ecx, 0x468b00
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
test al, al
jne 0x43c551
push ebp
push 1
push 0x468b00
lea ecx, [esp + 0x18]
call fcn.00438480
test al, al
je 0x43c590
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.0044b300
test al, al
je 0x43c590
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 0x38]
jmp 0x43c594
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 0x43c5ed
push 0x40000
push 0x407598
push 0x40757c
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
mov dword [esp + 0x150], esi
lea ecx, [esp + 0x14]
call fcn.00438430
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, 0x468db0
mov dword [0x468af8], eax
call fcn.004399e0
mov eax, dword [0x468af8]
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 0x43c64a
push 0x40010
push 0x407230
push 0x4078b8
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
mov dword [esp + 0x150], 0xffffffff
jmp 0x43c5ca
push 0x1000
push 0
call esi
mov esi, dword [esp + 0x28]
mov dword [0x4688e8], eax
mov edi, eax
lea edx, [esp + 0x44]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x4688e8]
mov edi, dword [0x468af8]
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 0x43c690
mov eax, dword [0x4078ac]
mov ecx, dword [0x4078b0]
mov dl, byte [0x4078b4]
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 [0x468680], eax
jne 0x43c704
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x40010
push 0x407230
push 0x4077f0
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
mov dword [esp + 0x150], edi
jmp 0x43c5ca
mov edx, dword [0x468af8]
push 0
lea ecx, [esp + 0x10]
push ecx
push ebp
push edx
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [0x468af8]
mov esi, dword [sym.imp.kernel32.dll_GlobalFree]
push eax
call esi
mov ecx, dword [0x4688e8]
push ecx
call esi
mov edx, dword [0x468680]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov cl, byte [esp + eax + 0x44]
mov byte [eax + 0x468b00], cl
inc eax
test cl, cl
jne 0x43c740
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], edi
call fcn.00438430
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.00438430
mov ecx, dword [esp + 0x140]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x148
ret