Function at 0x10031c60
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a689a
mov eax, dword fs:[0]
push eax
mov eax, 0x2288
call fcn.10061f80
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x2264], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2268], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2238], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2234], eax
xor eax, eax
mov dword [ebp - 0x2260], ecx
mov dword [ebp - 0x226c], edx
mov dword [ebp - 0x2220], eax
test ecx, ecx
je 0x10032d49
test esi, esi
jne 0x100323ff
call fcn.1002afa0
mov ecx, eax
call fcn.10023930
xorps xmm0, xmm0
mov dword [ebp - 0x24], esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2230], esi
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x222c]
push eax
call fcn.1002afa0
mov ecx, eax
call fcn.100238d0
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x222c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031d4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x10031da8
lea eax, [ebp - 0x222c]
push eax
call fcn.1002afa0
mov ecx, eax
call fcn.100238d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push eax
cmp dword [ebp - 0x14], ecx
je 0x10031d7e
call fcn.10021190
add dword [ebp - 0x18], 4
jmp 0x10031d87
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1002e540
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x222c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10031da8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x221c]
push 1
push eax
call fcn.10061320
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2211]
call fcn.100302a0
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031e46
call fcn.100300c0
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2218]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x10031e13
mov ecx, eax
call fcn.10021190
add dword [ebp - 0x18], 4
jmp 0x10031e1c
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002e540
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x2218]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10032166
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10032166
call fcn.1002fb10
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031ea7
call fcn.10030de0
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2218]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x10031e99
mov ecx, eax
call fcn.10021190
add dword [ebp - 0x18], 4
jmp 0x10032157
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002e540
jmp 0x10032157
call fcn.10030750
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031ee0
call fcn.10030cf0
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 9
jmp 0x10032148
call fcn.10030480
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031f19
call fcn.10030840
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0xa
jmp 0x10032148
call fcn.1002fde0
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031f52
call fcn.10031750
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0xb
jmp 0x10032148
call fcn.10030930
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031f8b
call fcn.1002fc00
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0xc
jmp 0x10032148
call fcn.10030fd0
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031fc4
call fcn.10031570
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0xd
jmp 0x10032148
call fcn.100301b0
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10031ffd
call fcn.10030570
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0xe
jmp 0x10032148
call fcn.1002fed0
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10032036
call fcn.10030c00
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0xf
jmp 0x10032148
call fcn.10030a20
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x1003206f
call fcn.1002fcf0
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0x10
jmp 0x10032148
call fcn.10031390
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x100320a8
call fcn.100311b0
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0x11
jmp 0x10032148
call fcn.10031480
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x100320de
call fcn.10031660
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0x12
jmp 0x10032148
call fcn.10030b10
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
lea ecx, [ebp - 0x2211]
test al, al
je 0x10032114
call fcn.10030ed0
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0x13
jmp 0x10032148
call fcn.10030660
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.1001aa40
add esp, 8
test al, al
je 0x10032166
lea ecx, [ebp - 0x2211]
call fcn.1002ffd0
push eax
lea ecx, [ebp - 0x2218]
call fcn.1000a1a0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x2218]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10038db0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2218]
call fcn.1000b530
mov eax, dword [ebp - 0x18]
xor esi, esi
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
je 0x1003234c
nop dword [eax]
lea eax, [ebp - 0x2240]
mov byte [ebp - 0x2211], 0
push eax
call fcn.10042189
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x2240]
mov dword [ebp - 0x2294], eax
lea eax, [ebp - 0x2211]
mov dword [ebp - 0x2290], eax
lea eax, [ebp - 0x2294]
push eax
push 0x10008e50
push 0x100d24d0
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x100323bd
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2240]
push eax
call fcn.100421c3
mov ecx, dword [0x100d24cc]
lea eax, [ebp - 0x2218]
add esp, 4
push eax
call fcn.100238d0
mov byte [ebp - 4], 0x17
or dword [ebp - 0x2220], 1
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x1003224d
lea eax, [ebp - 0x222c]
push eax
call fcn.1002afa0
mov ecx, eax
call fcn.100238d0
mov dword [ebp - 4], 0x18
or dword [ebp - 0x2220], 2
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
test ecx, ecx
je 0x10032d6b
push ecx
push dword [eax + esi*4]
call fcn.10075f0f
add esp, 8
mov byte [ebp - 0x2211], 1
test eax, eax
jne 0x10032254
mov byte [ebp - 0x2211], 0
mov dword [ebp - 4], 0x17
mov ecx, dword [ebp - 0x2220]
test cl, 2
je 0x10032299
and ecx, 0xfffffffd
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 4], 0x17
mov eax, edi
mov edx, dword [ebp - 0x222c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10032299
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 4], 5
test cl, 1
je 0x100322cf
and ecx, 0xfffffffe
mov dword [ebp - 0x2220], ecx
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x2218]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100322cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2211], 0
je 0x100322eb
cmp dword [ebp - 0x2230], 0
jne 0x1003233a
mov dword [ebp - 0x2230], 1
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
push ecx
push dword [eax + esi*4]
call fcn.1003f760
add esp, 8
test eax, eax
js 0x1003233a
cmp dword [ebp - 0x38], 4
jne 0x1003233a
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*4]
push dword [ebp - 0x2234]
push dword [ebp - 0x226c]
push dword [ebp - 0x2238]
push dword [ebp - 0x2268]
push dword [ebp - 0x2264]
push dword [ebp - 0x2260]
call sym.DdSvc.dll_CLSEI
test eax, eax
jne 0x100323b6
mov eax, dword [ebp - 0x18]
inc esi
sub eax, dword [ebp - 0x1c]
sar eax, 2
cmp esi, eax
jb 0x10032180
xor esi, esi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x221c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1003236d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100323f8
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.1002e4d0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x100323d9
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032d66
jmp 0x100323d9
mov esi, 1
jmp 0x1003234e
lea eax, [ebp - 0x2240]
push eax
call fcn.100421e4
add esp, 4
test al, al
je 0x10032d99
jmp 0x10032d75
push ecx
push edx
call fcn.10061b42
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, esi
jmp 0x10032d49
push 0x190
mov dword [ebp - 0x222c], eax
xor edi, edi
mov dword [ebp - 0x2228], eax
mov dword [edx], eax
lea eax, [ebp - 0x210]
push edi
push eax
mov dword [ebp - 0x2224], 0xffffffff
call fcn.1006e460
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x228c], eax
test eax, eax
jne 0x10032ce2
lea eax, [ebp - 0x2228]
push eax
lea eax, [ebp - 0x2224]
push eax
call fcn.100340c0
test eax, eax
je 0x10032ce2
push 0x10
push dword [ebp - 0x2228]
push dword [ebp - 0x2224]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x10032ce2
push esi
push eax
push str.Port
call fcn.1002b2b0
movzx esi, ax
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x20], xmm0
push 0x7f000001
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htonl]
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [ebp - 0x2224]
call dword [sym.imp.WS2_32.dll_connect]
mov eax, dword [ebp - 0x2234]
push edi
mov dword [ebp - 0x2240], eax
mov eax, dword [ebp - 0x2228]
push 0xc8
mov dword [ebp - 0x223c], eax
lea eax, [ebp - 0x2240]
push edi
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov esi, eax
cmp esi, 2
jae 0x10032ccd
mov eax, dword [ebp - 0x2234]
cmp eax, dword [ebp + esi*4 - 0x2240]
jne 0x10032529
push 0x100afd4c
call fcn.1000d740
add esp, 4
jmp 0x10032ce2
push 0x2c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.1006e460
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x2228]
push dword [ebp - 0x2224]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test dword [ebp - 0x80], 0x10
jne 0x1003256a
push str.._n
call fcn.1000d740
add esp, 4
jmp 0x10032ce2
movaps xmm0, xmmword [0x100b0300]
movups xmmword [ebp - 0x225c], xmm0
mov dword [ebp - 0x224c], 0xffffffff
mov dword [ebp - 0x2248], 0xffffffff
mov dword [ebp - 0x2244], edi
mov dword [ebp - 4], 0x1c
push dword [ebp - 0x2260]
mov dword [ebp - 0x2250], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x2250], esi
push 0x100d3c66
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10062033
mov edi, eax
add esp, 8
mov dword [ebp - 0x225c], edi
test edi, edi
je 0x100325fc
add esi, esi
push esi
push dword [ebp - 0x2260]
push edi
call fcn.1006dee0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
movaps xmm0, xmmword [0x100b0300]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x1d
xor edi, edi
mov eax, dword [ebp - 0x2264]
test eax, eax
je 0x10032681
push eax
mov dword [ebp - 0x30], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x30], esi
push 0x100d3c66
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10062033
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x10032681
add esi, esi
push esi
push dword [ebp - 0x2264]
push edi
call fcn.1006dee0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
movaps xmm0, xmmword [0x100b0300]
movups xmmword [ebp - 0x2288], xmm0
mov dword [ebp - 0x2278], 0xffffffff
mov dword [ebp - 0x2274], 0xffffffff
mov dword [ebp - 0x2270], 0
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x2268]
mov dword [ebp - 0x2218], 0
test eax, eax
je 0x10032737
push eax
mov dword [ebp - 0x227c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x227c], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push 0x100d3c66
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10062033
mov esi, eax
add esp, 8
mov dword [ebp - 0x2218], esi
mov dword [ebp - 0x2288], esi
test esi, esi
je 0x10032737
mov esi, dword [ebp - 0x227c]
add esi, esi
push esi
push dword [ebp - 0x2268]
push eax
call fcn.1006dee0
mov eax, dword [ebp - 0x2218]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x2218], eax
mov word [eax + esi], cx
call fcn.1004a630
mov dword [ebp - 0x221c], eax
mov byte [ebp - 4], 0x1f
test eax, eax
jne 0x1003278d
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x221c]
call fcn.1000c150
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2288]
call fcn.1002f8b0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.1002f8b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x225c]
call fcn.1002f8b0
xor edi, edi
jmp 0x10032ce2
mov eax, dword [ebp - 0x225c]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10032806
push 0
push 0
push 0
push 0
push dword [ebp - 0x2250]
push eax
push 0
push 0xfde9
call esi
push 0x100d3c66
mov dword [ebp - 0x224c], eax
lea ecx, [eax + 1]
push ecx
call fcn.10062033
add esp, 8
mov dword [ebp - 0x2258], eax
test eax, eax
je 0x1003280c
push 0
push 0
push dword [ebp - 0x224c]
push eax
push dword [ebp - 0x2250]
push dword [ebp - 0x225c]
push 0
push 0xfde9
call esi
mov eax, dword [ebp - 0x224c]
mov ecx, dword [ebp - 0x2258]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x2258]
push eax
call fcn.1004a660
push eax
push str.type
push dword [ebp - 0x221c]
call fcn.1004a520
add esp, 0x10
test edi, edi
je 0x1003287c
push 0
push 0
push 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push 0
push 0xfde9
call esi
mov edi, eax
push 0x100d3c66
mov dword [ebp - 0x2c], edi
lea ecx, [edi + 1]
push ecx
call fcn.10062033
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1003287f
push 0
push 0
push edi
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push 0
push 0xfde9
call esi
mov eax, dword [ebp - 0x38]
mov byte [eax + edi], 0
jmp 0x1003287f
mov eax, dword [ebp - 0x38]
push eax
call fcn.1004a660
push eax
push str.appname
push dword [ebp - 0x221c]
call fcn.1004a520
add esp, 0x10
cmp dword [ebp - 0x2218], 0
je 0x10032909
push 0
push 0
push 0
push 0
push dword [ebp - 0x227c]
push dword [ebp - 0x2288]
push 0
push 0xfde9
call esi
mov edi, eax
push 0x100d3c66
mov dword [ebp - 0x2278], edi
lea ecx, [edi + 1]
push ecx
call fcn.10062033
add esp, 8
mov dword [ebp - 0x2284], eax
test eax, eax
je 0x1003290f
push 0
push 0
push edi
push eax
push dword [ebp - 0x227c]
push dword [ebp - 0x2288]
push 0
push 0xfde9
call esi
mov eax, dword [ebp - 0x2284]
mov byte [eax + edi], 0
jmp 0x1003290f
mov eax, dword [ebp - 0x2284]
push eax
call fcn.1004a660
mov esi, dword [ebp - 0x221c]
push eax
push str.cmdline
push esi
call fcn.1004a520
push esi
call fcn.1004a8e0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x10032977
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x221c]
call fcn.1000c150
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2288]
call fcn.1002f8b0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.1002f8b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x225c]
call fcn.1002f8b0
jmp 0x10032ce2
push 0x2000
lea eax, [ebp - 0x2210]
push 0
push eax
call fcn.1006e460
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [eax + 1]
cmp ecx, 0x1ffe
ja 0x10032936
lea eax, [ecx + 2]
push ecx
mov word [ebp - 0x2210], ax
lea eax, [ebp - 0x220e]
push edi
push eax
call fcn.1006dee0
mov esi, dword [ebp - 0x2234]
lea eax, [ebp - 0x2210]
add esp, 0xc
push 0x3e8
push eax
push dword [ebp - 0x2224]
push dword [ebp - 0x2228]
push esi
call fcn.10037270
push 0x2000
lea eax, [ebp - 0x2210]
push 0
push eax
call fcn.1006e460
add esp, 0xc
lea eax, [ebp - 0x2210]
push 0xbb8
push eax
push dword [ebp - 0x2224]
push dword [ebp - 0x2228]
push esi
call fcn.100352a0
test eax, eax
je 0x10032936
cmp word [ebp - 0x2210], 2
jbe 0x10032936
lea eax, [ebp - 0x220e]
push eax
call fcn.1004a880
mov esi, eax
add esp, 4
mov dword [ebp - 0x2230], esi
mov byte [ebp - 4], 0x20
test esi, esi
jne 0x10032a5b
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2230]
call fcn.1000c150
jmp 0x10032936
push 6
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
push str.result
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.100166f0
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x54]
push 0
push eax
push esi
call fcn.1004b850
add esp, 0xc
mov byte [ebp - 0x2211], al
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x10032adb
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032ad1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032d9e
push edx
push ecx
call fcn.10061b42
add esp, 8
mov eax, dword [ebp - 0x2238]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
test eax, eax
je 0x10032b58
mov ecx, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032b20
sub ecx, edx
push ecx
push dword [ebp - 0x2238]
lea ecx, [ebp - 0x54]
call fcn.100166f0
mov byte [ebp - 4], 0x22
mov eax, 4
mov dword [ebp - 0x2220], eax
lea eax, [ebp - 0x54]
push 0
push eax
push esi
call fcn.1004b8b0
add esp, 0xc
jmp 0x10032b5a
xor eax, eax
mov ecx, dword [ebp - 0x226c]
mov dword [ecx], eax
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x2220]
test al, 4
je 0x10032bc8
and eax, 0xfffffffb
mov dword [ebp - 0x2220], eax
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x10032bb6
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032ba6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032da3
push edx
push ecx
call fcn.10061b42
mov ecx, dword [ebp - 0x226c]
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp byte [ebp - 0x2211], 0
je 0x10032be9
cmp dword [ebp - 0x2238], 0
je 0x10032bdf
cmp dword [ecx], 0
jbe 0x10032be9
mov dword [ebp - 0x222c], 1
mov byte [ebp - 4], 0x1f
push esi
call fcn.1004a710
mov dword [ebp - 0x2230], 0
mov byte [ebp - 4], 0x1e
push dword [ebp - 0x221c]
call fcn.1004a710
mov dword [ebp - 0x221c], 0
mov byte [ebp - 4], 0x1d
push dword [ebp - 0x2288]
call fcn.10061fde
push dword [ebp - 0x2284]
mov dword [ebp - 0x2288], 0
call fcn.10061fde
push 0
mov dword [ebp - 0x2284], 0
call fcn.10061fde
mov dword [ebp - 0x2280], 0
mov byte [ebp - 4], 0x1c
push dword [ebp - 0x3c]
call fcn.10061fde
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call fcn.10061fde
push 0
mov dword [ebp - 0x38], 0
call fcn.10061fde
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x225c]
call fcn.10061fde
mov ecx, dword [ebp - 0x2258]
push ecx
mov dword [ebp - 0x225c], 0
call fcn.10061fde
push 0
mov dword [ebp - 0x2258], 0
call fcn.10061fde
add esp, 0x2c
mov dword [ebp - 0x2254], 0
jmp 0x10032ce2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push 0x100afd14
call fcn.1000d740
add esp, 0xc
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x10032cfd
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [ebp - 0x2228], 0
mov eax, dword [ebp - 0x2224]
cmp eax, 0xffffffff
je 0x10032d27
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [ebp - 0x2224]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x2224], 0xffffffff
cmp dword [ebp - 0x228c], 0
jne 0x10032d36
call dword [sym.imp.WS2_32.dll_WSACleanup]
test edi, edi
je 0x10032d43
push edi
call fcn.1007460b
add esp, 4
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 0x1c
call fcn.10071549
push 0x80004005
call fcn.1000d6a0
sub esp, 8
lea eax, [ebp - 0x2240]
mov ecx, esp
mov dword [ebp - 0x228c], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x15
call fcn.10017ed0
call fcn.10042e69
call fcn.10071549
call fcn.10071549
int3