Function at 0x449a84
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x470028
call fcn.0045b030
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x449ac3
call fcn.00445799
jmp 0x449ac8
mov dword [ebp - 0x10], eax
xor eax, eax
cmp eax, ebx
je 0x449adb
lea ecx, [ebp - 0x10]
call fcn.004457ae
xor eax, eax
jmp 0x449c6e
push 0x489444
lea ecx, [ebp + 8]
call fcn.004028d8
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, str._SITES__r_n
mov eax, edi
mov byte [ebp - 4], 1
test eax, eax
jne 0x449b01
xor eax, eax
jmp 0x449b04
push edi
call esi
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00403113
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov dword [ebp - 0x14], ecx
jne 0x449b1c
xor eax, eax
jmp 0x449b3f
push ecx
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0045b070
mov eax, esp
push ebx
push edi
push dword [ebp - 0x14]
push eax
call fcn.00449c82
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 8]
lea edx, [ebp - 0x20]
push ebx
push edx
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x449b5b
call fcn.00445799
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x1c], ecx
je 0x449c43
jmp 0x449b73
mov ecx, dword [ebp - 0x1c]
add ecx, 8
push ecx
lea ecx, [ebp + 8]
call fcn.00402939
mov edi, 0x482d94
mov eax, edi
test eax, eax
je 0x449b8d
push edi
call esi
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00403152
mov eax, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x449ba6
mov dword [ebp - 0x20], ebx
jmp 0x449bd7
push eax
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x18], eax
add eax, 3
and al, 0xfc
call fcn.0045b070
mov edi, esp
push ebx
push ebx
push dword [ebp - 0x18]
mov byte [edi], bl
push edi
push 0xffffffffffffffff
push dword [ebp - 0x14]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x449be2
xor edi, edi
jmp 0x449c0d
push eax
call esi
lea eax, [eax + eax + 2]
mov dword [ebp - 0x18], eax
add eax, 3
and al, 0xfc
call fcn.0045b070
mov edi, esp
push ebx
push ebx
push dword [ebp - 0x18]
mov byte [edi], bl
push edi
push 0xffffffffffffffff
push dword [ebp - 0x14]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x28]
push ebx
push ecx
push eax
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x449c2f
call fcn.00445799
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jne 0x449b70
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x449c56
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00403037
cmp dword [ebp - 0x10], ebx
je 0x449c6b
push dword [ebp - 0x10]
call esi
push 1
pop eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4