Function at 0x444d60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x6f1114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, edx
push 0
push 0
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x1e0], eax
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
lea eax, [ebp - 0x1d0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x444dda
mov eax, dword [0x6fec84]
test eax, eax
jne 0x444df0
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6fec84], eax
cmp eax, 0x20
jae 0x444df0
mov dword [0x6fec84], 0
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1496
mov esp, ebp
pop ebp
ret
cmp dword [0x6feca0], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x444e10
push str.SnmpExtensionInit
push eax
call esi
mov dword [0x6feca0], eax
test eax, eax
je 0x444dda
push 0x6feca4
push 0x6fec90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x6feca0]
cmp dword [0x6fec88], 0
jne 0x444e46
push str.SnmpExtensionInitEx
push dword [0x6fec84]
call esi
mov dword [0x6fec88], eax
test eax, eax
je 0x444dda
cmp dword [0x6fec9c], 0
jne 0x444e69
push str.SnmpExtensionQuery
push dword [0x6fec84]
call esi
mov dword [0x6fec9c], eax
test eax, eax
je 0x444dda
cmp dword [0x6fec8c], 0
jne 0x444e8c
push str.SnmpExtensionTrap
push dword [0x6fec84]
call esi
mov dword [0x6fec8c], eax
test eax, eax
je 0x444dda
mov ecx, dword [0x6fec58]
lea eax, [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1d8], eax
mov eax, dword [0x6fec5c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x6f5788]
shl eax, 2
push eax
push 0x40
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1d4], 1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x444ede
push 1
call esi
jmp 0x444efe
mov eax, dword [0x6f5788]
shl eax, 2
push eax
push dword [0x6f578c]
push ecx
call fcn.004b9cd0
mov eax, dword [0x6f5788]
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1d8]
push eax
push 0xa1
call dword [0x6fec9c]
test eax, eax
je 0x4450e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1dc], eax
mov eax, dword [0x6f5780]
shl eax, 2
push eax
push 0x40
mov dword [ebp - 0x1d4], 2
call edi
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x444f4f
push 1
call esi
jmp 0x444f6f
mov eax, dword [0x6f5780]
shl eax, 2
push eax
push dword [0x6f5784]
push ecx
call fcn.004b9cd0
mov eax, dword [0x6f5780]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [0x6f5778]
shl eax, 2
push eax
push 0x40
call edi
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x444f8b
push 1
call esi
jmp 0x444fab
mov eax, dword [0x6f5778]
shl eax, 2
push eax
push dword [0x6f577c]
push ecx
call fcn.004b9cd0
mov eax, dword [0x6f5778]
add esp, 0xc
mov dword [ebp - 0x1c], eax
xor ebx, ebx
cmp dword [ebp - 0x1dc], ebx
jle 0x4450cf
nop dword [eax]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1d8]
push eax
push 0xa1
call dword [0x6fec9c]
test eax, eax
je 0x4450c2
mov esi, dword [0x6f5780]
mov ecx, esi
mov eax, dword [ebp - 0x34]
cmp eax, esi
cmovb ecx, eax
cmp esi, ecx
cmovae esi, ecx
xor edx, edx
test esi, esi
je 0x445023
mov edi, dword [ebp - 0x30]
mov ecx, dword [0x6f5784]
sub edi, ecx
nop dword [eax + eax]
mov eax, dword [edi + ecx]
sub eax, dword [ecx]
jne 0x4450c2
inc edx
add ecx, 4
cmp edx, esi
jb 0x445010
cmp dword [ebp - 0x28], 6
jne 0x4450c2
mov esi, dword [0x6f5778]
mov ecx, esi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
cmovb ecx, eax
cmp esi, ecx
cmovae esi, ecx
xor edx, edx
test esi, esi
je 0x445062
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x6f577c]
sub edi, ecx
mov eax, dword [edi + ecx]
sub eax, dword [ecx]
jne 0x4450c2
inc edx
add ecx, 4
cmp edx, esi
jb 0x445053
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4450c2
mov eax, dword [ecx]
mov edx, 0x6fec94
cmp eax, dword [edx]
jne 0x44507e
movzx eax, word [ecx + 4]
cmp ax, word [edx + 4]
je 0x4450c2
mov esi, dword [ebp - 0x1e0]
mov edi, dword [ebp - 0x1e4]
mov eax, dword [esi]
inc eax
lea eax, [eax + eax*2]
add eax, eax
push eax
push dword [edi]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x4450cf
mov dword [edi], eax
mov ecx, dword [esi]
push 6
push dword [ebp - 0x10]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*2]
push eax
call fcn.004b9cd0
add esp, 0xc
inc dword [esi]
inc ebx
cmp ebx, dword [ebp - 0x1dc]
jl 0x444fc0
mov esi, dword [ebp - 0x1e0]
mov esi, dword [esi]
neg esi
sbb esi, esi
neg esi
dec esi
jmp 0x4450e5
mov esi, 0xfffffffe
push dword [ebp - 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call edi
mov al, byte [ebp - 0x2c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
cmp al, 6
jne 0x44511a
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
jmp 0x445135
cmp al, 4
je 0x44512a
cmp al, 0x40
je 0x44512a
cmp al, 0x44
je 0x44512a
cmp al, 0x30
jne 0x445135
cmp dword [ebp - 0x20], 0
je 0x445135
push dword [ebp - 0x28]
call edi
push dword [ebp - 0x18]
mov byte [ebp - 0x2c], 5
call edi
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp al, 6
jne 0x44516b
push dword [ebp - 0xc]
call edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1496
mov esp, ebp
pop ebp
ret
cmp al, 4
je 0x44517b
cmp al, 0x40
je 0x44517b
cmp al, 0x44
je 0x44517b
cmp al, 0x30
jne 0x445186
cmp dword [ebp - 8], 0
je 0x445186
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1496
mov esp, ebp
pop ebp
ret