Function at 0x4015f7
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0040102f
mov eax, dword [0x40b270]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov dword [ebp - 0x14], eax
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x80
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 0x80
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x40b270]
push 0
push 0x32
mov dword [ebp - 0x14], eax
call edi
push eax
push 0x31
call edi
push eax
mov edi, 0x80
push 1
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 0
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x40b268
call fcn.00401fbb
mov edi, eax
mov eax, esi
neg eax
lea ecx, [esi + 0x1c]
sbb eax, eax
and eax, ecx
lea ecx, [edi + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401ece
mov eax, esi
lea ecx, [esi + 0x20]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401ece
mov eax, dword [ebx]
test eax, eax
je 0x4016de
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x24]
mov word [ebp - 0x14], 4
call fcn.00401f29
push 0
push ecx
mov ecx, esp
push 0xbb8
mov dword [ebp - 0x10], 0x154
mov dword [ebp - 0xc], 0x46
mov dword [ebp - 8], 0x195
mov dword [ebp - 4], 0x69
call fcn.004020f0
mov edi, 0x50000000
push 0
push edi
push 0x40a17c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x3c]
call fcn.00402027
push 0
push ecx
mov ecx, esp
push 0xbc2
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0xc], 0x16
mov dword [ebp - 8], 0x3c
mov dword [ebp - 4], 0x2a
call fcn.004020f0
push 0
push edi
push 0x40a174
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x44]
call fcn.00402079
push 0
push ecx
mov ecx, esp
push 0xbc2
mov dword [ebp - 0x10], 0x46
mov dword [ebp - 0xc], 0x16
mov dword [ebp - 8], 0xd2
mov dword [ebp - 4], 0x2a
call fcn.004020f0
push 0
push edi
push 0x40a168
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x48]
call fcn.00402079
push 0
push ecx
mov ecx, esp
push 0xbbd
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0xc], 0x46
mov dword [ebp - 8], 0x64
mov dword [ebp - 4], 0x5a
call fcn.004020f0
push 0
push edi
push 0x40a15c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x4c]
call fcn.00402079
push 0
push ecx
mov ecx, esp
push 0xbc0
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0xc], 0x46
mov dword [ebp - 8], 0x154
mov dword [ebp - 4], 0x5a
call fcn.004020f0
push 0
push edi
push 0x40b24c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x58]
call fcn.00402079
push 0
push ecx
mov ecx, esp
push 0xbbe
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0xc], 0x6e
mov dword [ebp - 8], 0x64
mov dword [ebp - 4], 0x82
call fcn.004020f0
push 0
push edi
push 0x40a150
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x54]
call fcn.00402079
push 0
push ecx
mov ecx, esp
push 0xbc1
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0xc], 0x6e
mov dword [ebp - 8], 0x154
mov dword [ebp - 4], 0x82
call fcn.004020f0
push 0
push edi
push 0x40b24c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x50]
call fcn.00402079
push 0
push ecx
mov ecx, esp
push 0xbbc
mov dword [ebp - 0x10], 0x1e
mov dword [ebp - 0xc], 0x96
mov dword [ebp - 8], 0x82
mov dword [ebp - 4], 0xaa
call fcn.004020f0
push 0
push 0x50000003
push 0x40a144
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x60]
call fcn.00402027
mov eax, 0x96
push 0
push ecx
mov ecx, esp
push 0xbc6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfa
mov dword [ebp - 4], 0xaa
call fcn.004020f0
push 0
push 0x50000003
push 0x40a138
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea ecx, [esi + 0x64]
call fcn.00402027
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xff
push eax
lea eax, [ebp - 0x25c]
push eax
push str.Adjust_Auto
push str.SOFTWARESetTimeGB
call fcn.00402c42
add esp, 0x10
test eax, eax
jne 0x4019c0
lea eax, [ebp - 0x25c]
push eax
call fcn.0040343b
cmp eax, 1
pop ecx
mov dword [esi + 0x178], eax
jne 0x4019c7
mov byte [0x40b2f8], al
jmp 0x4019c7
and dword [esi + 0x178], 0
push 0
push dword [esi + 0x178]
push 0xf1
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [esi + 0x17c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x40a110
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x1c], 0xff
call fcn.00402c42
add esp, 0x10
test eax, eax
jne 0x401a5c
and byte [ebp - 0x15c], al
push 0x40
pop ecx
lea edi, [ebp - 0x15b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x15c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00403540
pop ecx
test eax, eax
pop ecx
jne 0x401a57
mov dword [esi + 0x17c], 1
mov edi, 0x50000000
push 0
push dword [esi + 0x17c]
push 0xf1
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ecx
mov ecx, esp
push 0xbc3
mov dword [ebp - 0x10], 0x14a
mov dword [ebp - 0xc], 0xe6
mov dword [ebp - 8], 0x1c2
mov dword [ebp - 4], 0xfa
call fcn.004020f0
push 0
push edi
push 0x40a0d4
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
lea edi, [esi + 0x68]
mov ecx, edi
call fcn.00402079
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
or ch, 1
cmp eax, ecx
je 0x401adb
push ecx
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
and dword [ebp - 0x58], 0
push 0xe
mov edx, eax
and dword [ebp - 0x14], 0
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp eax, 0x3c
jne 0x401b21
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0x2bc
push eax
mov byte [ebp - 0x43], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
push 0x30
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ecx
mov ecx, esp
push 0xbc5
mov dword [ebp - 0x10], 0x19
mov dword [ebp - 0xc], 0xc3
mov dword [ebp - 8], 0x145
mov dword [ebp - 4], 0xd7
lea edi, [esi + 0x6c]
call fcn.004020f0
push 0
push 0x50000000
push 0x40b24c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004020f0
push dword [ebx]
mov ecx, edi
call fcn.00402079
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
or ch, 1
cmp eax, ecx
je 0x401b9e
push ecx
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push dword [ebp - 0x14]
push 0x30
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x3ec]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
cmp eax, 0xffffffff
jne 0x401bcd
call sub.WS2_32.dll_WSACleanup
or eax, 0xffffffff
jmp 0x401bd7
push 1
mov byte [esi + 0x174], 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10