Function at 0x40c54c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
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
push 0x20
call fcn.005a1595
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
push 8
call fcn.005a1595
add esp, 4
mov dword [ebp - 0x80], eax
mov edi, eax
mov esi, 0x6d1c37
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
push 8
call fcn.005a1595
add esp, 4
mov dword [ebp - 0xcc], eax
mov edi, eax
mov esi, 0x6d1c37
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
jmp 0x40c77f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
fninit
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
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
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 - 0x14], 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 - 0x18], eax
push esi
nop
mov esi, 0x666888
mov esi, 0x889688
nop
pop esi
nop
mov dword [ebp - 0xe8], esp
push 0
mov eax, 2
call fcn.005a15ad
cmp dword [ebp - 0xe8], esp
je 0x40c923
push 0xca8
push 0x4039823
push 6
call fcn.005a159b
add esp, 0xc
push 0x80000301
push 0
push dword [0x1662f68]
push 1
mov eax, 4
mov ebx, 0x64b140
call fcn.005a15b3
add esp, 0x10
mov dword [0x1662f9c], 0
mov dword [0x1662fa0], 0
mov dword [0x1662fa4], 0
mov dword [0x1662fa8], 0
mov byte [0x1662fac], 0
call fcn.00411456
call fcn.0040992a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1662fb0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x40c9a9
push eax
mov ebx, eax
call fcn.00401570
inc eax
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c9ba
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [0x1662fb4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c9df
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c9db
imul eax, dword [ebx]
jmp 0x40c9d0
mov ecx, eax
test ecx, ecx
je 0x40ca1f
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c9fa
push ebx
call fcn.005a158f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ca0e
push ebx
call fcn.005a158f
add esp, 4
pop ebx
call fcn.005a158f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c9e5
call fcn.005a158f
add esp, 4
mov eax, 0x6d1c37
mov dword [0x1662fb4], eax
mov dword [ebp - 0xe8], esp
mov eax, dword [ebp - 0x24]
push eax
push 0x10
call fcn.005a1595
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, 0x27
call fcn.005a15ad
cmp dword [ebp - 0xe8], esp
je 0x40cad9
push 0xe06
push 0x4039823
push 6
call fcn.005a159b
add esp, 0xc
push eax
mov ebx, dword [ebp - 0xec]
push ebx
mov edi, dword [ebp - 0xf0]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.005a158f
add esp, 4
pop eax
call fcn.0040992a
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0xf0], ebx
mov ebx, dword [ebp - 0xf0]
mov ax, word [ebx]
cwde
mov dword [ebp - 0xf8], eax
fild dword [ebp - 0xf8]
fstp qword [ebp - 0xf8]
fld qword [ebp - 0xf8]
fmul qword [0x6d1cf3]
fstp qword [ebp - 0x100]
push 0x80000601
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x104], eax
mov ebx, dword [ebp - 0x24]
add ebx, 4
mov dword [ebp - 0x108], ebx
mov ebx, dword [ebp - 0x108]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fstp qword [ebp - 0x110]
fld qword [ebp - 0x110]
fmul qword [0x6d1cf3]
fstp qword [ebp - 0x118]
push 0x80000601
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x11c], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0xc
mov dword [ebp - 0x120], ebx
mov ebx, dword [ebp - 0x120]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x128], eax
fild dword [ebp - 0x128]
fstp qword [ebp - 0x128]
fld qword [ebp - 0x128]
fmul qword [0x6d1cf3]
fstp qword [ebp - 0x130]
push 0x80000601
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x134], eax
push dword [ebp - 0x134]
push dword [ebp - 0x11c]
push dword [ebp - 0x104]
push dword [ebp - 0xec]
mov ecx, 4
call fcn.00401b84
add esp, 0x10
mov dword [ebp - 0x138], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40ccd1
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x104]
test ebx, ebx
je 0x40cce4
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x11c]
test ebx, ebx
je 0x40ccf7
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x134]
test ebx, ebx
je 0x40cd0a
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0x138]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40cd21
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0x10
mov dword [ebp - 0xe8], ebx
mov ebx, dword [ebp - 0xe8]
mov ax, word [ebx]
cwde
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fstp qword [ebp - 0xf0]
fld qword [ebp - 0xf0]
fmul qword [0x6d1cf3]
fstp qword [ebp - 0xf8]
push 0x80000601
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xfc], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0x14
mov dword [ebp - 0x100], ebx
mov ebx, dword [ebp - 0x100]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x108], eax
fild dword [ebp - 0x108]
fstp qword [ebp - 0x108]
fld qword [ebp - 0x108]
fadd qword [0x6d1e50]
fstp qword [ebp - 0x110]
push 0x80000601
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x114], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0x18
mov dword [ebp - 0x118], ebx
mov ebx, dword [ebp - 0x118]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x120], eax
fild dword [ebp - 0x120]
fstp qword [ebp - 0x120]
fld qword [ebp - 0x120]
fmul qword [0x6d1cf3]
fstp qword [ebp - 0x128]
push 0x80000601
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x12c], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0x1c
mov dword [ebp - 0x130], ebx
mov ebx, dword [ebp - 0x130]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x138], eax
fild dword [ebp - 0x138]
fstp qword [ebp - 0x138]
fld qword [ebp - 0x138]
fmul qword [0x6d1e74]
fstp qword [ebp - 0x140]
push 0x80000601
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x144], eax
mov ebx, dword [ebp - 0x24]
add ebx, 8
mov dword [ebp - 0x148], ebx
mov ebx, dword [ebp - 0x148]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x150], eax
fild dword [ebp - 0x150]
fstp qword [ebp - 0x150]
fld qword [ebp - 0x150]
fmul qword [0x6d1cf3]
fstp qword [ebp - 0x158]
push 0x80000601
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x15c], eax
call fcn.00412e5c
mov dword [ebp - 0x160], eax
push dword [ebp - 0x160]
push dword [ebp - 0x15c]
push dword [ebp - 0x144]
push dword [ebp - 0x12c]
push dword [ebp - 0x114]
push dword [ebp - 0xfc]
push dword [ebp - 0x28]
mov ecx, 7
call fcn.00401b84
add esp, 0x1c
mov dword [ebp - 0x164], eax
mov ebx, dword [ebp - 0xfc]
test ebx, ebx
je 0x40cf6c
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x114]
test ebx, ebx
je 0x40cf7f
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x12c]
test ebx, ebx
je 0x40cf92
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x144]
test ebx, ebx
je 0x40cfa5
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x15c]
test ebx, ebx
je 0x40cfb8
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x160]
test ebx, ebx
je 0x40cfcb
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0x164]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40cfe2
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40cff9
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00407fcf
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40d037
push ebx
call fcn.005a158f
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf0], eax
push dword [ebp - 0xf0]
push dword [ebp - 0xec]
mov ecx, 2
call fcn.00401b84
add esp, 8
mov dword [ebp - 0xf4], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40d08b
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0xf0]
test ebx, ebx
je 0x40d09e
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0xf4]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d0b5
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x18], 0
jne 0x40d12c
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40d0d6
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x40d12c
call fcn.00404c02
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40d11e
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [0x1662fb8], 1
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40d13f
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xc8f
jne 0x40d172
push 0x38799
call fcn.0041321a
cmp dword [0x1662fbc], 0x1e55e
je 0x40d18a
push dword [ebp + 8]
call fcn.0041361e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov eax, 0x6d1c37
test eax, eax
je 0x40d1ac
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d1bd
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov eax, 0x6d1c37
test eax, eax
je 0x40d1dd
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1662fc0]
test ebx, ebx
je 0x40d1f1
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662fc0], eax
mov eax, 0x6d1c37
test eax, eax
je 0x40d213
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1662fc4]
test ebx, ebx
je 0x40d227
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662fc4], eax
mov eax, 0x6d1c37
test eax, eax
je 0x40d249
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1662fc8]
test ebx, ebx
je 0x40d25d
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662fc8], eax
mov eax, 0x6d1b7f
push eax
mov ebx, dword [0x1662fcc]
test ebx, ebx
je 0x40d27c
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662fcc], eax
mov dword [0x1662fd0], 0
mov dword [0x1662fd4], 0
mov dword [0x1662fd8], 0
mov eax, dword [0x1662fac]
and eax, 0xff
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fadd qword [0x6d1ded]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
call fcn.00401be0
mov byte [0x1662fac], al
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40d2fa
push eax
mov ebx, eax
call fcn.00401570
inc eax
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d30b
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40d32b
push eax
mov ebx, eax
call fcn.00401570
inc eax
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1662fdc]
test ebx, ebx
je 0x40d33f
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662fdc], eax
mov eax, 0x6d1bf8
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40d35b
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
call fcn.00404c02
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40d381
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
call fcn.004164b4
mov dword [0x1662fe0], eax
call fcn.00417090
mov dword [ebp - 0xe8], eax
push getpeername
push 0
mov eax, dword [ebp - 0xe8]
test eax, eax
jne 0x40d3bc
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40d3e8
push ebx
call fcn.005a158f
add esp, 4
mov dword [ebp - 0xf0], 0
push 0
push dword [ebp - 0xf0]
push 1
mov eax, 0x6d1f73
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0041799d
mov dword [ebp - 0xf8], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40d433
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0xf4]
test ebx, ebx
je 0x40d446
push ebx
call fcn.005a158f
add esp, 4
mov dword [ebp - 0xfc], 0
push 0
push dword [ebp - 0xfc]
push 1
mov eax, 0x6d1f73
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00417bc3
mov dword [ebp - 0x104], eax
mov ebx, dword [ebp - 0xf8]
test ebx, ebx
je 0x40d491
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x100]
test ebx, ebx
je 0x40d4a4
push ebx
call fcn.005a158f
add esp, 4
lea eax, [ebp - 0x104]
push eax
call fcn.00412f03
mov dword [ebp - 0x108], eax
mov ebx, dword [ebp - 0x104]
test ebx, ebx
je 0x40d4c9
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0x108]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40d4e0
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
push 0x80000301
push 0
push dword [0x1662f60]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xe8], eax
call fcn.0041900b
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf0], eax
call fcn.00419111
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf8], eax
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40d566
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xfc], eax
push 0x80000301
push 0
push dword [ebp - 0x44]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x100], eax
push 0x80000301
push 0
push dword [ebp - 0x48]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x104], eax
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], 0
push 0
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041799d
mov dword [ebp - 0x114], eax
mov ebx, dword [ebp - 0x108]
test ebx, ebx
je 0x40d62f
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x110]
test ebx, ebx
je 0x40d642
push ebx
call fcn.005a158f
add esp, 4
lea eax, [ebp - 0x114]
push eax
call fcn.00412f03
mov dword [ebp - 0x118], eax
mov ebx, dword [ebp - 0x114]
test ebx, ebx
je 0x40d667
push ebx
call fcn.005a158f
add esp, 4
call fcn.00419176
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x120], eax
push 0x80000301
push 0
push dword [0x1662fe0]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x124], eax
push dword [ebp - 0x124]
push dword [ebp - 0x3c]
push dword [ebp - 0x120]
push 0x6d1f84
push dword [ebp - 0x4c]
push dword [ebp - 0x3c]
push dword [ebp - 0x118]
push dword [ebp - 0x3c]
push dword [ebp - 0x104]
push dword [ebp - 0x3c]
push dword [ebp - 0x100]
push dword [ebp - 0x3c]
push dword [ebp - 0xfc]
push dword [ebp - 0x3c]
push dword [ebp - 0xf8]
push dword [ebp - 0x3c]
push dword [ebp - 0xf0]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x6d1bf8
push dword [ebp - 0xe8]
push 0x6d1f86
mov ecx, 0x18
call fcn.00401b84
add esp, 0x60
mov dword [ebp - 0x128], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40d740
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0xf0]
test ebx, ebx
je 0x40d753
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0xf8]
test ebx, ebx
je 0x40d766
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0xfc]
test ebx, ebx
je 0x40d779
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x100]
test ebx, ebx
je 0x40d78c
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x104]
test ebx, ebx
je 0x40d79f
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x118]
test ebx, ebx
je 0x40d7b2
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x120]
test ebx, ebx
je 0x40d7c5
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x124]
test ebx, ebx
je 0x40d7d8
push ebx
call fcn.005a158f
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x128]
test eax, eax
jne 0x40d7ee
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x12c], eax
mov ebx, dword [ebp - 0x128]
test ebx, ebx
je 0x40d81a
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0x12c]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40d831
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
cmp dword [ebp + 0x18], 1
jne 0x40d8fe
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40d852
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xe8]
push 0x6d1f8f
mov ecx, 2
call fcn.00401b84
add esp, 8
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40d89c
push ebx
call fcn.005a158f
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0xec]
test eax, eax
jne 0x40d8b2
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf0], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40d8de
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0xf0]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40d8f5
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x40d9b8
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40d911
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xe8]
push 0x6d1f98
mov ecx, 2
call fcn.00401b84
add esp, 8
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40d95b
push ebx
call fcn.005a158f
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0xec]
test eax, eax
jne 0x40d971
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf0], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40d99d
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0xf0]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40d9b4
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
call fcn.004192d7
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d9da
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x40d9f1
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
push 0x80000301
push 0
push 0x22a2
push 1
mov ebx, 0x5a2b30
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf4], eax
push dword [ebp - 0xf4]
push dword [ebp - 0xec]
push dword [ebp - 0x54]
push 0x6d1ca7
push dword [ebp - 0x50]
mov ecx, 5
call fcn.004016fd
add esp, 0x14
mov dword [ebp - 0xf8], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40da9f
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0xf4]
test ebx, ebx
je 0x40dab2
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0xf8]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40dac9
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 0x83a3ee9c
mov dword [ebp - 0x5c], 0xa860f3ec
dec dword [0x1662f9c]
fld qword [0x1662fa0]
fadd qword [0x6d1cf3]
fstp qword [0x1662fa0]
fld dword [0x1662fa8]
fadd qword [0x6d1f9d]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fstp dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov dword [0x1662fa8], eax
mov dword [0x1662f5c], 0
cmp dword [ebp - 0x1c], 0
je 0x40db83
call fcn.0040992a
mov dword [ebp - 0xf4], eax
fild dword [ebp - 0xf4]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0xfc]
fsub qword [ebp - 0xfc]
fstp qword [ebp - 0x104]
fld qword [ebp - 0x104]
fsub qword [0x6d1fa5]
fcomp qword [0x6d1fad]
fnstsw ax
test ah, 1
jne 0x40db83
xor eax, eax
jmp 0x40db88
mov eax, 1
test eax, eax
je 0x40dcf5
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40dba3
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xec], 0
push 0
push dword [ebp - 0xec]
mov dword [ebp - 0xf0], 0
push 0
push dword [ebp - 0xf0]
mov dword [ebp - 0xf4], 0
push 0
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0xf8], 0
push 0
push dword [ebp - 0xf8]
mov dword [ebp - 0xfc], 0
push 0
push dword [ebp - 0xfc]
mov dword [ebp - 0x100], 0
push 0
push dword [ebp - 0x100]
lea eax, [ebp - 0xe8]
push eax
call fcn.00408b8b
mov dword [ebp - 0x104], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40dc4e
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0x104]
push eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40dc65
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x60], eax
call fcn.0040992a
mov dword [ebp - 0x1c], eax
dec dword [0x1662f9c]
fld qword [0x1662fa0]
fadd qword [0x6d1cf3]
fstp qword [0x1662fa0]
fld dword [0x1662fa8]
fadd qword [0x6d1f9d]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fstp dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov dword [0x1662fa8], eax
mov eax, dword [0x1662fac]
and eax, 0xff
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fadd qword [0x6d1ded]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
call fcn.00401be0
mov byte [0x1662fac], al
jmp 0x40dd24
mov eax, 0x6d1fb5
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40dd0d
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x64], 1
mov dword [0x1662f5c], 0xffffffff
cmp dword [0x1662f5c], 0x849
jne 0x40dd39
call fcn.0041b143
cmp dword [ebp - 0x64], 0
jne 0x410a22
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40dd56
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x40dda9
mov eax, 0x6d1fd2
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40dd94
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [0x1662f5c], 0xffffffff
jmp 0x410a22
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40ddc8
mov eax, 0x6d1c37
push eax
push 2
mov ebx, 0x5a3940
call fcn.005a15a7
add esp, 0x1c
mov dword [ebp - 0xe8], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xe8]
test eax, eax
jne 0x40de09
mov eax, 0x6d1c37
push eax
push 3
mov ebx, 0x5a3780
call fcn.005a15a7
add esp, 0x28
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], ecx
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40de41
push ebx
call fcn.005a158f
add esp, 4
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
cmp ecx, 0x80000101
jne 0x40de62
and eax, 0xff
jmp 0x40de91
cmp ecx, 0x80000201
jne 0x40de6d
cwde
jmp 0x40de91
mov dword [ebp - 0xfc], eax
cmp ecx, 0x80000301
je 0x40de97
cmp ecx, 0x80000401
jne 0x40de9f
mov dword [ebp - 0xf8], edx
fild qword [ebp - 0xfc]
jmp 0x40dece
mov dword [ebp - 0xfc], eax
fild dword [ebp - 0xfc]
jmp 0x40dece
cmp ecx, 0x80000501
jne 0x40deaf
fld dword [ebp - 0xfc]
jmp 0x40dece
cmp ecx, 0x80000601
je 0x40dee0
push 0x20de
push 0x4039823
push 2
call fcn.005a159b
add esp, 0xc
fstp qword [ebp - 0xfc]
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], edx
fld qword [ebp - 0xfc]
fsub qword [0x6d1fed]
ftst
fnstsw ax
test ah, 1
je 0x40df03
fchs
fcomp qword [0x6d1eb6]
fnstsw ax
test ah, 0x41
mov eax, 0
setne al
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xec]
cmp ecx, 0x80000004
je 0x40df36
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x40df49
mov ebx, dword [ebp - 0xf4]
test ebx, ebx
je 0x40df49
push ebx
call fcn.005a158f
add esp, 4
cmp dword [ebp - 0x100], 0
je 0x40e179
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40df75
mov eax, 0x6d1c37
push eax
push 2
mov ebx, 0x5a3940
call fcn.005a15a7
add esp, 0x1c
mov dword [ebp - 0xe8], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xe8]
test eax, eax
jne 0x40dfb0
mov eax, 0x6d1c37
push eax
push 2
mov ebx, 0x5a3900
call fcn.005a15a7
add esp, 0x1c
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40dfdc
push ebx
call fcn.005a158f
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xec]
test eax, eax
jne 0x40e004
mov eax, 0x6d1c37
push eax
push 3
mov ebx, 0x5a3780
call fcn.005a15a7
add esp, 0x28
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xf0], ecx
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40e03c
push ebx
call fcn.005a158f
add esp, 4
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
cmp ecx, 0x80000101
jne 0x40e05d
and eax, 0xff
jmp 0x40e0be
cmp ecx, 0x80000201
jne 0x40e068
cwde
jmp 0x40e0be
cmp ecx, 0x80000301
je 0x40e0be
cmp ecx, 0x80000401
je 0x40e0be
mov dword [ebp - 0x100], eax
cmp ecx, 0x80000501
je 0x40e0a5
cmp ecx, 0x80000601
je 0x40e0ad
push 0x2163
push 0x4039823
push 2
call fcn.005a159b
add esp, 0xc
fld dword [ebp - 0x100]
jmp 0x40e0b9
mov dword [ebp - 0xfc], edx
fld qword [ebp - 0x100]
call fcn.00401be0
mov dword [ebp - 0x68], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40e0d4
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fstp qword [ebp - 0xf0]
fld qword [ebp - 0xf0]
fild dword [ebp - 0x68]
fstp qword [ebp - 0xf8]
fsub qword [ebp - 0xf8]
fsub qword [0x6d1ff5]
fstp qword [ebp - 0x100]
fld qword [ebp - 0x100]
call fcn.00401be0
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40e140
mov eax, 0x6d1c37
push eax
push 2
mov ebx, 0x5a3900
call fcn.005a15a7
add esp, 0x1c
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
push eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40e170
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x6c], eax
jmp 0x40e1a8
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x40e193
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40e1a4
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x6c], eax
dec dword [0x1662f9c]
fld qword [0x1662fa0]
fadd qword [0x6d1cf3]
fstp qword [0x1662fa0]
fld dword [0x1662fa8]
fadd qword [0x6d1f9d]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fstp dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov dword [0x1662fa8], eax
mov eax, dword [0x1662fac]
and eax, 0xff
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fadd qword [0x6d1ded]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
call fcn.00401be0
mov byte [0x1662fac], al
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x40e23a
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x40e30e
mov eax, 0x6d1ffd
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e278
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0xe8], 0
push 0
push dword [ebp - 0xe8]
push 1
mov eax, 0x6d2009
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xec]
push eax
push 1
push 0x10
push dword [ebp + 0x10]
call fcn.0041b278
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40e2c6
push ebx
call fcn.005a158f
add esp, 4
mov dword [ebp - 0xe8], esp
push 0
push 0xffffffff
mov eax, 0x1c
call fcn.005a15ad
cmp dword [ebp - 0xe8], esp
je 0x40e2ff
push 0x244f
push 0x4039823
push 6
call fcn.005a159b
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x40e2ff
jmp 0x410a22
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40e328
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40e339
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x70], eax
cmp dword [ebp + 0x18], 1
jne 0x40e41f
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x40e35a
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
push 0x80000301
push 0
push 2
push getpeername
push 0
mov eax, dword [ebp - 0xec]
test eax, eax
jne 0x40e395
mov eax, 0x6d1b7f
push eax
push 2
mov ebx, 0x5a2250
call fcn.005a15a7
add esp, 0x1c
mov dword [ebp - 0xf0], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40e3c1
push ebx
call fcn.005a158f
add esp, 4
mov eax, 0x6d201a
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0041b2df
mov dword [ebp - 0xf8], eax
mov ebx, dword [ebp - 0xf0]
test ebx, ebx
je 0x40e3f8
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0xf4]
test ebx, ebx
je 0x40e40b
push ebx
call fcn.005a158f
add esp, 4
cmp dword [ebp - 0xf8], 1
jne 0x40e41f
mov eax, 1
jmp 0x40e424
mov eax, 0
test eax, eax
je 0x40e571
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x40e457
mov eax, 0x6d1c37
push eax
push 3
mov ebx, 0x5a3980
call fcn.005a15a7
add esp, 0x28
mov dword [ebp - 0xe8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xe8]
test eax, eax
jne 0x40e486
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40e4b2
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e4c9
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x40e4e0
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fstp qword [ebp - 0xf0]
fld qword [ebp - 0xf0]
fsub qword [0x6d201d]
fstp qword [ebp - 0xf8]
fld qword [ebp - 0xf8]
call fcn.00401be0
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x40e53d
mov eax, 0x6d1c37
push eax
push 2
mov ebx, 0x5a3940
call fcn.005a15a7
add esp, 0x1c
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
push eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40e56d
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x6c], eax
dec dword [0x1662f9c]
fld qword [0x1662fa0]
fadd qword [0x6d1cf3]
fstp qword [0x1662fa0]
fld dword [0x1662fa8]
fadd qword [0x6d1f9d]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fstp dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov dword [0x1662fa8], eax
mov eax, dword [0x1662fac]
and eax, 0xff
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fadd qword [0x6d1ded]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
call fcn.00401be0
mov byte [0x1662fac], al
call fcn.00404c02
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e612
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
call fcn.00419111
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fstp qword [ebp - 0xf0]
fld qword [ebp - 0xf0]
fmul qword [0x6d1e50]
fstp qword [ebp - 0xf8]
push 0x80000601
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x100], 0
push 0
push dword [ebp - 0x100]
mov dword [ebp - 0x104], 0
push 0
lea eax, [ebp - 0x104]
push eax
push 0x1662fe4
call fcn.00409632
mov dword [ebp - 0x108], eax
mov ebx, dword [ebp - 0x104]
test ebx, ebx
je 0x40e6b0
push ebx
call fcn.005a158f
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x108]
test eax, eax
jne 0x40e6c6
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x10c], eax
mov ebx, dword [ebp - 0x108]
test ebx, ebx
je 0x40e6f2
push ebx
call fcn.005a158f
add esp, 4
push dword [ebp - 0x10c]
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0xfc]
push dword [ebp - 0x40]
mov ecx, 5
call fcn.00401b84
add esp, 0x14
mov dword [ebp - 0x110], eax
mov ebx, dword [ebp - 0xfc]
test ebx, ebx
je 0x40e72d
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x10c]
test ebx, ebx
je 0x40e740
push ebx
call fcn.005a158f
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x40e756
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x114], eax
mov ebx, dword [ebp - 0x110]
test ebx, ebx
je 0x40e782
push ebx
call fcn.005a158f
add esp, 4
mov dword [ebp - 0x118], 0
push 0
push dword [ebp - 0x118]
mov dword [ebp - 0x11c], 0
push 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00417bc3
mov dword [ebp - 0x120], eax
mov ebx, dword [ebp - 0x114]
test ebx, ebx
je 0x40e7cc
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x11c]
test ebx, ebx
je 0x40e7df
push ebx
call fcn.005a158f
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x58]
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0x124], eax
push dword [ebp - 0x124]
push dword [ebp - 0x120]
mov ecx, 2
call fcn.004016fd
add esp, 8
mov dword [ebp - 0x128], eax
mov ebx, dword [ebp - 0x120]
test ebx, ebx
je 0x40e833
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x124]
test ebx, ebx
je 0x40e846
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0x128]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e85d
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 0x4bae0966
push 1
mov ebx, 0x5a27b0
call fcn.005a15a7
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x5a3550
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
push eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40e8b5
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xe8], 0
push 0
push dword [ebp - 0xe8]
push 1
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00409632
mov dword [ebp - 0xec], eax
push 1
push 1
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0041b3e9
mov dword [ebp - 0xf0], eax
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x40e912
push ebx
call fcn.005a158f
add esp, 4
mov eax, dword [ebp - 0xf0]
push eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40e929
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x78], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x40e94c
mov eax, 0x6d1c37
push eax
push 2
mov ebx, 0x5a3940
call fcn.005a15a7
add esp, 0x1c
mov dword [ebp - 0xe8], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xe8]
test eax, eax
jne 0x40e98d
mov eax, 0x6d1c37
push eax
push 3
mov ebx, 0x5a3780
call fcn.005a15a7
add esp, 0x28
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], ecx
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x40e9c5
push ebx
call fcn.005a158f
add esp, 4
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
cmp ecx, 0x80000101
jne 0x40e9e6
and eax, 0xff
jmp 0x40ea47
cmp ecx, 0x80000201
jne 0x40e9f1
cwde
jmp 0x40ea47
cmp ecx, 0x80000301
je 0x40ea47
cmp ecx, 0x80000401
je 0x40ea47
mov dword [ebp - 0xfc], eax
cmp ecx, 0x80000501
je 0x40ea2e
cmp ecx, 0x80000601
je 0x40ea36
fld dword [ebp - 0xfc]
jmp 0x40ea42
mov dword [0x1662f5c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x40ea5f
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a4000
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40ea8f
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x7c], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x6d1bf8
push getpeername
push 0
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x40eab8
cmp dword [0x1662f74], 0
jne 0x410a5a
push 0x1662f70
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
je 0x410a5a
push 0x1662f70
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x410a5a
dec dword [0x1662f9c]
fld qword [0x1662fa0]
fadd qword [0x6d1cf3]
fstp qword [0x1662fa0]
fld dword [0x1662fa8]
fadd qword [0x6d1f9d]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fstp dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov dword [0x1662fa8], eax
mov eax, dword [0x1662fac]
and eax, 0xff
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fadd qword [0x6d1ded]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
call fcn.00401be0
mov byte [0x1662fac], al
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x1662fc8]
test eax, eax
jne 0x410aee
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x410b7d
mov eax, 0x6d1c37
test eax, eax
je 0x410b30
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1662ff0]
test ebx, ebx
je 0x410b44
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662ff0], eax
mov eax, 0x6d1b7f
push eax
mov ebx, dword [0x1662fcc]
test ebx, ebx
je 0x410b63
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662fcc], eax
mov dword [0x1662fd4], 0
mov dword [0x1662fd8], 0
mov ebx, dword [ebp - 0x80]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x410b9b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x410b97
imul eax, dword [ebx]
jmp 0x410b8c
mov ecx, eax
test ecx, ecx
je 0x410bba
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x410bb3
push ebx
push eax
call fcn.005a158f
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x410ba1
call fcn.005a158f
add esp, 4
mov eax, 0x6d1c37
mov dword [ebp - 0x80], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x410bdd
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
push eax
call fcn.0041ccb1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x410c13
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x6c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x410c2a
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410c74
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x410c8b
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
push eax
call fcn.0041ccb1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x410cc1
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x78], eax
push getpeername
push 0
mov eax, dword [ebp - 0xd0]
test eax, eax
jne 0x410cdb
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0xd0]
test ebx, ebx
je 0x410d28
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0xd0], eax
push getpeername
push 0
mov eax, dword [ebp - 0xd4]
test eax, eax
jne 0x410d45
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0xd4]
test ebx, ebx
je 0x410d92
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0xd4], eax
push getpeername
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x410dac
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410df6
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push getpeername
push 0
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x410e0d
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x410e57
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x7c], eax
push getpeername
push 0
mov eax, dword [ebp - 0xd8]
test eax, eax
jne 0x410e71
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0xd8]
test ebx, ebx
je 0x410ebe
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0xd8], eax
push getpeername
push 0
mov eax, dword [ebp - 0xdc]
test eax, eax
jne 0x410edb
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0xdc]
test ebx, ebx
je 0x410f28
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0xdc], eax
push getpeername
push 0
mov eax, dword [ebp - 0xe0]
test eax, eax
jne 0x410f45
mov eax, 0x6d1b7f
push eax
push 1
mov ebx, 0x5a1c80
call fcn.005a15a7
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5a3600
call fcn.005a15a7
add esp, 0x10
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0xe0]
test ebx, ebx
je 0x410f92
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0xe0], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xe4]
test eax, eax
jne 0x410faf
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
push eax
call fcn.0041ccb1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0xe4]
test ebx, ebx
je 0x410fe8
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0xe4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc0]
test eax, eax
jne 0x411005
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
push eax
call fcn.0041ccb1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0xc0]
test ebx, ebx
je 0x41103e
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0xc0], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x411058
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
push eax
call fcn.0041ccb1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41108e
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4110a5
mov eax, 0x6d1c37
push eax
push 1
mov ebx, 0x5a1ca0
call fcn.005a15a7
add esp, 0x10
push eax
call fcn.0041ccb1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4110db
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
dec dword [0x1662f9c]
fld qword [0x1662fa0]
fadd qword [0x6d1cf3]
fstp qword [0x1662fa0]
fld dword [0x1662fa8]
fadd qword [0x6d1f9d]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fstp dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov dword [0x1662fa8], eax
mov eax, dword [0x1662fac]
and eax, 0xff
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fadd qword [0x6d1ded]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
call fcn.00401be0
mov byte [0x1662fac], al
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x41117c
push eax
mov ebx, eax
call fcn.00401570
inc eax
push eax
call fcn.005a1595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1662f58]
test ebx, ebx
je 0x411190
push ebx
call fcn.005a158f
add esp, 4
pop eax
mov dword [0x1662f58], eax
push 0x80000301
push 0
push dword [0x1662f68]
push 1
mov eax, 4
mov ebx, 0x64b160
call fcn.005a15b3
add esp, 0x10
mov eax, dword [ebp - 0xc4]
jmp 0x4111f4
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411205
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x411221
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x411231
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x411241
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x411251
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x411261
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x411271
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x411281
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x411291
push ebx
call fcn.005a158f
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4112a1