Function at 0x10024a2b
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 8
call fcn.10038d18
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0x18
call fcn.10038d18
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1003f22b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x18
call fcn.10038d18
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1003f233
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
cmp dword [0x10043e49], 0
jne 0x10024b12
mov eax, 0
jmp 0x100256d2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10022f76
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x10024b36
mov eax, 0
jmp 0x100256d2
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x1003f219]
ftst
fnstsw ax
test ah, 1
je 0x10024b50
fchs
fcomp qword [0x1003f221]
fnstsw ax
test ah, 0x41
je 0x10024c75
mov dword [ebp - 0x3c], esp
push 1
push 0
push 0
push 0x11
push 2
push 2
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024ba8
push 0x141
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x3c], esp
push 1
push 0
push 0
push 0x11
push 2
push 0x17
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024bf2
push 0x194
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x10024c0d
cmp dword [ebp - 0x10], 0
je 0x10024c0d
xor eax, eax
jmp 0x10024c12
mov eax, 1
test eax, eax
je 0x10024c3c
push dword [ebp - 0xc]
call fcn.1001a61c
push dword [ebp - 0x10]
call fcn.1001a61c
push dword [ebp - 4]
call fcn.1002329c
mov eax, 0
jmp 0x100256d2
push 1
push dword [ebp - 0x10]
call fcn.100233a9
push 3
push dword [ebp - 0x10]
call fcn.1002343c
push 1
push dword [ebp - 0x10]
call fcn.100234dd
push 1
push dword [ebp - 0x10]
call fcn.1002368c
jmp 0x10024cd9
mov dword [ebp - 0x3c], esp
push 1
push 0
push 0
push 0x11
push 2
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024cba
push 0x373
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10024cd9
push dword [ebp - 4]
call fcn.1002329c
mov eax, 0
jmp 0x100256d2
push 1
push dword [ebp - 0xc]
call fcn.100233a9
push 1
push dword [ebp - 0xc]
call fcn.1002343c
push 1
push dword [ebp - 0xc]
call fcn.100234dd
push 1
push dword [ebp - 0xc]
call fcn.1002368c
mov dword [ebp - 0x3c], esp
push 0
push 0
push 4
xor eax, eax
call dword [0x10043f25]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024d45
push 0x4fd
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10024d74
push dword [ebp - 0xc]
call fcn.1001a61c
push dword [ebp - 0x10]
call fcn.1001a61c
push dword [ebp - 4]
call fcn.1002329c
mov eax, 0
jmp 0x100256d2
mov dword [ebp - 0x3c], esp
push 0xb0
push 8
push dword [ebp - 0x14]
xor eax, eax
call dword [0x10043f05]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024daa
push 0x5e7
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10024e05
push dword [ebp - 0xc]
call fcn.1001a61c
push dword [ebp - 0x10]
call fcn.1001a61c
push dword [ebp - 4]
call fcn.1002329c
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0x10043f6d]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024dfb
push 0x694
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov eax, 0
jmp 0x100256d2
push 0xb0
push dword [ebp - 0x18]
call fcn.1000164a
push dword [ebp - 0x18]
push dword [ebp - 8]
call fcn.100018c8
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
call fcn.1000328c
push dword [ebp - 0xc]
push 4
push dword [ebp - 0x18]
call fcn.1000328c
push dword [ebp - 0x10]
push 0xa0
push dword [ebp - 0x18]
call fcn.1000328c
push 0
push 0x2c
push dword [ebp - 0x18]
call fcn.1000328c
push 0xffff
push dword [ebp - 4]
call fcn.10025703
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10024ec7
push dword [ebp - 0xc]
call fcn.1001a61c
push dword [ebp - 0x10]
call fcn.1001a61c
push dword [ebp - 4]
call fcn.1002329c
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0x10043f6d]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024ebd
push 0x889
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov eax, 0
jmp 0x100256d2
push dword [ebp + 8]
push 8
push dword [ebp - 0x18]
call fcn.10007b0a
mov dword [ebp - 0x3c], esp
push dword [ebp + 0x10]
xor eax, eax
call dword [sym.imp.WS2_32.dll_htons]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024f03
push 0x921
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
push eax
push 0xa
push dword [ebp - 0x18]
call fcn.10007b0a
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x1003f219]
ftst
fnstsw ax
test ah, 1
je 0x10024f2b
fchs
fcomp qword [0x1003f221]
fnstsw ax
test ah, 0x41
je 0x10024ff6
push 1
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.1002372d
test eax, eax
je 0x10024fb5
push dword [ebp - 0xc]
call fcn.10018041
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x10024f76
push dword [ebp - 0x20]
call fcn.100183c0
mov dword [ebp - 0x20], eax
push 1
push dword [ebp - 0x20]
push 1
mov eax, str.0:0:0:0:0:0:0:0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x10]
call fcn.10023974
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10024fa4
push ebx
call fcn.10038d1e
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x10024fb5
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_inet_addr]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10024fe3
push 0xb18
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
push eax
push 0xc
push dword [ebp - 0x18]
call fcn.1000328c
jmp 0x100250d1
cmp dword [ebp + 8], 2
jne 0x10025056
push 1
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.1002372d
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_inet_addr]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025043
push 0xbfb
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
push eax
push 0xc
push dword [ebp - 0x18]
call fcn.1000328c
jmp 0x100250d1
push 1
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.10023974
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
call fcn.10001708
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1003f263]
fstp qword [ebp - 0x48]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], esp
push 0x10
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
call fcn.100010de
push ebx
fld qword [ebp - 0x48]
call fcn.100010b7
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x50], esp
je 0x100250d1
push 0xc8c
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x10025131
push dword [ebp - 0x1c]
call fcn.1001a432
push dword [ebp - 0xc]
call fcn.1001a61c
push dword [ebp - 0x10]
call fcn.1001a61c
push dword [ebp - 4]
call fcn.1002329c
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0x10043f6d]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025127
push 0xd7d
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov eax, 0
jmp 0x100256d2
push 0x1000
call fcn.10010650
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1002519e
push dword [ebp - 0x1c]
call fcn.1001a432
push dword [ebp - 0xc]
call fcn.1001a61c
push dword [ebp - 0x10]
call fcn.1001a61c
push dword [ebp - 4]
call fcn.1002329c
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0x10043f6d]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025194
push 0xe8e
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov eax, 0
jmp 0x100256d2
push dword [ebp - 0x18]
call fcn.1002661f
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10025211
push dword [ebp - 0x1c]
call fcn.1001a432
push dword [ebp - 0xc]
call fcn.1001a61c
push dword [ebp - 0x10]
call fcn.1001a61c
push dword [ebp - 4]
call fcn.1002329c
push dword [ebp - 0x2c]
call fcn.10007b60
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0x10043f6d]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025207
push 0xfb2
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov eax, 0
jmp 0x100256d2
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
call fcn.1000328c
push dword [ebp - 0xc]
push 4
push dword [ebp - 0x18]
call fcn.1000328c
push 0
push 0x24
push dword [ebp - 0x18]
call fcn.1000328c
push 0
push 0x28
push dword [ebp - 0x18]
call fcn.1000328c
push 0
push 0x30
push dword [ebp - 0x18]
call fcn.1000328c
push dword [ebp - 0x2c]
push 0x34
push dword [ebp - 0x18]
call fcn.1000328c
push dword [ebp - 0x1c]
push 0x38
push dword [ebp - 0x18]
call fcn.1000328c
push dword [ebp - 0x30]
push 0x3c
push dword [ebp - 0x18]
call fcn.1000328c
push dword [0x10043e81]
push 0x44
push dword [ebp - 0x18]
call fcn.1000328c
mov eax, dword [0x10043e85]
xor ecx, ecx
push eax
lea eax, [ebp - 0x34]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100255c9
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp - 4]
push 0x1002992e
push 0x32
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025312
push 0x11ca
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0xf
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025346
push 0x120e
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
xor eax, eax
call dword [0x10043f35]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025372
push 0x1231
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1003f26b]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
fld qword [ebp - 0x48]
call fcn.100010b7
push eax
xor eax, eax
call dword [0x10043f75]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100253b6
push 0x125d
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp - 4]
push 0x1002a4ef
push 0x32
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025402
push 0x12a9
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0xf
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025436
push 0x12ed
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
xor eax, eax
call dword [0x10043f35]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025462
push 0x1310
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1003f293]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
fld qword [ebp - 0x48]
call fcn.100010b7
push eax
xor eax, eax
call dword [0x10043f75]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100254a6
push 0x133c
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x1003f219]
ftst
fnstsw ax
test ah, 1
je 0x100254c0
fchs
fcomp qword [0x1003f221]
fnstsw ax
test ah, 0x41
je 0x100255c1
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp - 4]
push 0x1002a811
push 0x32
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1002551d
push 0x13bf
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0xf
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025551
push 0x1403
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
xor eax, eax
call dword [0x10043f35]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1002557d
push 0x1426
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1003f293]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
fld qword [ebp - 0x48]
call fcn.100010b7
push eax
xor eax, eax
call dword [0x10043f75]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100255c1
push 0x1452
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x100252b8
add esp, 0xc
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 1
push 0
xor eax, eax
call dword [0x10043f4d]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10025610
push 0x14b9
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
push eax
push 0xac
push dword [ebp - 0x18]
call fcn.1000328c
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp - 4]
push 0x1002b264
push 0x32
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1002566a
push 0x14fe
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0xf
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1002569e
push 0x1542
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x38]
xor eax, eax
call dword [0x10043f35]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100256ca
push 0x1565
push 0x401f68a
push 6
call fcn.10038d0c
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100256d2
push eax
mov ebx, dword [ebp - 0x28]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10038d1e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10038d1e
add esp, 4
pop ebx
call fcn.10038d1e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc