Function at 0x4b3390
Capabilities:
Get disk information
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22f4
call fcn.004ced50
mov eax, dword [0x53273c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x544a0c], 0
jne 0x4b33d4
lea eax, [ebp - 0x22d4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4b361f
mov dword [0x544a0c], 1
push ebx
push esi
lea esi, [ebp - 0x144]
push 0x100
mov eax, esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4b3418
cmp byte [ebp - 0x144], al
je 0x4b3418
inc esi
cmp byte [esi], 0
jne 0x4b33f6
lea eax, [ebp - 0x144]
cmp eax, esi
jae 0x4b3418
push 0
push esi
push eax
call fcn.004af350
add esp, 0xc
add dword [0x544a24], eax
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x22e8], eax
test eax, eax
je 0x4b3633
push str.GetAdaptersAddresses
push eax
mov dword [ebp - 0x22e0], 0
mov dword [ebp - 0x22d8], 0x2000
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4b3647
lea eax, [ebp - 0x22d8]
push eax
lea ebx, [ebp - 0x2144]
mov eax, ebx
mov dword [ebp - 0x22dc], ebx
push eax
push 0
push 0xe
push 0
call esi
add esp, 0x14
test eax, eax
je 0x4b34e3
cmp eax, 0xe8
je 0x4b3582
cmp eax, 0x32
je 0x4b3582
cmp eax, 0x6f
jne 0x4b360a
mov eax, dword [ebp - 0x22d8]
add eax, 0x20
push eax
mov dword [ebp - 0x22d8], eax
call fcn.004538c0
mov ebx, eax
lea eax, [ebp - 0x22d8]
push eax
push ebx
push 0
push 0xe
push 0
mov dword [ebp - 0x22dc], ebx
mov dword [ebp - 0x22e0], ebx
call esi
add esp, 0x18
test eax, eax
jne 0x4b360a
test ebx, ebx
je 0x4b3582
push edi
mov eax, dword [ebx + 0x40]
cmp eax, 6
je 0x4b34f1
cmp eax, 0x47
jne 0x4b355d
movzx eax, byte [ebx + 0x2c]
lea esi, [ebx + 0x2c]
push eax
push str._02X
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004085b0
lea edi, [ebp - 0x44]
add esp, 0x10
add edi, eax
mov eax, dword [ebx + 0x34]
add eax, esi
inc esi
mov dword [ebp - 0x22e4], eax
cmp esi, eax
jae 0x4b3548
mov ebx, eax
movzx eax, byte [esi]
push eax
lea eax, [ebp - 4]
push str.__02X
sub eax, edi
push eax
push edi
call fcn.004085b0
inc esi
add esp, 0x10
add edi, eax
cmp esi, ebx
jb 0x4b3523
mov ebx, dword [ebp - 0x22dc]
push 1
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.004af350
add esp, 0xc
add dword [0x544a28], eax
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x22dc], ebx
test ebx, ebx
jne 0x4b34e4
mov eax, dword [ebp - 0x22e0]
pop edi
test eax, eax
je 0x4b3582
push eax
call fcn.004d2dae
add esp, 4
push dword [ebp - 0x22e8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
lea eax, [ebp - 0x22f0]
push eax
lea eax, [ebp - 0x22f4]
push eax
lea eax, [ebp - 0x22ec]
push eax
push 0
push 0
push 0x508664
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
pop esi
pop ebx
test eax, eax
je 0x4b35fc
mov ecx, dword [ebp - 0x22ec]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x144]
push ecx
push str._04X__04X
push 0x100
push eax
call fcn.004085b0
lea ecx, [ebp - 0x144]
add eax, ecx
push 0
push eax
mov eax, ecx
push eax
call fcn.004af350
add esp, 0x20
add dword [0x544a38], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
push eax
push str.Surprise_return__d_from_GetProcAddress_n
call fcn.004084d0
add esp, 8
push 1
call fcn.004d31f3
push str.WSAStartup_failed._n
call fcn.004084d0
add esp, 4
push 1
call fcn.004d31f3
push str.LoadLibrary__iphlpapi.dll___failed._n
call fcn.004084d0
add esp, 4
push 1
call fcn.004d31f3
push str.GetProcAddress_h___GetAdaptersAddresses___failed._n
call fcn.004084d0
add esp, 4
push 1
call fcn.004d31f3
int3