Function at 0x420046
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 [0x4e130f]
fstp qword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [0x5842a4], eax
mov dword [0x5842a8], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4e1317]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [0x5842ac]
test ebx, ebx
je 0x4201b5
push ebx
call fcn.0043e151
add esp, 4
pop eax
mov dword [0x5842ac], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4e131f]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x43efd0
call fcn.0043e169
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x43f8a0
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x5842b0]
test ebx, ebx
je 0x42021e
push ebx
call fcn.0043e151
add esp, 4
pop eax
mov dword [0x5842b0], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x4e1327]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.004017b2
mov dword [0x5842b4], eax
mov dword [0x5842b8], edx
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x4e132f
push dword [ebp - 0x2c]
push 0x4e132f
push dword [ebp - 0x28]
push 0x4e132f
push dword [ebp - 0x24]
push 0x4e1331
mov ecx, 8
call fcn.00407463
add esp, 0x20
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420305
push ebx
call fcn.0043e151
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x420315
push ebx
call fcn.0043e151
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420325
push ebx
call fcn.0043e151
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420335
push ebx
call fcn.0043e151
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
call fcn.00420e7a
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42035d
push ebx
call fcn.0043e151
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x420370
mov eax, 0x4e065c
push eax
push 1
mov ebx, 0x43ec50
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x420399
push ebx
call fcn.0043e151
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 [0x5842bc], eax
mov dword [0x5842c0], 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 [0x5842bc]
fadd qword [ebp - 0x38]
fadd qword [0x4e133f]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x5842bc], eax
mov dword [0x5842c0], edx
fld qword [0x5842bc]
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.004017b2
mov dword [0x5842c4], eax
mov dword [0x5842c8], edx
fild qword [0x5842c4]
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.004017b2
mov dword [0x5842c4], eax
mov dword [0x5842c8], 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 [0x5842c4]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.004017b2
mov dword [0x5842c4], eax
mov dword [0x5842c8], 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 [0x5842c4]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fadd qword [0x4e1347]
fstp qword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [0x5842cc], eax
mov dword [0x5842d0], 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 [0x5842cc]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x5842cc], eax
mov dword [0x5842d0], edx
fld qword [0x5842cc]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fmul qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x4e134f]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x5842cc], eax
mov dword [0x5842d0], edx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [0x5842cc]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x5842cc], eax
mov dword [0x5842d0], edx
fld qword [0x5842cc]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fmul qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 8]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x5842cc], eax
mov dword [0x5842d0], 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 [0x5842cc]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x5842cc], eax
mov dword [0x5842d0], edx
push 0x80000301
push 0
push dword [ebp - 0x10]
fld qword [0x5842cc]
call fcn.004017b2
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x440e00
call fcn.0043e169
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 [0x5842cc], eax
mov dword [0x5842d0], edx
push 0x80000301
push 0
push 0x221d29
fld qword [0x5842cc]
call fcn.004017b2
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x43e5e0
call fcn.0043e169
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x5842d4]
test ebx, ebx
je 0x420688
push ebx
call fcn.0043e151
add esp, 4
pop eax
mov dword [0x5842d4], eax
push getpeername
push 0
mov eax, dword [0x5842d4]
test eax, eax
jne 0x4206a3
mov eax, 0x4e065c
push eax
push 1
mov ebx, 0x43efd0
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x19fe
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0x43e600
call fcn.0043e169
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [0x5842d4]
test ebx, ebx
je 0x420715
push ebx
call fcn.0043e151
add esp, 4
pop eax
mov dword [0x5842d4], eax
push getpeername
push 0
mov eax, dword [0x5842d4]
test eax, eax
jne 0x420730
mov eax, 0x4e065c
push eax
push 1
mov ebx, 0x43efd0
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x4e1357]
fstp qword [ebp - 0x34]
push 0x80000601
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
mov ebx, 0x440220
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [0x5842d4]
test ebx, ebx
je 0x42078f
push ebx
call fcn.0043e151
add esp, 4
pop eax
mov dword [0x5842d4], eax
push getpeername
push 0
mov eax, dword [0x5842d4]
test eax, eax
jne 0x4207aa
mov eax, 0x4e065c
push eax
push 1
mov ebx, 0x43efd0
call fcn.0043e169
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, 0x43e600
call fcn.0043e169
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 [0x5842d8], eax
mov dword [0x5842dc], edx
fld qword [0x5842d8]
fdiv qword [0x4e135f]
fstp qword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [0x5842d8], eax
mov dword [0x5842dc], edx
fld qword [0x5842d8]
fsub qword [0x4e1367]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x18]
ftst
fnstsw ax
test ah, 1
je 0x420840
fchs
fcomp qword [0x4e0c44]
fnstsw ax
test ah, 0x41
jne 0x4208e1
mov eax, 1
cmp eax, 2
jne 0x420851
cmp dword [ebp - 0x1c], 0
jne 0x420879
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x42085b
call fcn.00404eea
push 0
call fcn.0043e181
add esp, 4
call fcn.00405411
cmp dword [ebp - 0x1c], 0
jne 0x4208ab
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x42088d
cmp dword [ebp - 0xc], 0x22b8
je 0x4208cc
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x4208ab
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 0x420e76
mov dword [0x5842d8], 0
mov dword [0x5842dc], 0
mov eax, 0x4e065c
push eax
mov ebx, dword [0x5842d4]
test ebx, ebx
je 0x42090e
push ebx
call fcn.0043e151
add esp, 4
pop eax
mov dword [0x5842d4], eax
mov dword [0x5842cc], 0
mov dword [0x5842d0], 0
mov dword [0x5842c4], 0
mov dword [0x5842c8], 0
mov dword [0x5842bc], 0
mov dword [0x5842c0], 0
fld qword [0x5842a4]
fdiv qword [0x4e130f]
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 0x420976
fchs
fcomp qword [0x4e0c44]
fnstsw ax
test ah, 0x41
jne 0x420a02
mov eax, 1
cmp eax, 2
jne 0x420987
cmp dword [ebp - 0x1c], 0
jne 0x4209af
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420991
call fcn.00404eea
push 0
call fcn.0043e181
add esp, 4
call fcn.00405411
cmp dword [ebp - 0x1c], 0
jne 0x4209e1
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x4209c3
cmp dword [ebp - 0xc], 0x22b8
je 0x420a02
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x4209e1
push getpeername
push 0
mov eax, dword [0x5842ac]
test eax, eax
jne 0x420a17
mov eax, 0x4e065c
push eax
push 1
mov ebx, 0x43efd0
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x4e1317]
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 0x420a56
fchs
fcomp qword [0x4e0c44]
fnstsw ax
test ah, 0x41
jne 0x420ae2
mov eax, 1
cmp eax, 2
jne 0x420a67
cmp dword [ebp - 0x1c], 0
jne 0x420a8f
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420a71
call fcn.00404eea
push 0
call fcn.0043e181
add esp, 4
call fcn.00405411
cmp dword [ebp - 0x1c], 0
jne 0x420ac1
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420aa3
cmp dword [ebp - 0xc], 0x22b8
je 0x420ae2
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420ac1
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x5842b0]
test eax, eax
jne 0x420b09
mov eax, 0x4e0635
push eax
push 3
mov ebx, 0x43f9a0
call fcn.0043e169
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 0x420b3d
and eax, 0xff
jmp 0x420b63
cmp ecx, 0x80000201
jne 0x420b48
cwde
jmp 0x420b63
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000301
je 0x420b66
cmp ecx, 0x80000401
jne 0x420b6b
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
jmp 0x420b97
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
jmp 0x420b97
cmp ecx, 0x80000501
jne 0x420b78
fld dword [ebp - 0x34]
jmp 0x420b97
cmp ecx, 0x80000601
je 0x420ba0
push 0x1897
push 0x4013ec8
push 2
call fcn.0043e15d
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 [0x4e131f]
fstp qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x80000004
je 0x420bc9
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x420bd9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x420bd9
push ebx
call fcn.0043e151
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 0x420bf0
fchs
fcomp qword [0x4e0c44]
fnstsw ax
test ah, 0x41
jne 0x420c7c
mov eax, 1
cmp eax, 2
jne 0x420c01
cmp dword [ebp - 0x1c], 0
jne 0x420c29
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420c0b
call fcn.00404eea
push 0
call fcn.0043e181
add esp, 4
call fcn.00405411
cmp dword [ebp - 0x1c], 0
jne 0x420c5b
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420c3d
cmp dword [ebp - 0xc], 0x22b8
je 0x420c7c
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420c5b
fild qword [0x5842b4]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x4e1327]
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 0x420ca8
fchs
fcomp qword [0x4e0c44]
fnstsw ax
test ah, 0x41
jne 0x420d34
mov eax, 1
cmp eax, 2
jne 0x420cb9
cmp dword [ebp - 0x1c], 0
jne 0x420ce1
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420cc3
call fcn.00404eea
push 0
call fcn.0043e181
add esp, 4
call fcn.00405411
cmp dword [ebp - 0x1c], 0
jne 0x420d13
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420cf5
cmp dword [ebp - 0xc], 0x22b8
je 0x420d34
push 0
mov ebx, 0x440b30
call fcn.0043e169
add esp, 4
jmp 0x420d13
push 1
push 1
call fcn.00401387
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x420d85
call fcn.00404eea
push 0x80000301
push 0
push 0x34fb5e3
push 1
mov ebx, 0x440bc0
call fcn.0043e169
add esp, 0x10
call fcn.00405411
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.0041d701
push 3
call fcn.0041fb4d
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x420daa
mov eax, 0x4e065c
push eax
push 1
mov ebx, 0x43efd0
call fcn.0043e169
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x420dd0
push ebx
call fcn.0043e151
add esp, 4
cmp dword [ebp - 0x28], 1
jge 0x420e12
call fcn.00405411
call fcn.00404eea
push 0x80000301
push 0
push 0x211d1ae3
push 1
mov ebx, 0x440bc0
call fcn.0043e169
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 ioctlsocket
push 0
push 0x430191
push 3
mov eax, 2
mov ebx, 0x4a05f0
call fcn.0043e16f
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x20]
push 1
mov eax, 2
mov ebx, 0x4a0720
call fcn.0043e16f
add esp, 0x10
call fcn.00422ac9
push 0
call fcn.0043e181
add esp, 4
mov esp, ebp
pop ebp
ret