Function at 0x4238dc
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x1954]
mov eax, 0x1954
call fcn.00439e90
push 0xffffffffffffffff
push 0x46625c
mov eax, dword fs:[0]
push eax
mov eax, 0x16e8
call fcn.00439e90
mov eax, dword [0x498b28]
xor eax, ebp
mov dword [ebp + 0x1950], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
cmp dword [0x49a650], esi
je 0x423931
push 4
call fcn.0041aabd
call dword [0x467194]
push esi
mov dword [0x49ab30], eax
call dword [0x467578]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
xor ebx, ebx
inc ebx
push ebx
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], esi
call fcn.004218c4
push esi
push esi
push esi
push 3
push 4
push esi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [0x467554]
push ebx
push 4
mov ecx, 0x49aae0
call fcn.0041f92b
mov edi, 0x114
push edi
lea eax, [ebp + 0x182c]
push esi
push eax
call fcn.00436a20
add esp, 0xc
lea eax, [ebp + 0x182c]
push eax
mov dword [ebp + 0x182c], edi
call dword [0x467324]
cmp dword [ebp + 0x1830], 5
ja 0x4239bf
jne 0x4239c5
cmp dword [ebp + 0x1834], ebx
jb 0x4239e8
mov dword [0x49a894], ebx
cmp dword [ebp + 0x1830], 5
jbe 0x4239e8
lea ecx, [ebp - 0x16f4]
call fcn.00410c50
call fcn.00410d5c
test eax, eax
je 0x4239e8
mov dword [0x49a898], ebx
mov eax, dword [0x4a45f0]
mov dword [0x49aab0], eax
mov word [0x49a658], si
mov dword [ebp - 0x10], esi
mov ebx, 0x20019
push ebx
push 0x477980
mov edi, reloc.WS2_32.dll_bind
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041ce0e
test eax, eax
je 0x423a24
push str.Bluetooth_Service::install_key_is_not_prepared_n
jmp 0x423a4a
lea eax, [ebp - 0x18]
push eax
push 0x49a658
push 0x46d9d8
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
call fcn.0041d42e
test eax, eax
je 0x423a50
push str.Bluetooth_Service::install_path_is_not_prepared_n
call fcn.0041b266
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041cdf7
push ebx
push str.SoftwareWidcommBTConfigGeneral
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], 1
call fcn.0041ce0e
test eax, eax
jne 0x423aab
lea eax, [ebp - 0x14]
push eax
push str.ShowHardwareInstallWindow
lea ecx, [ebp - 0x10]
call fcn.0041d3f6
test eax, eax
jne 0x423a92
mov eax, dword [ebp - 0x14]
mov dword [0x498734], eax
lea eax, [ebp - 0x20]
push eax
push str.StartLogging
lea ecx, [ebp - 0x10]
call fcn.0041d3f6
lea ecx, [ebp - 0x10]
call fcn.0041cdf7
push ebx
push str.SoftwareWidcommBTConfigDebug
push edi
lea ecx, [ebp - 0x10]
call fcn.0041ce0e
test eax, eax
jne 0x423b1d
lea eax, [ebp - 0x14]
push eax
push str.LogIPAddr
lea ecx, [ebp - 0x10]
call fcn.0041d3f6
test eax, eax
jne 0x423adb
mov eax, dword [ebp - 0x14]
mov dword [0x49a89c], eax
lea eax, [ebp - 0x14]
push eax
push 0x49a8a8
push str.LogFileName
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0x104
call fcn.0041d42e
lea eax, [ebp - 0x14]
push eax
push str.LogDebug
lea ecx, [ebp - 0x10]
call fcn.0041d3f6
test eax, eax
jne 0x423b15
mov eax, dword [ebp - 0x14]
mov dword [0x49a8a0], eax
lea ecx, [ebp - 0x10]
call fcn.0041cdf7
cmp dword [0x49a89c], esi
je 0x423b90
lea eax, [ebp + 0x169c]
push eax
push 2
pop edi
push edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, esi
jne 0x423d47
push esi
push edi
push edi
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x498738], eax
je 0x423d47
push 0x10
lea eax, [ebp + 0x1940]
push esi
push eax
call fcn.00436a20
add esp, 0xc
push 0x10
lea eax, [ebp + 0x1940]
push eax
push dword [0x498738]
mov word [ebp + 0x1940], di
mov dword [ebp + 0x1944], esi
mov word [ebp + 0x1942], si
call dword [sym.imp.WS2_32.dll_bind]
push str.Service_started
call fcn.0041b266
push dword [ebp - 0x20]
push str.Reg_Query_for_StartLogging___d_n
call fcn.0041b266
mov edi, dword [0x467184]
add esp, 0xc
cmp dword [ebp - 0x20], 1
push esi
jne 0x423bc4
push esi
push esi
push 0x41e570
push esi
push esi
call edi
jmp 0x423bca
call fcn.0041ac6b
pop ecx
cmp dword [0x49a898], esi
jne 0x423bfa
push 1
call fcn.004071ec
test eax, eax
pop ecx
je 0x423bf5
push 0x420481
call fcn.00405f1e
mov dword [esp], 0x4205bf
call fcn.00403f96
pop ecx
call fcn.0041f381
push esi
push esi
push 1
push esi
call dword [0x4671c4]
mov dword [0x49a888], eax
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push 0x42326f
push esi
push esi
call edi
mov dword [0x49a88c], eax
lea eax, [ebp - 0x38]
push eax
push esi
push esi
push 0x42ef75
push esi
push esi
mov dword [ebp - 0x38], esi
call edi
push str.Thread_created
mov dword [ebp - 0x18], eax
call fcn.0041b266
mov edi, dword [0x467494]
pop ecx
jmp 0x423c50
lea eax, [ebp - 0x58]
push eax
call dword [0x467498]
push esi
push esi
push esi
lea eax, [ebp - 0x58]
push eax
call edi
test eax, eax
jne 0x423c46
push 0xfa
mov ecx, 0x49aadd
call fcn.00427f93
push str.Bluetooth_Service::Service_stopping..._n
call fcn.0041b266
pop ecx
call fcn.004291f5
mov eax, dword [0x49a888]
cmp eax, esi
je 0x423c8c
push eax
call dword [0x467330]
mov eax, dword [0x49a88c]
cmp eax, esi
mov edi, dword [0x467340]
mov ebx, dword [0x467350]
je 0x423cb7
push 0x4e20
push eax
call edi
push dword [0x49a88c]
call ebx
mov dword [0x49a88c], esi
cmp dword [ebp - 0x18], esi
je 0x423ccb
push 0x4e20
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x18]
call ebx
cmp dword [0x49a898], esi
jne 0x423ce6
push esi
call fcn.00405f1e
push esi
call fcn.00403f96
pop ecx
pop ecx
call fcn.004053d0
push esi
call fcn.0041e3ca
pop ecx
lea ecx, [ebp]
call fcn.00410c50
lea ecx, [ebp]
call fcn.0040c026
test eax, eax
jne 0x423d37
cmp dword [ebp + 0x1688], 2
jne 0x423d37
push 2
push str.CServiceModule::Run:_m_dwUninstall_d
call fcn.0041b266
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0043146a
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00433b76
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00434d19
mov ecx, 0x49aae0
call fcn.0041f96d
call dword [0x467558]
lea ecx, [ebp - 0x10]
call fcn.0041cdf7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041d8ee
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1950]
xor ecx, ebp
call fcn.004369c2
add ebp, 0x1954
leave
ret