Function at 0x10003200
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x8c
mov eax, dword [0x100153dc]
push ebx
mov ebx, dword [esp + 0x94]
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov dword [esp + 0x94], eax
push edi
je 0x100032b2
mov edi, 0x1001239c
mov esi, ebx
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10003243
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100032b2
test ebp, ebp
je 0x100033d9
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003254
sub eax, edx
cmp eax, 1
jb 0x100033d9
mov eax, ebx
lea edx, [eax + 1]
jmp 0x10003270
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003270
sub eax, edx
cmp eax, 0xf
ja 0x100033d9
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003287
sub eax, edx
cmp eax, 1
jb 0x100033d9
mov eax, ebp
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100032a0
sub eax, edx
cmp eax, 0xf
ja 0x100033d9
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x100032d2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100032c0
sub eax, edx
cmp eax, 0x20
jb 0x100033d9
mov eax, dword [esp + 0xac]
test eax, eax
je 0x100032f1
cmp eax, 1
jl 0x100033d9
cmp eax, 0x96
jg 0x100033d9
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x1000330d
push eax
call fcn.10001250
add esp, 4
test eax, eax
jne 0x100033d9
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x10003326
cmp eax, 1
je 0x10003326
cmp eax, 2
jne 0x100033d9
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x1000333f
cmp eax, 1
je 0x1000333f
cmp eax, 2
jne 0x100033d9
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x1000335c
cmp eax, 1
jl 0x100033d9
cmp eax, 2
jg 0x100033d9
mov ebp, dword [esp + 0xc0]
test ebp, ebp
je 0x10003371
cmp ebp, 1
jl 0x100033d9
cmp ebp, 3
jg 0x100033d9
mov ebx, dword [esp + 0xc4]
test ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
je 0x100033aa
push 0x1c
lea eax, [esp + 0x14]
push eax
push ebx
call edi
push eax
call esi
mov eax, dword [esp + 0x24]
cmp eax, 4
je 0x100033aa
cmp eax, 0x40
je 0x100033aa
cmp eax, 0x80
jne 0x100033d9
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x100033e3
push 0x1c
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
push edx
call edi
push eax
call esi
mov eax, dword [esp + 0x24]
cmp eax, 4
je 0x100033e3
cmp eax, 0x40
je 0x100033e3
cmp eax, 0x80
je 0x100033e3
mov eax, 0xfffffff6
jmp 0x1000382b
mov edx, dword [esp + 0xa0]
test edx, edx
je 0x10003442
mov edi, 0x1001239c
mov esi, edx
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10003405
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10003442
xor ecx, ecx
mov dword [0x1003d740], eax
mov dword [0x1003d72c], ecx
mov dword [0x1003d744], eax
mov dword [0x1003d730], ecx
mov dword [0x1003d748], eax
mov dword [0x1003d734], ecx
mov dword [0x1003d74c], eax
mov dword [0x1003d738], ecx
mov byte [0x1003d750], al
mov byte [0x1003d73c], cl
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x10003459
mov ecx, 8
mov edi, 0x1003d70c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x10003469
mov dword [0x100152fc], eax
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x10003479
mov dword [0x10015300], eax
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x10003489
mov dword [0x10015304], eax
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x10003499
mov dword [0x10015308], eax
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x100034a9
mov dword [0x1001530c], eax
test ebp, ebp
je 0x100034b3
mov dword [0x10015310], ebp
test edx, edx
je 0x10003829
mov edi, 0x1001239c
mov esi, edx
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100034d2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10003829
push 0x1afa
mov word [esp + 0x30], 2
call dword [sym.imp.WS2_32.dll_htons]
push str.115.28.128.171
mov word [esp + 0x32], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
mov esi, 1
push esi
push 2
mov dword [esp + 0x3c], eax
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10003521
mov eax, 0xffffffec
jmp 0x1000382b
push 0x10
lea edx, [esp + 0x30]
push edx
push ebp
call fcn.10001450
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10003547
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffeb
jmp 0x1000382b
mov eax, dword [0x1003d8f0]
test eax, eax
mov dword [esp + 0x3c], 0xd3
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x1332ba2
jne 0x1000357c
mov edx, dword [0x10015310]
xor eax, eax
cmp edx, esi
setne al
inc eax
mov dword [esp + 0x48], eax
jmp 0x10003580
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0xa0]
mov ecx, 8
mov esi, 0x1003d70c
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x78], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100035c7
sub eax, edx
cmp eax, 0x10
mov eax, dword [esp + 0xa0]
jne 0x10003604
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100035e0
mov esi, dword [esp + 0xa0]
sub eax, edx
mov ecx, eax
shr ecx, 2
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1000361a
lea edx, [esp + 0x6c]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003610
mov esi, dword [esp + 0xa4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003626
sub eax, edx
cmp eax, 0x10
mov eax, esi
jne 0x10003666
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003640
mov esi, dword [esp + 0xa4]
sub eax, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1000367a
lea edx, [esp + 0x7c]
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003670
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
push 0x5c
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.10002bc0
push 0x2100
mov edi, 0xffffffea
call fcn.10007192
push 5
mov esi, eax
push 0x2100
push esi
push ebp
call fcn.10001560
add esp, 0x20
test eax, eax
jle 0x1000380c
mov eax, dword [esi + 8]
sub eax, 0x13ed
je 0x10003809
sub eax, 0xa
je 0x100037a6
sub eax, 0x64
jne 0x1000380c
test ebx, ebx
je 0x1000370a
lea eax, [esi + 0xc]
mov edx, ebx
mov byte [ebx], 0
mov byte [esi + 0x10b], 0
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003700
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x10003731
mov byte [edx], 0
lea eax, [esi + 0x10c]
mov byte [esi + 0x20b], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003727
mov eax, dword [esp + 0xa0]
xor edx, edx
mov dword [0x1003d72c], edx
xor ecx, ecx
mov dword [0x1003d730], edx
mov dword [0x1003d740], ecx
mov dword [0x1003d734], edx
mov dword [0x1003d744], ecx
mov dword [0x1003d738], edx
mov dword [0x1003d748], ecx
mov byte [0x1003d73c], dl
mov dword [0x1003d74c], ecx
mov edx, 0x1003d740
mov byte [0x1003d750], cl
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003780
mov eax, dword [esp + 0xa4]
mov edx, 0x1003d72c
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003798
xor edi, edi
jmp 0x1000380c
push 0x2100
push esi
push ebp
call fcn.10002d80
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
add esp, 0xc
push eax
mov eax, dword [esp + 0xb8]
push ebx
push 1
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0xc0]
push eax
push ecx
push edx
call fcn.10003200
mov edi, eax
jmp 0x1000380c
mov edi, dword [esi + 0xc]
push 2
push ebp
call dword [sym.imp.WS2_32.dll_shutdown]
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call fcn.1000803d
add esp, 4
mov eax, edi
jmp 0x1000382b
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
call fcn.1000802f
add esp, 0x8c
ret 0x2c