Function at 0x1000fbc0
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056ec1
mov eax, dword fs:[0]
push eax
mov eax, 0x227c
call fcn.1002df80
mov eax, dword [0x10079214]
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 - 0x2258], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x225c], 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 - 0x221c], ecx
mov dword [ebp - 0x2260], edx
mov dword [ebp - 0x2220], eax
test ecx, ecx
je 0x10010bd9
test esi, esi
jne 0x10010290
call fcn.1000dc50
mov ecx, eax
call fcn.1000b850
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.1000dc50
mov ecx, eax
call fcn.1000b7f0
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x222c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fcad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1000fd07
lea eax, [ebp - 0x222c]
push eax
call fcn.1000dc50
mov ecx, eax
call fcn.1000b7f0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push eax
cmp dword [ebp - 0x14], ecx
je 0x1000fcdc
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000fce5
push ecx
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x222c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fd07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.WpSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000fd37
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000fd40
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fd62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.HpSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000fd92
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000fd9b
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fdbd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.TmSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000fded
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000fdf6
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fe18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SpSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000fe48
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000fe51
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fe73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CmSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000fea3
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000feac
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fece
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.AndSpSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000fefe
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000ff07
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000ff29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.MYNovelSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000ff59
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000ff62
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000ff84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DesktopSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1000ffb4
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x1000ffbd
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000ffdf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.JkwSvc
lea ecx, [ebp - 0x2214]
call fcn.100036d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2214]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x1001000f
mov ecx, eax
call fcn.1000b590
add dword [ebp - 0x18], 4
jmp 0x10010018
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f400
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001003a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
xor esi, esi
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
je 0x10010218
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x1007a48c]
test ecx, ecx
jne 0x100100b3
push 0x10078004
call edi
cmp dword [0x1007a48c], 0
jne 0x100100a2
push 0x14
call fcn.1002db0a
add esp, 4
mov dword [ebp - 0x2284], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x10010090
mov ecx, eax
call fcn.1000b640
mov ecx, eax
jmp 0x10010092
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x222c], eax
mov dword [0x1007a48c], ecx
push 0x10078004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1007a48c]
lea eax, [ebp - 0x2264]
push eax
call fcn.1000b7f0
mov byte [ebp - 4], 0x18
or dword [ebp - 0x2220], 1
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x10010117
lea eax, [ebp - 0x2214]
push eax
call fcn.1000dc50
mov ecx, eax
call fcn.1000b7f0
mov dword [ebp - 4], 0x19
or dword [ebp - 0x2220], 2
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
test ecx, ecx
je 0x10010bfb
push ecx
push dword [eax + esi*4]
call fcn.10038a2a
add esp, 8
mov byte [ebp - 0x2215], 1
test eax, eax
jne 0x1001011e
mov byte [ebp - 0x2215], 0
mov dword [ebp - 4], 0x18
mov ecx, dword [ebp - 0x2220]
test cl, 2
je 0x10010164
and ecx, 0xfffffffd
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 4], 0x18
or eax, 0xffffffff
mov edx, dword [ebp - 0x2214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010164
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 4], 0
test cl, 1
je 0x1001019b
and ecx, 0xfffffffe
mov dword [ebp - 0x2220], ecx
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2264]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001019b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2215], 0
je 0x100101b7
cmp dword [ebp - 0x2230], 0
jne 0x10010206
mov dword [ebp - 0x2230], 1
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
push ecx
push dword [eax + esi*4]
call fcn.1001f370
add esp, 8
test eax, eax
js 0x10010206
cmp dword [ebp - 0x38], 4
jne 0x10010206
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*4]
push dword [ebp - 0x2234]
push dword [ebp - 0x2260]
push dword [ebp - 0x2238]
push dword [ebp - 0x225c]
push dword [ebp - 0x2258]
push dword [ebp - 0x221c]
call sym.HpSvc.dll_CLSEI
test eax, eax
jne 0x10010263
mov eax, dword [ebp - 0x18]
inc esi
sub eax, dword [ebp - 0x1c]
sar eax, 2
cmp esi, eax
jb 0x10010053
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10010289
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.1000f390
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 0x1001026a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010bf6
jmp 0x1001026a
mov esi, 1
jmp 0x1001021a
push ecx
push edx
call fcn.1002db3a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, esi
jmp 0x10010bd9
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.10031950
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x2264], eax
test eax, eax
jne 0x10010b72
lea eax, [ebp - 0x2228]
push eax
lea eax, [ebp - 0x2224]
push eax
call fcn.10011fc0
test eax, eax
je 0x10010b72
push 0x10
push dword [ebp - 0x2228]
push dword [ebp - 0x2224]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x10010b72
push esi
push eax
push str.Port
call fcn.1000e4e0
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 - 0x2288], eax
mov eax, dword [ebp - 0x2228]
push 0xc8
mov dword [ebp - 0x2284], eax
lea eax, [ebp - 0x2288]
push edi
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov esi, eax
cmp esi, 2
jae 0x10010b5d
mov eax, dword [ebp - 0x2234]
cmp eax, dword [ebp + esi*4 - 0x2288]
jne 0x100103ba
push 0x1005df9c
call fcn.10004bd0
add esp, 4
jmp 0x10010b72
push 0x2c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10031950
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 0x100103fb
push str.._n
call fcn.10004bd0
add esp, 4
jmp 0x10010b72
movaps xmm0, xmmword [0x1005e3d0]
movups xmmword [ebp - 0x2254], xmm0
mov dword [ebp - 0x2244], 0xffffffff
mov dword [ebp - 0x2240], 0xffffffff
mov dword [ebp - 0x223c], edi
mov dword [ebp - 4], 0x1c
push dword [ebp - 0x221c]
mov dword [ebp - 0x2248], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x2248], esi
push 0x1007a510
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002dfb2
mov edi, eax
add esp, 8
mov dword [ebp - 0x2254], edi
test edi, edi
je 0x1001048d
add esi, esi
push esi
push dword [ebp - 0x221c]
push edi
call fcn.100313d0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
movaps xmm0, xmmword [0x1005e3d0]
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 - 0x2258]
test eax, eax
je 0x10010512
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 0x1007a510
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002dfb2
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x10010512
add esi, esi
push esi
push dword [ebp - 0x2258]
push edi
call fcn.100313d0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
movaps xmm0, xmmword [0x1005e3d0]
movups xmmword [ebp - 0x2280], xmm0
mov dword [ebp - 0x2270], 0xffffffff
mov dword [ebp - 0x226c], 0xffffffff
mov dword [ebp - 0x2268], 0
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x225c]
mov dword [ebp - 0x2214], 0
test eax, eax
je 0x100105c8
push eax
mov dword [ebp - 0x2274], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2274], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push 0x1007a510
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002dfb2
mov esi, eax
add esp, 8
mov dword [ebp - 0x2214], esi
mov dword [ebp - 0x2280], esi
test esi, esi
je 0x100105c8
mov esi, dword [ebp - 0x2274]
add esi, esi
push esi
push dword [ebp - 0x225c]
push eax
call fcn.100313d0
mov eax, dword [ebp - 0x2214]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x2214], eax
mov word [esi + eax], cx
call fcn.1002a600
mov dword [ebp - 0x221c], eax
mov byte [ebp - 4], 0x1f
test eax, eax
jne 0x1001061e
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x221c]
call fcn.10004230
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2280]
call fcn.1000f710
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.1000f710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2254]
call fcn.1000f710
xor edi, edi
jmp 0x10010b72
mov eax, dword [ebp - 0x2254]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10010697
push 0
push 0
push 0
push 0
push dword [ebp - 0x2248]
push eax
push 0
push 0xfde9
call esi
push 0x1007a510
mov dword [ebp - 0x2244], eax
lea ecx, [eax + 1]
push ecx
call fcn.1002dfb2
add esp, 8
mov dword [ebp - 0x2250], eax
test eax, eax
je 0x1001069d
push 0
push 0
push dword [ebp - 0x2244]
push eax
push dword [ebp - 0x2248]
push dword [ebp - 0x2254]
push 0
push 0xfde9
call esi
mov eax, dword [ebp - 0x2244]
mov ecx, dword [ebp - 0x2250]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x2250]
push eax
call fcn.1002a630
push eax
push 0x1005db84
push dword [ebp - 0x221c]
call fcn.1002a4f0
add esp, 0x10
test edi, edi
je 0x1001070d
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 0x1007a510
mov dword [ebp - 0x2c], edi
lea ecx, [edi + 1]
push ecx
call fcn.1002dfb2
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10010710
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 [edi + eax], 0
jmp 0x10010710
mov eax, dword [ebp - 0x38]
push eax
call fcn.1002a630
push eax
push str.appname
push dword [ebp - 0x221c]
call fcn.1002a4f0
add esp, 0x10
cmp dword [ebp - 0x2214], 0
je 0x1001079a
push 0
push 0
push 0
push 0
push dword [ebp - 0x2274]
push dword [ebp - 0x2280]
push 0
push 0xfde9
call esi
mov edi, eax
push 0x1007a510
mov dword [ebp - 0x2270], edi
lea ecx, [edi + 1]
push ecx
call fcn.1002dfb2
add esp, 8
mov dword [ebp - 0x227c], eax
test eax, eax
je 0x100107a0
push 0
push 0
push edi
push eax
push dword [ebp - 0x2274]
push dword [ebp - 0x2280]
push 0
push 0xfde9
call esi
mov eax, dword [ebp - 0x227c]
mov byte [edi + eax], 0
jmp 0x100107a0
mov eax, dword [ebp - 0x227c]
push eax
call fcn.1002a630
mov esi, dword [ebp - 0x221c]
push eax
push str.cmdline
push esi
call fcn.1002a4f0
push esi
call fcn.1002a8b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x10010808
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x221c]
call fcn.10004230
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2280]
call fcn.1000f710
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x3c]
call fcn.1000f710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2254]
call fcn.1000f710
jmp 0x10010b72
push 0x2000
lea eax, [ebp - 0x2210]
push 0
push eax
call fcn.10031950
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [eax + 1]
cmp ecx, 0x1ffe
ja 0x100107c7
lea eax, [ecx + 2]
push ecx
mov word [ebp - 0x2210], ax
lea eax, [ebp - 0x220e]
push edi
push eax
call fcn.100313d0
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.10014530
push 0x2000
lea eax, [ebp - 0x2210]
push 0
push eax
call fcn.10031950
add esp, 0xc
lea eax, [ebp - 0x2210]
push 0xbb8
push eax
push dword [ebp - 0x2224]
push dword [ebp - 0x2228]
push esi
call fcn.10012b50
test eax, eax
je 0x100107c7
cmp word [ebp - 0x2210], 2
jbe 0x100107c7
lea eax, [ebp - 0x220e]
push eax
call fcn.1002a850
mov esi, eax
add esp, 4
mov dword [ebp - 0x2230], esi
mov byte [ebp - 4], 0x20
test esi, esi
jne 0x100108ec
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2230]
call fcn.10004230
jmp 0x100107c7
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.1000ada0
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x54]
push 0
push eax
push esi
call fcn.1002b870
add esp, 0xc
mov byte [ebp - 0x2215], al
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1001096c
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010c05
push edx
push ecx
call fcn.1002db3a
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 0x100109e8
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 0x100109b0
sub ecx, edx
push ecx
push dword [ebp - 0x2238]
lea ecx, [ebp - 0x54]
call fcn.1000ada0
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.1002b8d0
add esp, 0xc
jmp 0x100109ea
xor eax, eax
mov ecx, dword [ebp - 0x2260]
mov dword [ecx], eax
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x2220]
test al, 4
je 0x10010a58
and eax, 0xfffffffb
mov dword [ebp - 0x2220], eax
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x10010a46
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010a36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010c0a
push edx
push ecx
call fcn.1002db3a
mov ecx, dword [ebp - 0x2260]
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp byte [ebp - 0x2215], 0
je 0x10010a79
cmp dword [ebp - 0x2238], 0
je 0x10010a6f
cmp dword [ecx], 0
jbe 0x10010a79
mov dword [ebp - 0x222c], 1
mov byte [ebp - 4], 0x1f
push esi
call fcn.1002a6e0
mov dword [ebp - 0x2230], 0
mov byte [ebp - 4], 0x1e
push dword [ebp - 0x221c]
call fcn.1002a6e0
mov dword [ebp - 0x221c], 0
mov byte [ebp - 4], 0x1d
push dword [ebp - 0x2280]
call fcn.1002db51
push dword [ebp - 0x227c]
mov dword [ebp - 0x2280], 0
call fcn.1002db51
push 0
mov dword [ebp - 0x227c], 0
call fcn.1002db51
mov dword [ebp - 0x2278], 0
mov byte [ebp - 4], 0x1c
push dword [ebp - 0x3c]
call fcn.1002db51
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call fcn.1002db51
push 0
mov dword [ebp - 0x38], 0
call fcn.1002db51
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2254]
call fcn.1002db51
mov ecx, dword [ebp - 0x2250]
push ecx
mov dword [ebp - 0x2254], 0
call fcn.1002db51
push 0
mov dword [ebp - 0x2250], 0
call fcn.1002db51
add esp, 0x2c
mov dword [ebp - 0x224c], 0
jmp 0x10010b72
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push 0x1005df64
call fcn.10004bd0
add esp, 0xc
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x10010b8d
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [ebp - 0x2228], 0
mov eax, dword [ebp - 0x2224]
cmp eax, 0xffffffff
je 0x10010bb7
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 - 0x2264], 0
jne 0x10010bc6
call dword [sym.imp.WS2_32.dll_WSACleanup]
test edi, edi
je 0x10010bd3
push edi
call fcn.10037222
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.1002deb9
mov esp, ebp
pop ebp
ret 0x1c
call fcn.100349c9
push 0x80004005
call fcn.10004830
call fcn.100349c9
call fcn.100349c9
int3