Function at 0x430090
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2096
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x50c7c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
push 0x202
xor bl, bl
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov byte [ebp - 0x25d], bl
lea ecx, [ebp - 0x25c]
call fcn.0042d990
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 0x26c], 1
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0042b930
push ecx
push 0
push 0xdd
push str.ServerAddress.cpp
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x268], 0
call fcn.004a44e0
mov byte [ebp - 4], 6
mov edx, str.Nation_:
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x10]
call fcn.00403cd0
lea edx, [ebp - 0x44]
mov ecx, eax
call fcn.0040a2f0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call fcn.004a4a80
mov edi, dword [ebp - 0x268]
test edi, edi
je 0x4301d9
push dword [edi + 4]
call fcn.004a861d
mov ecx, dword [edi + 0xc]
add esp, 4
test ecx, ecx
je 0x4301d0
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push edi
call fcn.004a78e3
add esp, 4
lea eax, [ebp - 0x44]
mov edx, str.Nation:
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a6e0
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call fcn.00424920
push str.debuglog.txt
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.00403c80
add esp, 4
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x430220
mov eax, dword [eax]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00424710
add esp, 4
cmp dword [ebp - 0x78], 0x10
jb 0x430241
push dword [ebp - 0x8c]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jb 0x430267
push dword [ebp - 0x74]
call fcn.004a78e3
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
jb 0x43028e
push dword [ebp - 0x5c]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x4302eb
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0042fed0
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x4302d6
cmp dword [ebp - 0x18], 0x10
jb 0x4302bb
push dword [ebp - 0x2c]
call fcn.004a78e3
add esp, 4
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00403310
cmp dword [ebp - 0x48], 0x10
jb 0x4302e7
push dword [ebp - 0x5c]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x1c], 0
jbe 0x43035d
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403430
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0042ffd0
mov edi, eax
cmp esi, edi
je 0x43034c
cmp dword [esi + 0x14], 0x10
jb 0x430333
push dword [esi]
call fcn.004a78e3
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.00403310
cmp dword [ebp - 0x48], 0x10
jb 0x43035d
push dword [ebp - 0x5c]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x30], 0x10
jb 0x43036e
push dword [ebp - 0x44]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x430391
push dword [ebp - 0x2c]
call fcn.004a78e3
add esp, 4
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0042db80
test bl, bl
je 0x4303b8
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp + 0x20], 0x10
jb 0x4303c9
push dword [ebp + 0xc]
call fcn.004a78e3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret 0x1c