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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480dd7
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov eax, dword [0x4af2c0]
imul eax, eax
cdq
mov ecx, 9
idiv ecx
cmp edx, 6
jne 0x44b08b
push 4
call fcn.00460a63
mov ecx, dword [0x4af2c0]
add esp, 4
mov dword [eax], ecx
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x115], 0
mov byte [ebp - 0x114], 0
call fcn.00462e00
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x44b347
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x44b114
movzx edi, ax
push 0
push edi
call fcn.00403750
add esp, 8
test eax, eax
je 0x44b142
push edi
push eax
lea ecx, [ebp - 0x11c]
call fcn.00405c50
jmp 0x44b13c
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44b120
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00408620
mov esi, dword [ebp - 0x11c]
mov ebx, dword [esi - 0xc]
mov dword [ebp - 4], 1
lea eax, [ebx - 1]
test eax, eax
js 0x44b165
cmp eax, ebx
jg 0x44b165
mov al, byte [eax + esi]
cmp al, 0x5c
je 0x44b1a2
lea edi, [ebx + 1]
test edi, edi
jns 0x44b16f
push 0x80070057
call fcn.00403930
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x44b192
push edi
lea ecx, [ebp - 0x11c]
call fcn.00407d40
mov esi, dword [ebp - 0x11c]
mov byte [ebx + esi], 0x5c
cmp edi, dword [esi - 8]
jg 0x44b165
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x124], eax
mov eax, 0x490f70
mov byte [ebp - 4], 2
push 0
test eax, 0xffff0000
jne 0x44b1e9
movzx edi, ax
push edi
call fcn.00403750
add esp, 8
test eax, eax
je 0x44b1f9
push edi
push eax
lea ecx, [ebp - 0x124]
call fcn.00405c50
jmp 0x44b1f9
push 0x490f70
lea ecx, [ebp - 0x124]
call fcn.00408620
lea eax, [ebp - 0x124]
push eax
push dword [0x4adbb0]
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 3
call fcn.00453040
push dword [eax]
mov ebx, dword [ebp - 0x120]
lea eax, [ebp - 0x114]
push eax
add ebx, 0x24
push str._s_s_popup.html
push ebx
mov byte [ebp - 4], 4
call fcn.00404500
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
or edi, 0xffffffff
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44b260
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44b283
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44b329
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x120]
add ecx, 0x20
mov dword [ebp - 0x128], 0
mov eax, dword [ecx]
mov dword [ebp - 0x120], ecx
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x12c], edx
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, edx
jge 0x44b2f5
push 0
call fcn.00407d40
mov ecx, dword [ebp - 0x120]
push 0
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x12c]
push dword [ecx]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x115], 1
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x44b347
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x115]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret