Function at 0x401575
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c722
mov eax, dword fs:[0]
push eax
mov eax, 0x23f8
call fcn.00439c50
mov eax, dword [0x483ca0]
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 esi, ecx
push 0x401bdc
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, esi
call fcn.0041e382
xor ebx, ebx
push ebx
call fcn.0041fcd9
mov ecx, esi
mov dword [esp], 0x460a40
call fcn.0041f8e9
push str.TMSetup
call fcn.0040a3a0
pop ecx
test al, al
jne 0x4015f6
push str.1..._n
call fcn.004395f8
pop ecx
jmp 0x401ba2
call fcn.0040a390
mov dword [0x4868e8], eax
test eax, eax
jne 0x40160b
push str.2..._n
jmp 0x4015eb
add eax, 0x200
push str.TMSetup.txt
push eax
call fcn.00438ba0
pop ecx
pop ecx
mov ecx, dword [0x4868e8]
call fcn.00409ec0
test al, al
jne 0x401633
push str.3..._n
jmp 0x4015eb
push ebx
mov dword [0x486e44], 3
call fcn.00410140
pop ecx
call fcn.00410130
mov dword [0x4868ec], eax
call fcn.00416ae9
lea ecx, [ebp - 0x2404]
push ecx
push str.32770
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
push 0x200
lea eax, [ebp - 0x2210]
mov edi, str.TMSetupWindow
push eax
push edi
call fcn.0040fa60
add esp, 0xc
lea eax, [ebp - 0x2210]
mov dword [ebp - 0x23e0], eax
lea eax, [ebp - 0x2404]
push eax
call fcn.00417ec0
test eax, eax
jne 0x4016c0
push edi
push str.AfxRegisterClass_failed_for__s
push 0x7f
push str.PCSetup.cpp
push ebx
push str.PCSetupApp::InitInstance__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x1c
push 0x1a8
call fcn.004167be
pop ecx
mov dword [ebp - 0x23d8], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x4016e2
push ebx
mov ecx, eax
call fcn.00402121
jmp 0x4016e4
mov eax, ebx
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xd4], eax
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x23d0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xfff
lea eax, [ebp - 0x1a0f]
mov byte [ebp - 0x1a10], bl
push ebx
push eax
call fcn.00438b10
push 0x30b0
mov dword [ebp - 0x23dc], ebx
call fcn.004167be
add esp, 0x10
mov dword [ebp - 0x23d8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x40174a
mov ecx, eax
call fcn.00403b70
mov ecx, eax
jmp 0x40174c
mov ecx, ebx
or dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xcc]
mov dword [esi + 0xd0], ecx
mov dword [ecx + 0x1624], eax
call fcn.00416ae9
mov edi, 0x2029
push 0x1000
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0xd0]
add eax, edi
push eax
push dword [ecx + 0x48]
call fcn.0040f9f0
mov eax, dword [esi + 0xd0]
add eax, edi
mov edi, str.PCSetup.cpp
push eax
push str.m_lpCmdLine___s
push 0x8f
push edi
push ebx
push str.PCSetupApp::InitInstance__
push dword [0x4868e8]
call fcn.0040a4c0
mov ecx, dword [esi + 0xd0]
add esp, 0x28
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ecx + 0x2029], 0
je 0x4017d8
lea eax, [ebp - 0x1a10]
push eax
call fcn.004063e0
jmp 0x40198a
push 0x200
xor ecx, ecx
lea eax, [ebp - 0x1e10]
push eax
push ecx
mov dword [ebp - 0x23d8], ecx
mov dword [ebp - 0x23d4], ecx
call ebx
push 0x200
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x1e10]
push eax
call fcn.0040f9f0
lea eax, [ebp - 0x610]
push eax
push str.sCurrentFilePath___s
push 0x9f
push edi
push 0
push str.PCSetupApp::InitInstance__
push dword [0x4868e8]
call fcn.0040a4c0
lea eax, [ebp - 0x23d4]
push eax
lea eax, [ebp - 0x23d8]
push eax
lea eax, [ebp - 0x610]
push 0x200
push eax
call fcn.0040d6b0
add esp, 0x38
cmp dword [ebp - 0x23d4], 0
je 0x40196a
push dword [ebp - 0x23d8]
mov edi, str.VVIDDDD111111____________UUUU
push dword [ebp - 0x23d4]
push edi
call fcn.00438ca0
pop ecx
push eax
push edi
call fcn.0040be00
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x401937
push str.VVIDDDD111111____________UUUU
call fcn.00438ca0
add eax, edi
add eax, dword [ebp - 0x23d4]
pop ecx
push eax
lea ecx, [ebp - 0x2240]
call fcn.00401403
lea eax, [ebp - 0x23dc]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x1a10]
push eax
lea eax, [ebp - 0x2240]
push eax
call fcn.0040b340
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2240]
add esp, 0xc
push 0
push 1
call fcn.00401ddf
mov eax, dword [ebp - 0x23dc]
cmp eax, 0x1000
jae 0x401932
mov ecx, dword [esi + 0xd0]
mov byte [ebp + eax - 0x1a10], 0
lea eax, [ebp - 0x1a10]
push eax
call fcn.00405650
mov edi, str.PCSetup.cpp
test al, al
je 0x40191f
push str.Valid_sSetting
push 0xb5
jmp 0x401946
push str.Invalid_setting
mov byte [ebp - 0x1a10], 0
push 0xba
jmp 0x401946
call fcn.004383dd
push str.Failed_to_find_parameters
push 0xbe
mov edi, str.PCSetup.cpp
push edi
push 0
push str.PCSetupApp::InitInstance__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x18
push dword [ebp - 0x23d4]
call fcn.004167f4
pop ecx
jmp 0x40198a
push str.Failed_to_open_this_exe_file
push 0xc4
push edi
push 0
push str.PCSetupApp::InitInstance__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x18
cmp byte [ebp - 0x1a10], 0
jne 0x401b6d
mov ecx, dword [esi + 0xd0]
lea eax, [ebp - 0x1a10]
push eax
call fcn.00406040
test al, al
jne 0x401b6d
mov esi, 0x1ff
mov byte [ebp - 0x410], al
push esi
lea eax, [ebp - 0x40f]
push 0
push eax
call fcn.00438b10
push esi
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
push 0
push eax
call fcn.00438b10
add esp, 0x18
lea ecx, [ebp - 0x2228]
push 0x460828
call fcn.00401403
inc esi
mov dword [ebp - 4], 3
push esi
lea eax, [ebp - 0xa10]
push eax
push 0
call ebx
push esi
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xa10]
push eax
call fcn.0040f9f0
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0xa10]
push eax
call fcn.0040f9f0
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
lea eax, [ebp - 0x410]
mov esi, str.PCSetupApp::InitInstance__
push eax
push str.sCurrentFilePath___s__sCurrentFileName___s
push 0x108
push edi
push ebx
push esi
push dword [0x4868e8]
call fcn.0040a4c0
lea eax, [ebp - 0x210]
push str.Starter
push eax
call fcn.00439380
add esp, 0x34
test eax, eax
jne 0x401ad1
lea eax, [ebp - 0x210]
push str.starter
push eax
call fcn.00439380
pop ecx
pop ecx
test eax, eax
jne 0x401ad1
lea eax, [ebp - 0x210]
push eax
push str.invalid_sCurrentFileName___s
push 0x111
push edi
push ebx
push esi
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x1c
push ebx
push 1
lea ecx, [ebp - 0x2228]
call fcn.00401ddf
jmp 0x401ba2
lea ecx, [ebp - 0x210]
sub eax, ecx
cmp eax, 0x200
jae 0x401932
mov byte [ebp + eax - 0x210], bl
cmp byte [ebp - 0x210], bl
jne 0x401af7
mov eax, ebx
jmp 0x401b04
lea eax, [ebp - 0x210]
push eax
call fcn.00438ca0
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x2228]
call fcn.00401eb7
cmp dword [ebp - 0x2214], 0x10
lea eax, [ebp - 0x2228]
cmovae eax, dword [ebp - 0x2228]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00402fe0
cmp dword [ebp - 0x2214], 0x10
lea eax, [ebp - 0x2228]
cmovae eax, dword [ebp - 0x2228]
push eax
push str.No_Meeting_Parameter__sClientName___s
push 0x119
push edi
push ebx
push esi
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x24
jmp 0x401abe
mov ecx, dword [esi + 0xd0]
lea eax, [ebp - 0x1a10]
push eax
call fcn.00408a10
mov eax, dword [esi + 0xd0]
mov byte [eax + 0xc], 0
mov ecx, dword [esi + 0xd0]
call fcn.00409be0
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x170]
xor eax, eax
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.004396df
mov esp, ebp
pop ebp
ret