Function at 0x408d80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4880d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b8], ecx
mov ecx, dword [ebp - 0x1b8]
call fcn.00425ab1
push 1
push 0x233
mov ecx, dword [ebp - 0x1b8]
call fcn.00409500
push 1
push 0x49
mov ecx, dword [ebp - 0x1b8]
call fcn.00409500
push 1
call fcn.0042517f
add esp, 4
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c4], 0
je 0x408e10
mov ecx, dword [ebp - 0x1c4]
call fcn.00418990
mov dword [ebp - 0x1cc], eax
jmp 0x408e1a
mov dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1e8]
mov dword [ecx + 0x4ec], edx
push 8
call fcn.00417180
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c0], 0
je 0x408e7c
push 8
mov ecx, dword [ebp - 0x1c0]
call fcn.00403a30
mov ecx, dword [ebp - 0x1c0]
call fcn.00425db2
mov dword [ebp - 0x1c8], eax
jmp 0x408e86
mov dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1f4]
mov dword [ecx + 0x568], edx
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x11c], eax
push 0
push 0x1e
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0x11c]
push eax
push 0x3ef
mov ecx, dword [ebp - 0x1b8]
call fcn.0042c3d3
mov ecx, eax
call fcn.00417150
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x98
push ecx
call fcn.0040150b
push 0xb4
push 2
push 4
push 1
mov edx, dword [ebp - 0x1b8]
add edx, 0x98
push edx
call fcn.004016c6
push 2
push 2
push 0x21
push 0x10
push 0x10
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x568]
call fcn.00426084
push 0x83
call fcn.00407360
mov ecx, eax
call fcn.00407380
push eax
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x568]
call fcn.00417130
push 1
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0x568]
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004170f0
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
and eax, 0xfffffffc
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
or ecx, 1
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1bc]
push edx
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.00407290
mov dword [ebp - 0x1bc], eax
mov edx, dword [ebp - 0x1bc]
or edx, 0x10030
mov dword [ebp - 0x1bc], edx
mov eax, dword [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004072c0
push 0xffffff
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004170c0
push 0xffffffffffffffff
push 0x96
push 0
push 0x49c6a0
push 0
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004262df
push 0xffffffffffffffff
push 0x2d
push 2
push 0x49c6a8
push 1
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004262df
push 0xffffffffffffffff
push 0x50
push 0
push 0x49c6b0
push 2
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004262df
push 0xffffffffffffffff
push 0x6e
push 0
push 0x49c6b8
push 3
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004262df
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x49c6c4
push 4
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004262df
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.00407290
or eax, 0x20
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.004072c0
mov dword [ebp - 0x1f8], 0xb4
push 0xfffffffffffffffe
push 4
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.00407260
push 4
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.00417090
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0xb4
jle 0x409142
push 0xb4
push 4
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.00407260
push 0
push 1
push 1
mov ecx, dword [ebp - 0x1b8]
call fcn.00417060
push 0x66
mov ecx, dword [ebp - 0x1b8]
push ecx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x208]
call fcn.00407220
push eax
push 0x50000003
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004260dc
mov dword [ebp - 0x1c], 0x82
mov dword [ebp - 0x18], 0x186
mov dword [ebp - 0x14], 0xffffffff
lea edx, [ebp - 0x1c]
push edx
push 3
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004071f0
push 0
push 0
push 0x49c6cc
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004071c0
push 0
push 1
push 0x49c6e0
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004071c0
push 4
lea ecx, [ebp - 0x24]
call fcn.00403a30
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1b8]
call fcn.0040a570
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x24]
push ecx
push 0x49c704
lea edx, [ebp - 0x1e0]
push edx
call fcn.00416fa0
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 3
push 0
push 2
mov ecx, dword [ebp - 0x1f0]
call fcn.004022a0
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004071c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e0]
call fcn.004074e0
push 4
lea ecx, [ebp - 0x20]
call fcn.00403a30
lea ecx, [ebp - 0x20]
call fcn.00407660
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1b8]
mov ecx, dword [ecx + 0x4ec]
call fcn.00418930
mov edx, dword [ebp - 0x1b8]
mov dword [edx + 0x124], eax
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x4ec]
call fcn.00418960
mov ecx, dword [ebp - 0x1b8]
mov dword [ecx + 0x134], eax
mov edx, dword [ebp - 0x1b8]
cmp dword [edx + 0x124], 0
jle 0x40930c
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x134]
push ecx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0x124]
push eax
push 0x49c70c
lea ecx, [ebp - 0x20]
push ecx
call fcn.004062a0
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004022a0
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004071c0
lea edx, [ebp - 0x1b4]
push edx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x409369
push 0
push 1
push str.Init_TCP_IP_stack_error_
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004071c0
mov dword [ebp - 0x1e4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004074e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004074e0
mov eax, dword [ebp - 0x1e4]
jmp 0x4094dc
movzx eax, word [ebp - 0x1b4]
cmp eax, 2
je 0x4093c5
push 0
push 1
push str.Winsock_version_is_incorrect_
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x4f4
call fcn.004071c0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x1ec], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004074e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004074e0
mov eax, dword [ebp - 0x1ec]
jmp 0x4094dc
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x394
call fcn.00431adb
mov dword [ebp - 0x1d4], eax
push 4
push 0
push 0x11
push 0x10
push 0x10
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x56c
call fcn.00426084
push 0x74
call fcn.00407360
mov ecx, eax
call fcn.00407380
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x56c
call fcn.00417130
push 0x75
call fcn.00407360
mov ecx, eax
call fcn.00407380
push eax
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x56c
call fcn.00417130
push 0
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x56c
push ecx
mov ecx, dword [ebp - 0x1d4]
call fcn.00416f60
push 0
mov ecx, dword [ebp - 0x1b8]
add ecx, 0x418
call fcn.0042c6ac
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x1b8]
push edx
push 0x40c7e0
call fcn.004300bb
push 1
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 0x4f0]
push ecx
mov ecx, dword [ebp - 0x1b8]
call fcn.004072f0
push 0
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0x4f0]
push eax
mov ecx, dword [ebp - 0x1b8]
call fcn.004072f0
mov dword [ebp - 0x1dc], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004074e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004074e0
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret