Function at 0x40bb10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dec10
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x50c7c4]
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
mov dword [ebp - 0x2bc], 0
mov ecx, 0x50ed64
mov eax, dword [vtable.lagent::Mutex.0]
mov dword [ebp - 0x2c4], edi
mov dword [ebp - vtable.lagent::Mutex.0], 0x50ed64
call dword [eax + 4]
mov dword [ebp - 4], 1
cmp dword [0x512b90], 0
jbe 0x40bbb9
push 0xffffffffffffffff
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x512b80
mov byte [edi], 0
call fcn.00403430
mov byte [ebp - 4], 0
mov ecx, 0x50ed64
mov edx, dword [vtable.lagent::Mutex.0]
mov dword [ebp - 0x2bc], 1
call dword [edx + 0xc]
jmp 0x40c1cc
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 5
call fcn.0040b4c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
je 0x40c10e
lea eax, [ebp - 0x268]
xor bl, bl
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
movzx ecx, bl
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x2c0], ecx
mov byte [ebp - 0x2b5], cl
lea ecx, [ebp - 0x2a8]
call fcn.0042d990
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], bl
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.0042b930
push ecx
push 0
push 0x3b
push str.DataSender.cpp
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0
call fcn.004a44e0
mov byte [ebp - 4], 9
mov edx, str.Nation_:
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0x10]
call fcn.00403cd0
lea edx, [ebp - 0xa0]
mov ecx, eax
call fcn.0040a2f0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 8
call fcn.004a4a80
mov esi, dword [ebp - 0x2b0]
test esi, esi
je 0x40bd29
push dword [esi + 4]
call fcn.004a861d
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x40bd20
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.004a78e3
add esp, 4
lea eax, [ebp - 0xa0]
mov edx, str.Nation:
push eax
lea ecx, [ebp - 0x70]
call fcn.0040a6e0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00424920
push str.debuglog.txt
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.00403c80
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x40bd70
mov eax, dword [eax]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00424710
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x40bd8e
push dword [ebp - 0x40]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40bdb1
push dword [ebp - 0x28]
call fcn.004a78e3
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40bdd8
push dword [ebp - 0x70]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x48], 0
jne 0x40be0c
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0042fed0
push eax
lea ecx, [ebp - 0x58]
call fcn.00406f30
cmp dword [ebp - 0x5c], 0x10
jb 0x40be08
push dword [ebp - 0x70]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x48], 0
jbe 0x40be38
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0042fe40
push eax
lea ecx, [ebp - 0x88]
call fcn.00406f30
cmp dword [ebp - 0x5c], 0x10
jb 0x40be38
push dword [ebp - 0x70]
call fcn.004a78e3
add esp, 4
push ecx
push 0
push 0x46
push str.DataSender.cpp
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0
call fcn.004a44e0
mov byte [ebp - 4], 0xd
mov edx, str.serverdomain_:
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0x10]
call fcn.00403cd0
lea edx, [ebp - 0x58]
mov ecx, eax
call fcn.0040a2f0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 8
call fcn.004a4a80
mov esi, dword [ebp - 0x2b0]
test esi, esi
je 0x40beb9
push dword [esi + 4]
call fcn.004a861d
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x40beb0
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.004a78e3
add esp, 4
push ecx
push 0
push 0x47
push str.DataSender.cpp
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0
call fcn.004a44e0
mov byte [ebp - 4], 0xe
mov edx, str.serverurl_:
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 0x10]
call fcn.00403cd0
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.0040a2f0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 8
call fcn.004a4a80
mov esi, dword [ebp - 0x2b0]
test esi, esi
je 0x40bf3d
push dword [esi + 4]
call fcn.004a861d
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x40bf34
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.004a78e3
add esp, 4
lea eax, [ebp - 0x58]
mov edx, str.serverdomain:
push eax
lea ecx, [ebp - 0x70]
call fcn.0040a6e0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.00424920
push str.debuglog.txt
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.00403c80
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x40bf81
mov eax, dword [eax]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00424710
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x40bf9f
push dword [ebp - 0x28]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40bfc2
push dword [ebp - 0x40]
call fcn.004a78e3
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40bfe9
push dword [ebp - 0x70]
call fcn.004a78e3
add esp, 4
lea eax, [ebp - 0x88]
mov edx, str.serverurl:
push eax
lea ecx, [ebp - 0x70]
call fcn.0040a6e0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.00424920
push str.debuglog.txt
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
call fcn.00403c80
add esp, 4
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x40c030
mov eax, dword [eax]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00424710
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x40c04e
push dword [ebp - 0x28]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40c071
push dword [ebp - 0x40]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40c094
push dword [ebp - 0x70]
call fcn.004a78e3
add esp, 4
cmp byte [0x511d71], 0
mov esi, dword [ebp - 0x2b4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RevertToSelf]
je 0x40c0bc
test esi, esi
je 0x40c0bc
call ebx
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x2b4], esi
cmp dword [ebp - 0x8c], 0x10
jb 0x40c0d3
push dword [ebp - 0xa0]
call fcn.004a78e3
add esp, 4
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.0042db80
cmp byte [ebp - 0x2c0], 0
mov byte [ebp - 4], 5
je 0x40c114
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x40c114
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x78], 0
jbe 0x40c12f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x88]
mov ecx, 0x512b80
push eax
call fcn.00403430
cmp dword [ebp - 0x48], 0
jbe 0x40c151
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov ecx, 0x512b98
push eax
call fcn.00403430
mov ecx, 0x512b20
call fcn.004124d0
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00403090
mov dword [ebp - 0x2bc], 1
test esi, esi
je 0x40c16f
call ebx
cmp dword [ebp - 0x74], 0x10
jb 0x40c183
push dword [ebp - 0x88]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
jb 0x40c1a9
push dword [ebp - 0x58]
call fcn.004a78e3
add esp, 4
mov byte [ebp - 4], 0
mov ecx, 0x50ed64
mov eax, dword [vtable.lagent::Mutex.0]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call dword [eax + 0xc]
mov eax, edi
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.004a6d1e
mov esp, ebp
pop ebp
ret