Function at 0x44f3a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7290
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x501814]
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 edi, ecx
cmp dword [edi + 0x5100], 0
je case.default.0x44f94d
cmp dword [edi + 0x510c], 0
je case.default.0x44f94d
cmp dword [edi + 0x5104], 0
je case.default.0x44f94d
cmp dword [edi + 0x5110], 0
je case.default.0x44f94d
xor esi, esi
push esi
push esi
push 2
call fcn.0044a440
lea eax, [ebp - 0x1ac]
push eax
call fcn.0046bdc0
add esp, 4
lea ecx, [edi + 0x3470]
push eax
call fcn.004445a0
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x190
lea eax, [ebp - 0x1a0]
push esi
push eax
call fcn.004a6d90
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44f93c
push eax
push eax
push 2
mov ecx, edi
call fcn.0044a440
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x44f498
push eax
push 0x4d42d4
lea ecx, [edi + 0x3470]
call fcn.00444830
jmp case.default.0x44f94d
push 0
push 0
push 2
mov ecx, edi
call fcn.0044a440
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x44f4de
push eax
push 0x4d42e4
lea ecx, [edi + 0x3470]
call fcn.00444830
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
jmp case.0x44f94d.2
push 0
push 0
push 2
mov ecx, edi
call fcn.0044a440
call fcn.0046b320
test al, al
je 0x44f62a
push 0x4d88a4
push 0x2c
call fcn.004a55e9
add esp, 8
test eax, eax
je 0x44f514
mov ecx, eax
call fcn.0049c5d0
jmp 0x44f516
xor eax, eax
push eax
lea ecx, [edi + 0x5118]
call fcn.00426d30
mov ecx, dword [edi + 0x5118]
test ecx, ecx
je 0x44f591
push 0
push 0x4d0494
push 0x4f910c
push dword [0x50b884]
call fcn.0049c700
test eax, eax
jne 0x44f591
mov ecx, dword [edi + 0x5118]
call fcn.0049c850
mov ecx, dword [edi + 0x5118]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x44f591
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jns 0x44f587
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1a4]
mov esi, eax
push 1
mov edx, dword [ecx]
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [edi + 0x5118], 0
push 0x4d88a4
push 0x2c
call fcn.004a55e9
add esp, 8
test eax, eax
je 0x44f5ad
mov ecx, eax
call fcn.0049c5d0
jmp 0x44f5af
xor eax, eax
push eax
lea ecx, [edi + 0x511c]
call fcn.00426d30
mov ecx, dword [edi + 0x511c]
test ecx, ecx
je 0x44f62a
push 0
push 0x4d0494
push 0x4f911c
push dword [0x50b884]
call fcn.0049c700
test eax, eax
jne 0x44f62a
mov ecx, dword [edi + 0x511c]
call fcn.0049c850
mov ecx, dword [edi + 0x511c]
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
je 0x44f62a
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jns 0x44f620
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1a4]
mov esi, eax
push 1
mov edx, dword [ecx]
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [edi + 0x511c], 0
push 0
push 0
push 2
mov ecx, edi
mov esi, 3
call fcn.0044a440
test byte [0x50b880], 1
je 0x44f65e
push 0
push 0x4ce734
push 0x4cebc8
push 0x4f9080
call fcn.00403760
add esp, 0x10
lea ebx, [edi + 0x5228]
push str.shelper.dll
lea ecx, [ebx + 0x48]
mov dword [ebp - 4], 0
call fcn.00494610
test eax, eax
je 0x44f6af
push 0
push 0
push 2
push str.shelper.dll
mov ecx, ebx
call fcn.004405a0
test eax, eax
je 0x44f6af
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x44f6af
call eax
test eax, eax
jne 0x44f6aa
mov ecx, ebx
call fcn.0043d950
xor eax, eax
jmp 0x44f6af
mov eax, 1
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x44f6f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x50b880], 1
je 0x44f93c
push eax
push 0x4ce734
push 0x4cebd8
push 0x4f9080
call fcn.00403760
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
call dword [eax + 0x24]
jmp case.0x44f94d.3
push 0
push 0
push 2
mov ecx, edi
call fcn.0044a440
test byte [0x50b880], 1
je 0x44f720
push 0
push 0x4ce734
push 0x4cebb8
push 0x4f9080
call fcn.00403760
add esp, 0x10
push 0x4ad68e
lea ecx, [edi + 0x30]
call fcn.0049ecd0
test eax, eax
je 0x44f74d
push 0x4ad68e
lea ecx, [edi + 0x3198]
call fcn.0043f260
test eax, eax
jne 0x44f759
lea ecx, [edi + 0x30]
call fcn.0049ea00
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
jmp case.0x44f94d.4
push 0
push 0
push 2
mov ecx, edi
mov esi, 5
call fcn.0044a440
push 0x4ad68e
push 0
push 0
push 0x4508b0
push edi
lea ecx, [edi + 0x51b8]
call fcn.0043f690
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
mov esi, 6
call fcn.0044a440
lea ecx, [edi + 0x3418]
call fcn.00498120
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
mov esi, 7
call fcn.0044a440
mov ecx, dword [edi + 0x5104]
push ebx
call fcn.004112e0
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
mov esi, 8
call fcn.0044a440
mov ecx, dword [edi + 0x5110]
call fcn.0045b620
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
mov esi, 9
call fcn.0044a440
lea ecx, [edi + 0x5120]
call fcn.00402d80
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
mov esi, 0xa
call fcn.0044a440
push dword [edi + 0x511c]
mov ecx, dword [edi + 0x510c]
call fcn.00426e90
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
mov esi, 0xb
call fcn.0044a440
push dword [edi + 0x5118]
mov ecx, dword [edi + 0x5108]
push ebx
call fcn.0042f0f0
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
mov esi, 0xc
call fcn.0044a440
mov ecx, dword [edi + 0x5114]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x44f93c
push 0
push 0
push 2
mov ecx, edi
call fcn.0044a440
push 0
push 0
push 4
mov ecx, edi
call fcn.0044a440
test byte [0x50b880], 1
je 0x44f8da
push 0
push 0x4ce734
push 0x4ceba8
push 0x4f9080
call fcn.00403760
add esp, 0x10
push 0x4d88a4
push 0x1c
call fcn.004a55e9
mov esi, eax
add esp, 8
test esi, esi
je 0x44f921
mov ecx, esi
call fcn.00492860
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x25
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi], vtable.ControlSvc::msg::CStart.0
mov dword [esi + 8], vtable.ControlSvc::msg::CStart.1.0
jmp 0x44f923
xor esi, esi
mov eax, dword [edi + 0x3418]
lea ecx, [edi + 0x3418]
push 0
push esi
call dword [eax + 0x1c]
mov al, 1
jmp 0x44fa6f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
dec esi
cmp esi, 0xc
ja case.default.0x44f94d
jmp dword [esi*4 + 0x44fa8c]
mov ecx, dword [edi + 0x5114]
add ecx, 0x70
push 0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x5108]
call fcn.0042ed70
mov ecx, dword [edi + 0x510c]
call fcn.00426e10
lea ecx, [edi + 0x5120]
call fcn.00402c80
mov ecx, dword [edi + 0x5110]
call fcn.00459ac0
mov ecx, dword [edi + 0x5104]
push 0
mov eax, dword [ecx + 0xc]
add ecx, 0xc
mov eax, dword [eax + 8]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [edi + 0x3418]
call fcn.004980c0
mov eax, dword [edi + 0x51b8]
lea ecx, [edi + 0x51b8]
push 0
call dword [eax + 4]
lea ecx, [edi + 0x30]
call fcn.0043d910
lea ecx, [edi + 0x5228]
call fcn.0043d950
mov ecx, dword [edi + 0x5118]
test ecx, ecx
je 0x44fa1d
call fcn.0049c850
mov ebx, dword [edi + 0x5118]
test ebx, ebx
je 0x44fa1d
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jns 0x44fa13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [edi + 0x5118], 0
mov ecx, dword [edi + 0x511c]
test ecx, ecx
je case.0x44f94d.2
call fcn.0049c850
mov ebx, dword [edi + 0x511c]
test ebx, ebx
je case.0x44f94d.2
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jns 0x44fa57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [edi + 0x511c], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
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.004a559d
mov esp, ebp
pop ebp
ret