Function at 0x4487b2
Capabilities:
Extract resource via kernel32 functions
Get common file path
Get disk size
Initialize winsock library
Resolve dns
Write file on windows

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x30
mov eax, 0x4621cc
call fcn.0045cea5
and dword [ebp - 0x18], 0
mov esi, ecx
push 0x48c1ac
lea ecx, [ebp - 0x1c]
call fcn.00405f70
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00453206
mov dword [esp], str.scanner.dat
push dword [ebp - 0x1c]
push esi
call fcn.00452ef9
mov ebx, 0x472afc
push ebx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00421baf
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCR80.dll__wfopen_s]
push 0x472af8
push eax
lea eax, [ebp - 0x18]
push eax
call edi
mov ecx, dword [ebp - 0x14]
add esp, 0x24
test eax, eax
sete byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.00402703
cmp byte [ebp - 0xd], 0
je 0x448947
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR80.dll_fclose]
pop ecx
lea eax, [ebp + 0x280]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x448947
push str.ussm_cpd.corp.symantec.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
setne byte [ebp - 0xd]
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [ebp - 0xd], 0
je 0x4488c1
push ebx
mov ecx, esi
call fcn.0040811d
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402703
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0045ce96
add ebp, 0x414
leave
ret
call fcn.0042ab82
push 0x1f46
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [eax + 0x828]
call fcn.0042649f
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0042ab82
push 0x3f7
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [eax + 0x828]
call fcn.0042649f
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax]
push 4
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0042ab82
mov ecx, eax
call fcn.0042ab88
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x24]
cmp eax, 6
sete byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402703
cmp byte [ebp - 0xd], 0
jne 0x448889
push 0x472ad8
mov ecx, esi
call fcn.0040811d
call fcn.0042ab82
push str.DATFILE
push str.SCANNER_DAT
lea ecx, [eax + 0x828]
call fcn.00425f66
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x448a8a
call fcn.0042ab82
push dword [ebp - 0x14]
lea ecx, [eax + 0x828]
call fcn.00425f66
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
call fcn.0042ab82
push dword [ebp - 0x14]
lea ecx, [eax + 0x828]
call fcn.00425f66
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebx, ebx
mov dword [ebp - 0x24], eax
je 0x448a8a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, 0x46c828
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
call edi
add esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 0x20], 0
jne 0x448a0b
cmp dword [ebp - 0x28], 0
jg 0x448a51
jl 0x448a0b
cmp dword [ebp - 0x2c], 0xfa000
jae 0x448a51
lea eax, [ebp + 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp]
push eax
push 0
push 0x472aa8
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00404494
mov eax, dword [esi]
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x448a76
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR80.dll_fwrite]
push dword [ebp - 0x18]
mov byte [esi + 4], 1
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
and dword [ebp - 0x18], 0
mov bl, 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402703
mov al, bl
jmp 0x44889e
xor bl, bl
jmp 0x448a78