Function at 0x1001f166
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 4], eax
nop
nop
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 8], eax
nop
nop
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 0xc], eax
nop
nop
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 0x10], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x100a9f73]
fstp qword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [0x100af321], eax
mov dword [0x100af325], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x100a9f7b]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x100af329]
test ebx, ebx
je 0x1001f2d5
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [0x100af329], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x100a9f83]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x9dc
call fcn.100997b0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x100af32d]
test ebx, ebx
je 0x1001f33e
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [0x100af32d], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x100a9f8b]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.100011a6
mov dword [0x100af331], eax
mov dword [0x100af335], edx
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x100a9f93
push dword [ebp - 0x2c]
push 0x100a9f93
push dword [ebp - 0x28]
push 0x100a9f93
push dword [ebp - 0x24]
push 0x100a9f95
mov ecx, 8
call fcn.100014f6
add esp, 0x20
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001f425
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001f435
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001f445
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001f455
push ebx
call fcn.10098517
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.1001fed5
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1001f47d
push ebx
call fcn.10098517
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1001f490
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x164
call fcn.1009a350
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1001f4b9
push ebx
call fcn.10098517
add esp, 4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 8]
fstp qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x100af339], eax
mov dword [0x100af33d], edx
fild dword [ebp - 4]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 8]
fstp qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [0x100af339]
fadd qword [ebp - 0x38]
fadd qword [0x100a9fa3]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x100af339], eax
mov dword [0x100af33d], edx
fld qword [0x100af339]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.100011a6
mov dword [0x100af341], eax
mov dword [0x100af345], edx
fild qword [0x100af341]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.100011a6
mov dword [0x100af341], eax
mov dword [0x100af345], edx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fild qword [0x100af341]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.100011a6
mov dword [0x100af341], eax
mov dword [0x100af345], edx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fild qword [0x100af341]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fadd qword [0x100a9f8b]
fstp qword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [0x100af349], eax
mov dword [0x100af34d], edx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [0x100af349]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x100af349], eax
mov dword [0x100af34d], edx
fld qword [0x100af349]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fmul qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x100a9f83]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x100af349], eax
mov dword [0x100af34d], edx
push 0x80000301
push 0
push dword [ebp - 0x10]
fld qword [0x100af349]
call fcn.100011a6
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x9f8
call fcn.10099890
add esp, 0x1c
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [0x100af349], eax
mov dword [0x100af34d], edx
push 0x80000301
push 0
push 0x1e54b
fld qword [0x100af349]
call fcn.100011a6
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc8
call fcn.100998b0
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x100af351]
test ebx, ebx
je 0x1001f712
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [0x100af351], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x100af351]
test eax, eax
jne 0x1001f72d
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x9dc
call fcn.100997b0
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x1e6c
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0xcc
call fcn.100994e0
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [0x100af351]
test ebx, ebx
je 0x1001f79f
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [0x100af351], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x100af351]
test eax, eax
jne 0x1001f7ba
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x9dc
call fcn.100997b0
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x100a9fab]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x100af351]
test ebx, ebx
je 0x1001f819
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [0x100af351], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x100af351]
test eax, eax
jne 0x1001f834
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x9dc
call fcn.100997b0
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0xcc
call fcn.100994e0
add esp, 0x1c
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp qword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [0x100af355], eax
mov dword [0x100af359], edx
fld qword [0x100af355]
fdiv qword [0x100a9fb3]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x18]
ftst
fnstsw ax
test ah, 1
je 0x1001f8aa
fchs
fcomp qword [0x100a95db]
fnstsw ax
test ah, 0x41
jne 0x1001f94b
mov eax, 1
cmp eax, 2
jne 0x1001f8bb
cmp dword [ebp - 0x1c], 0
jne 0x1001f8e3
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001f8c5
call fcn.1000e661
push 0
call fcn.1009853b
add esp, 4
call fcn.10021b24
cmp dword [ebp - 0x1c], 0
jne 0x1001f915
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001f8f7
cmp dword [ebp - 0xc], 0x22b8
je 0x1001f936
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001f915
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esp, esp
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x1001fed1
mov dword [0x100af355], 0
mov dword [0x100af359], 0
mov eax, 0x100a921d
push eax
mov ebx, dword [0x100af351]
test ebx, ebx
je 0x1001f978
push ebx
call fcn.10098517
add esp, 4
pop eax
mov dword [0x100af351], eax
mov dword [0x100af349], 0
mov dword [0x100af34d], 0
mov dword [0x100af341], 0
mov dword [0x100af345], 0
mov dword [0x100af339], 0
mov dword [0x100af33d], 0
fld qword [0x100af321]
fdiv qword [0x100a9f73]
fstp qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x30]
ftst
fnstsw ax
test ah, 1
je 0x1001f9e0
fchs
fcomp qword [0x100a95db]
fnstsw ax
test ah, 0x41
jne 0x1001fa6c
mov eax, 1
cmp eax, 2
jne 0x1001f9f1
cmp dword [ebp - 0x1c], 0
jne 0x1001fa19
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001f9fb
call fcn.1000e661
push 0
call fcn.1009853b
add esp, 4
call fcn.10021b24
cmp dword [ebp - 0x1c], 0
jne 0x1001fa4b
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fa2d
cmp dword [ebp - 0xc], 0x22b8
je 0x1001fa6c
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fa4b
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x100af329]
test eax, eax
jne 0x1001fa81
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x9dc
call fcn.100997b0
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x100a9f7b]
fstp qword [ebp - 0x34]
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x34]
fsub qword [ebp - 0x3c]
ftst
fnstsw ax
test ah, 1
je 0x1001fac0
fchs
fcomp qword [0x100a95db]
fnstsw ax
test ah, 0x41
jne 0x1001fb4c
mov eax, 1
cmp eax, 2
jne 0x1001fad1
cmp dword [ebp - 0x1c], 0
jne 0x1001faf9
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fadb
call fcn.1000e661
push 0
call fcn.1009853b
add esp, 4
call fcn.10021b24
cmp dword [ebp - 0x1c], 0
jne 0x1001fb2b
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fb0d
cmp dword [ebp - 0xc], 0x22b8
je 0x1001fb4c
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fb2b
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x100af32d]
test eax, eax
jne 0x1001fb73
mov eax, 0x100a9215
push eax
push 3
mov ebx, 0x19c
call fcn.10099a90
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x1001fba7
and eax, 0xff
jmp 0x1001fbcd
cmp ecx, 0x80000201
jne 0x1001fbb2
cwde
jmp 0x1001fbcd
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000301
je 0x1001fbd0
cmp ecx, 0x80000401
jne 0x1001fbd5
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
jmp 0x1001fc01
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
jmp 0x1001fc01
cmp ecx, 0x80000501
jne 0x1001fbe2
fld dword [ebp - 0x34]
jmp 0x1001fc01
cmp ecx, 0x80000601
je 0x1001fc0a
push 0x16ce
push 0x40106d0
push 2
call fcn.1009851d
add esp, 0xc
fstp qword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
fsub qword [0x100a9f83]
fstp qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x1001fc33
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x1001fc43
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001fc43
push ebx
call fcn.10098517
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x44]
ftst
fnstsw ax
test ah, 1
je 0x1001fc5a
fchs
fcomp qword [0x100a95db]
fnstsw ax
test ah, 0x41
jne 0x1001fce6
mov eax, 1
cmp eax, 2
jne 0x1001fc6b
cmp dword [ebp - 0x1c], 0
jne 0x1001fc93
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fc75
call fcn.1000e661
push 0
call fcn.1009853b
add esp, 4
call fcn.10021b24
cmp dword [ebp - 0x1c], 0
jne 0x1001fcc5
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fca7
cmp dword [ebp - 0xc], 0x22b8
je 0x1001fce6
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fcc5
fild qword [0x100af331]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x100a9f8b]
fstp qword [ebp - 0x30]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x38]
ftst
fnstsw ax
test ah, 1
je 0x1001fd12
fchs
fcomp qword [0x100a95db]
fnstsw ax
test ah, 0x41
jne 0x1001fd9e
mov eax, 1
cmp eax, 2
jne 0x1001fd23
cmp dword [ebp - 0x1c], 0
jne 0x1001fd4b
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fd2d
call fcn.1000e661
push 0
call fcn.1009853b
add esp, 4
call fcn.10021b24
cmp dword [ebp - 0x1c], 0
jne 0x1001fd7d
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fd5f
cmp dword [ebp - 0xc], 0x22b8
je 0x1001fd9e
push 0
mov ebx, 0x350
call fcn.10099500
add esp, 4
jmp 0x1001fd7d
push 1
push 1
call fcn.10021b32
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1001fdef
call fcn.1000e661
push 0x80000301
push 0
push 0x34fb5e3
push 1
mov ebx, 0x67c
call fcn.1009b9e0
add esp, 0x10
call fcn.10021b24
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esp, esp
xor ebp, ebp
xor esi, esi
xor edi, edi
call fcn.1001b6db
push 3
call fcn.10022a00
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001fe14
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x9dc
call fcn.100997b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001fe3a
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x28], 1
jge 0x1001fe7c
call fcn.10021b24
call fcn.1000e661
push 0x80000301
push 0
push 0x211d1ae3
push 1
mov ebx, 0x67c
call fcn.1009b9e0
add esp, 0x10
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esp, esp
xor ebp, ebp
xor esi, esi
xor edi, edi
push 0x80000301
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push reloc.WS2_32.dll_getsockname
push 0
push 0x10023fc2
push 3
mov ebx, 0
mov eax, 0x1009dc50
call fcn.10099030
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x20]
push 1
mov ebx, 0x1c
mov eax, 0x1009dd80
call fcn.10099030
add esp, 0x10
mov esp, ebp
pop ebp
ret