Function at 0x42038c
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 [0x4af035]
fstp qword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [0x4b4e34], eax
mov dword [0x4b4e38], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4af03d]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x4b4e3c]
test ebx, ebx
je 0x4204fb
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [0x4b4e3c], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4af045]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x9dc
call fcn.0049e450
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.0049e370
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x4b4e40]
test ebx, ebx
je 0x420564
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [0x4b4e40], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x4af04d]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.0040191a
mov dword [0x4b4e44], eax
mov dword [0x4b4e48], edx
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x4af055
push dword [ebp - 0x2c]
push 0x4af055
push dword [ebp - 0x28]
push 0x4af055
push dword [ebp - 0x24]
push 0x4af057
mov ecx, 8
call fcn.00401867
add esp, 0x20
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42064b
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x42065b
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x42066b
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42067b
push ebx
call fcn.0049c657
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.004210fb
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4206a3
push ebx
call fcn.0049c657
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4206b6
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x164
call fcn.0049eb30
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4206df
push ebx
call fcn.0049c657
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 [0x4b4e4c], eax
mov dword [0x4b4e50], 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 [0x4b4e4c]
fadd qword [ebp - 0x38]
fadd qword [0x4af065]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x4b4e4c], eax
mov dword [0x4b4e50], edx
fld qword [0x4b4e4c]
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.0040191a
mov dword [0x4b4e54], eax
mov dword [0x4b4e58], edx
fild qword [0x4b4e54]
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.0040191a
mov dword [0x4b4e54], eax
mov dword [0x4b4e58], 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 [0x4b4e54]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.0040191a
mov dword [0x4b4e54], eax
mov dword [0x4b4e58], 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 [0x4b4e54]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fadd qword [0x4af04d]
fstp qword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [0x4b4e5c], eax
mov dword [0x4b4e60], 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 [0x4b4e5c]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x4b4e5c], eax
mov dword [0x4b4e60], edx
fld qword [0x4b4e5c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fmul qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x4af045]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x4b4e5c], eax
mov dword [0x4b4e60], edx
push 0x80000301
push 0
push dword [ebp - 0x10]
fld qword [0x4b4e5c]
call fcn.0040191a
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x9f8
call fcn.0049f9e0
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 [0x4b4e5c], eax
mov dword [0x4b4e60], edx
push 0x80000301
push 0
push 0x1e54b
fld qword [0x4b4e5c]
call fcn.0040191a
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc8
call fcn.0049d260
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x4b4e64]
test ebx, ebx
je 0x420938
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [0x4b4e64], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x4b4e64]
test eax, eax
jne 0x420953
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x9dc
call fcn.0049e450
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.0049fd60
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [0x4b4e64]
test ebx, ebx
je 0x4209c5
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [0x4b4e64], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x4b4e64]
test eax, eax
jne 0x4209e0
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x9dc
call fcn.0049e450
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x4af06d]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x4b4e64]
test ebx, ebx
je 0x420a3f
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [0x4b4e64], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x4b4e64]
test eax, eax
jne 0x420a5a
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x9dc
call fcn.0049e450
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.0049fd60
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 [0x4b4e68], eax
mov dword [0x4b4e6c], edx
fld qword [0x4b4e68]
fdiv qword [0x4af075]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x18]
ftst
fnstsw ax
test ah, 1
je 0x420ad0
fchs
fcomp qword [0x4ae69f]
fnstsw ax
test ah, 0x41
jne 0x420b71
mov eax, 1
cmp eax, 2
jne 0x420ae1
cmp dword [ebp - 0x1c], 0
jne 0x420b09
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420aeb
call fcn.0040f887
push 0
call fcn.0049c639
add esp, 4
call fcn.00422d4a
cmp dword [ebp - 0x1c], 0
jne 0x420b3b
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420b1d
cmp dword [ebp - 0xc], 0x22b8
je 0x420b5c
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420b3b
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 0x4210f7
mov dword [0x4b4e68], 0
mov dword [0x4b4e6c], 0
mov eax, 0x4ae20b
push eax
mov ebx, dword [0x4b4e64]
test ebx, ebx
je 0x420b9e
push ebx
call fcn.0049c657
add esp, 4
pop eax
mov dword [0x4b4e64], eax
mov dword [0x4b4e5c], 0
mov dword [0x4b4e60], 0
mov dword [0x4b4e54], 0
mov dword [0x4b4e58], 0
mov dword [0x4b4e4c], 0
mov dword [0x4b4e50], 0
fld qword [0x4b4e34]
fdiv qword [0x4af035]
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 0x420c06
fchs
fcomp qword [0x4ae69f]
fnstsw ax
test ah, 0x41
jne 0x420c92
mov eax, 1
cmp eax, 2
jne 0x420c17
cmp dword [ebp - 0x1c], 0
jne 0x420c3f
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420c21
call fcn.0040f887
push 0
call fcn.0049c639
add esp, 4
call fcn.00422d4a
cmp dword [ebp - 0x1c], 0
jne 0x420c71
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420c53
cmp dword [ebp - 0xc], 0x22b8
je 0x420c92
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420c71
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x4b4e3c]
test eax, eax
jne 0x420ca7
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x9dc
call fcn.0049e450
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x4af03d]
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 0x420ce6
fchs
fcomp qword [0x4ae69f]
fnstsw ax
test ah, 0x41
jne 0x420d72
mov eax, 1
cmp eax, 2
jne 0x420cf7
cmp dword [ebp - 0x1c], 0
jne 0x420d1f
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420d01
call fcn.0040f887
push 0
call fcn.0049c639
add esp, 4
call fcn.00422d4a
cmp dword [ebp - 0x1c], 0
jne 0x420d51
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420d33
cmp dword [ebp - 0xc], 0x22b8
je 0x420d72
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420d51
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x4b4e40]
test eax, eax
jne 0x420d99
mov eax, 0x4ae221
push eax
push 3
mov ebx, 0x19c
call fcn.0049e8f0
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 0x420dcd
and eax, 0xff
jmp 0x420df3
cmp ecx, 0x80000201
jne 0x420dd8
cwde
jmp 0x420df3
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000301
je 0x420df6
cmp ecx, 0x80000401
jne 0x420dfb
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
jmp 0x420e27
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
jmp 0x420e27
cmp ecx, 0x80000501
jne 0x420e08
fld dword [ebp - 0x34]
jmp 0x420e27
cmp ecx, 0x80000601
je 0x420e30
push 0x16ce
push 0x40106d0
push 2
call fcn.0049c65d
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 [0x4af045]
fstp qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x420e59
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x420e69
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420e69
push ebx
call fcn.0049c657
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 0x420e80
fchs
fcomp qword [0x4ae69f]
fnstsw ax
test ah, 0x41
jne 0x420f0c
mov eax, 1
cmp eax, 2
jne 0x420e91
cmp dword [ebp - 0x1c], 0
jne 0x420eb9
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420e9b
call fcn.0040f887
push 0
call fcn.0049c639
add esp, 4
call fcn.00422d4a
cmp dword [ebp - 0x1c], 0
jne 0x420eeb
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420ecd
cmp dword [ebp - 0xc], 0x22b8
je 0x420f0c
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420eeb
fild qword [0x4b4e44]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x4af04d]
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 0x420f38
fchs
fcomp qword [0x4ae69f]
fnstsw ax
test ah, 0x41
jne 0x420fc4
mov eax, 1
cmp eax, 2
jne 0x420f49
cmp dword [ebp - 0x1c], 0
jne 0x420f71
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420f53
call fcn.0040f887
push 0
call fcn.0049c639
add esp, 4
call fcn.00422d4a
cmp dword [ebp - 0x1c], 0
jne 0x420fa3
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420f85
cmp dword [ebp - 0xc], 0x22b8
je 0x420fc4
push 0
mov ebx, 0x350
call fcn.0049dad0
add esp, 4
jmp 0x420fa3
push 1
push 1
call fcn.00422d58
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x421015
call fcn.0040f887
push 0x80000301
push 0
push 0x34fb5e3
push 1
mov ebx, 0x67c
call fcn.0049d330
add esp, 0x10
call fcn.00422d4a
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.0041c901
push 3
call fcn.00423c26
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x42103a
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x9dc
call fcn.0049e450
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x421060
push ebx
call fcn.0049c657
add esp, 4
cmp dword [ebp - 0x28], 1
jge 0x4210a2
call fcn.00422d4a
call fcn.0040f887
push 0x80000301
push 0
push 0x211d1ae3
push 1
mov ebx, 0x67c
call fcn.0049d330
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 0x4251e8
push 3
mov ebx, 0
mov eax, 0x4a3160
call fcn.0049d130
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x20]
push 1
mov ebx, 0x1c
mov eax, 0x4a3290
call fcn.0049d130
add esp, 0x10
mov esp, ebp
pop ebp
ret