Function at 0x4cedbd
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
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
push 8
call fcn.0050b878
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x50], 0
jmp 0x4cee7c
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
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
mov dword [ebp - 0x54], esp
push 0
mov eax, 0x20
call fcn.0050b88a
cmp dword [ebp - 0x54], esp
je 0x4cf00f
push 0xaa3
push 0x402c644
push 6
call fcn.0050b884
add esp, 0xc
push 0x80000301
push 0
push dword [0x6f3664]
push 1
mov eax, 2
mov ebx, 0x574e50
call fcn.0050b89c
add esp, 0x10
push 1
call fcn.0041626a
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00416e20
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4cf068
push ebx
call fcn.0050b87e
add esp, 4
cmp dword [ebp - 0x58], 0
jg 0x4cf0a3
push 0x80000301
push 0
push dword [0x6f3664]
push 1
mov eax, 2
mov ebx, 0x574e70
call fcn.0050b89c
add esp, 0x10
mov eax, 0x5e0c32
jmp 0x4cf878
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4cf0c1
push eax
mov ebx, eax
call fcn.004011c9
inc eax
push eax
call fcn.0050b878
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4cf0d2
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
call fcn.0040a7ca
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4cf0f8
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
call fcn.00412ddf
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x20]
push dword [ebp - 0x58]
push dword [0x6f3684]
mov ecx, 3
call fcn.00401234
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4cf15c
push ebx
call fcn.0050b87e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4cf172
mov eax, 0x5e0c32
push eax
push 1
mov ebx, 0x50d5b0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4cf19e
push ebx
call fcn.0050b87e
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.0040a4b7
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4cf1c3
push ebx
call fcn.0050b87e
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4cf1da
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004cf941
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0x30a60ac
push 0x80000301
push 0
push 0x159ced57
push 1
mov ebx, 0x50c8b0
call fcn.0050b890
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x50d5b0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4cf245
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0
jne 0x4cf726
push 6
call fcn.0041626a
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4cf27a
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
call fcn.00412ddf
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x58], eax
push 0x80000301
push 0
push dword [ebp - 0x24]
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x5c], eax
push dword [0x6f367c]
push 0x5e1211
push dword [ebp - 0x5c]
push 0x5e1211
push dword [ebp - 0x58]
push 0x5e1211
push dword [ebp - 0x20]
push 0x5e1211
push dword [ebp - 0x28]
push 0x5e1211
push dword [ebp - 0x1c]
push 0x5e1211
push dword [ebp - 0x38]
push 0x678fbb
mov ecx, 0xe
call fcn.00401234
add esp, 0x38
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4cf32c
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4cf33f
push ebx
call fcn.0050b87e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4cf355
mov eax, 0x5e0c32
push eax
push 1
mov ebx, 0x50d5b0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4cf381
push ebx
call fcn.0050b87e
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4cf398
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4cf3af
mov eax, 0x5e0ec4
push eax
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 0x678fc3
mov ecx, 2
call fcn.00401234
add esp, 8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4cf3f9
push ebx
call fcn.0050b87e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4cf40f
mov eax, 0x5e0c32
push eax
push 1
mov ebx, 0x50d5b0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4cf43b
push ebx
call fcn.0050b87e
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4cf452
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0xf25ed7
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 0x3c]
push eax
call fcn.00412f90
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4cf4b9
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
mov eax, 0x5e0ec4
xor ecx, ecx
test eax, eax
je 0x4cf4cb
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x44]
xor ebx, ebx
test eax, eax
je 0x4cf4dc
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4cf4f3
dec eax
test ecx, ecx
je 0x4cf4f3
call fcn.0040bff6
add esp, 0xc
test eax, eax
je 0x4cf721
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4cf518
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050b878
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4cf529
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4cf552
push eax
mov ebx, eax
call fcn.004011c9
inc eax
push eax
call fcn.0050b878
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cf568
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x4c]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4cf597
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050b878
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cf5ad
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x6f380c
push 4
mov eax, 2
call fcn.0050b872
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov ebx, dword [0x6f380c]
mov dword [ebp - 0x58], ebx
call fcn.00401bdc
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp - 0x58]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4cf609
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x5c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x58]
call fcn.0050b896
add esp, 8
mov dword [0x6f380c], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x5c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x54]
push edi
push eax
push 8
call fcn.0050b878
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4cf66f
push eax
mov ebx, eax
call fcn.004011c9
inc eax
push eax
call fcn.0050b878
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4cf68c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0050b878
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4cf6a6
mov eax, 0x5e0ec4
push eax
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x54], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4cf6d5
mov eax, 0x5e0c32
push eax
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4cf701
push ebx
call fcn.0050b87e
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4cf718
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x4cf721
jmp 0x4cf7c9
mov ebx, dword [0x6f380c]
call fcn.00401bdc
push ebx
push ecx
mov eax, dword [ebp - 0x2c]
dec eax
jns 0x4cf750
push 0x104a
push 0x402c644
push 4
call fcn.0050b884
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4cf76d
push 0x104a
push 0x402c644
push 1
call fcn.0050b884
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x54], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4cf795
mov eax, 0x5e0ec4
push eax
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4cf7c5
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
push 0x80000301
push 0
push dword [0x6f3664]
push 1
mov eax, 2
mov ebx, 0x574e70
call fcn.0050b89c
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00416e95
mov dword [ebp - 0x54], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4cf812
mov eax, 0x5e0ec4
push eax
push 1
mov ebx, 0x50dff0
call fcn.0050b890
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4cf83e
push ebx
call fcn.0050b87e
add esp, 4
mov eax, dword [ebp - 0x58]
jmp 0x4cf878
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4cf889
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4cf899
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4cf8a9
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4cf8b9
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4cf8c9
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4cf8d9
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4cf8e9
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4cf8f9
push ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x4c]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cf90d
push ebx
call fcn.0050b87e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4cf921
push ebx
call fcn.0050b87e
add esp, 4
pop ebx
call fcn.0050b87e
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4cf93a
push ebx
call fcn.0050b87e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4