Function at 0x413162
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
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.0042594a
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 0x413221
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
push 0x80000301
push 0
push dword [0x5d7cdc]
push 1
mov eax, 5
mov ebx, 0x48c2c0
call fcn.0042596e
add esp, 0x10
push 1
call fcn.00411f33
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00412a99
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4133d9
push ebx
call fcn.00425950
add esp, 4
cmp dword [ebp - 0x58], 0
jg 0x413414
push 0x80000301
push 0
push dword [0x5d7cdc]
push 1
mov eax, 5
mov ebx, 0x48c2e0
call fcn.0042596e
add esp, 0x10
mov eax, 0x4c745c
jmp 0x413bf3
mov eax, 0x4c7ca8
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41342a
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
call fcn.00404a14
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413450
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
call fcn.0040eb7e
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x20]
push dword [ebp - 0x58]
push dword [0x5d7cf4]
mov ecx, 3
call fcn.00401146
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4134ae
push ebx
call fcn.00425950
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4134c4
mov eax, 0x4c745c
push eax
push 1
mov ebx, 0x4270b0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4134f0
push ebx
call fcn.00425950
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.00404701
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x413515
push ebx
call fcn.00425950
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41352c
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00413cba
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0x2faf080
push 0x80000301
push 0
push 0x159ced57
push 1
mov ebx, 0x426670
call fcn.00425956
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x4270b0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41359d
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x28], 0
jne 0x413ab5
push 6
call fcn.00411f33
mov dword [ebp - 0x54], eax
push getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4135d1
mov eax, 0x4c745c
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4135fd
push ebx
call fcn.00425950
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x413614
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41362b
mov eax, 0x4c745c
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x54], eax
call fcn.0040eb7e
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x5c], eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
push 0x4c74bf
push dword [ebp - 0x5c]
push 0x4c74bf
push dword [ebp - 0x54]
push 0x4c74bf
push dword [ebp - 0x24]
push 0x4c74bf
push dword [ebp - 0x1c]
push 0x4c74bf
push dword [ebp - 0x38]
push 0x4c7cb3
mov ecx, 0xc
call fcn.00401146
add esp, 0x30
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4136ea
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4136fd
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x413710
push ebx
call fcn.00425950
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x413726
mov eax, 0x4c745c
push eax
push 1
mov ebx, 0x4270b0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x413752
push ebx
call fcn.00425950
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x413769
push ebx
call fcn.00425950
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 0x413780
mov eax, 0x4c74dc
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 0x4c7cb9
mov ecx, 2
call fcn.00401146
add esp, 8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4137ca
push ebx
call fcn.00425950
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4137e0
mov eax, 0x4c745c
push eax
push 1
mov ebx, 0x4270b0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41380c
push ebx
call fcn.00425950
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x413823
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0x989680
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.0040ed25
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41388a
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
mov eax, 0x4c74dc
xor ecx, ecx
test eax, eax
je 0x41389c
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x44]
xor ebx, ebx
test eax, eax
je 0x4138ad
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4138c4
dec eax
test ecx, ecx
je 0x4138c4
call fcn.0040636a
add esp, 0xc
test eax, eax
je 0x413ab0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4138e9
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042594a
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 0x4138fa
push ebx
call fcn.00425950
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 0x413923
push eax
mov ebx, eax
call fcn.004010db
inc eax
push eax
call fcn.0042594a
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 0x413939
push ebx
call fcn.00425950
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 0x413968
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042594a
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 0x41397e
push ebx
call fcn.00425950
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x5d7d28
push 4
mov eax, 2
call fcn.00425938
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov ebx, dword [0x5d7d28]
mov dword [ebp - 0x58], ebx
call fcn.0040182f
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 0x4139da
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.0042595c
add esp, 8
mov dword [0x5d7d28], 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.0042594a
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x413a40
push eax
mov ebx, eax
call fcn.004010db
inc eax
push eax
call fcn.0042594a
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 0x413a5d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042594a
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 0x413a77
mov eax, 0x4c74dc
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x413aa7
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x413ab0
jmp 0x413b44
mov ebx, dword [0x5d7d28]
call fcn.0040182f
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x413ad5
push 4
call fcn.0042593e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x413ae8
push 1
call fcn.0042593e
add esp, 4
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 0x413b10
mov eax, 0x4c74dc
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x413b40
push ebx
call fcn.00425950
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
push 0x80000301
push 0
push dword [0x5d7cdc]
push 1
mov eax, 5
mov ebx, 0x48c2e0
call fcn.0042596e
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00412b0e
mov dword [ebp - 0x54], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x413b8d
mov eax, 0x4c74dc
push eax
push 1
mov ebx, 0x4279c0
call fcn.00425956
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x413bb9
push ebx
call fcn.00425950
add esp, 4
mov eax, dword [ebp - 0x58]
jmp 0x413bf3
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x413c04
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x413c14
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x413c24
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x413c34
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x413c44
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x413c54
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x413c64
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x413c74
push ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x4c]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x413c88
push ebx
call fcn.00425950
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x413c9c
push ebx
call fcn.00425950
add esp, 4
pop ebx
call fcn.00425950
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x413cb5
push ebx
call fcn.00425950
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret