Function at 0x41ea4b
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.004310b6
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 0x41eb0a
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, 2
call fcn.004310ce
cmp dword [ebp - 0x54], esp
je 0x41ec9d
push 0xaaf
push 0x4021c99
push 6
call fcn.004310c8
add esp, 0xc
push 0x80000301
push 0
push dword [0x502050]
push 1
mov eax, 4
mov ebx, 0x497e20
call fcn.004310d4
add esp, 0x10
push 1
call fcn.0041ce3e
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041d9f5
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41ecf6
push ebx
call fcn.004310bc
add esp, 4
cmp dword [ebp - 0x58], 0
jg 0x41ed31
push 0x80000301
push 0
push dword [0x502050]
push 1
mov eax, 4
mov ebx, 0x497e40
call fcn.004310d4
add esp, 0x10
mov eax, 0x4d2fb4
jmp 0x41f507
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41ed4f
push eax
mov ebx, eax
call fcn.00401382
inc eax
push eax
call fcn.004310b6
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 0x41ed60
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
call fcn.00402a09
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ed86
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
call fcn.0041b6ef
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x20]
push dword [ebp - 0x58]
push dword [0x50206c]
mov ecx, 3
call fcn.00401447
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41edea
push ebx
call fcn.004310bc
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x41ee00
mov eax, 0x4d2fb4
push eax
push 1
mov ebx, 0x4327c0
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x41ee2c
push ebx
call fcn.004310bc
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.00407908
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x41ee51
push ebx
call fcn.004310bc
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ee68
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f5d0
mov dword [ebp - 0x2c], eax
mov eax, dword [0x501fd4]
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push 0x159ced57
push 1
mov ebx, 0x431d80
call fcn.004310c2
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x4327c0
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41eed4
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0
jne 0x41f3b5
push 6
call fcn.0041ce3e
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41ef09
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
call fcn.0041b6ef
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x58], eax
push 0x80000301
push 0
push dword [ebp - 0x24]
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x5c], eax
push dword [0x502044]
push 0x4d33a4
push dword [ebp - 0x5c]
push 0x4d33a4
push dword [ebp - 0x58]
push 0x4d33a4
push dword [ebp - 0x20]
push 0x4d33a4
push dword [ebp - 0x28]
push 0x4d33a4
push dword [ebp - 0x1c]
push 0x4d33a4
push dword [ebp - 0x38]
push 0x4d3975
mov ecx, 0xe
call fcn.00401447
add esp, 0x38
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41efbb
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x41efce
push ebx
call fcn.004310bc
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x41efe4
mov eax, 0x4d2fb4
push eax
push 1
mov ebx, 0x4327c0
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x41f010
push ebx
call fcn.004310bc
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41f027
push ebx
call fcn.004310bc
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 0x41f03e
mov eax, 0x4d2fc4
push eax
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 0x4d397d
mov ecx, 2
call fcn.00401447
add esp, 8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41f088
push ebx
call fcn.004310bc
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x41f09e
mov eax, 0x4d2fb4
push eax
push 1
mov ebx, 0x4327c0
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41f0ca
push ebx
call fcn.004310bc
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41f0e1
push ebx
call fcn.004310bc
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.0040864d
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41f148
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
mov eax, 0x4d2fc4
xor ecx, ecx
test eax, eax
je 0x41f15a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x44]
xor ebx, ebx
test eax, eax
je 0x41f16b
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x41f182
dec eax
test ecx, ecx
je 0x41f182
call fcn.00404646
add esp, 0xc
test eax, eax
je 0x41f3b0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x41f1a7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004310b6
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 0x41f1b8
push ebx
call fcn.004310bc
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 0x41f1e1
push eax
mov ebx, eax
call fcn.00401382
inc eax
push eax
call fcn.004310b6
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 0x41f1f7
push ebx
call fcn.004310bc
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 0x41f226
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004310b6
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 0x41f23c
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x502080
push 4
mov eax, 2
call fcn.004310b0
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov ebx, dword [0x502080]
mov dword [ebp - 0x58], ebx
call fcn.004054f9
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 0x41f298
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.004310da
add esp, 8
mov dword [0x502080], 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.004310b6
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x41f2fe
push eax
mov ebx, eax
call fcn.00401382
inc eax
push eax
call fcn.004310b6
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 0x41f31b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004310b6
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 0x41f335
mov eax, 0x4d2fc4
push eax
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x54], eax
push getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x41f364
mov eax, 0x4d2fb4
push eax
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41f390
push ebx
call fcn.004310bc
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41f3a7
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x41f3b0
jmp 0x41f458
mov ebx, dword [0x502080]
call fcn.004054f9
push ebx
push ecx
mov eax, dword [ebp - 0x2c]
dec eax
jns 0x41f3df
push 0x1054
push 0x4021c99
push 4
call fcn.004310c8
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f3fc
push 0x1054
push 0x4021c99
push 1
call fcn.004310c8
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 0x41f424
mov eax, 0x4d2fc4
push eax
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41f454
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
push 0x80000301
push 0
push dword [0x502050]
push 1
mov eax, 4
mov ebx, 0x497e40
call fcn.004310d4
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.0041da6a
mov dword [ebp - 0x54], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x41f4a1
mov eax, 0x4d2fc4
push eax
push 1
mov ebx, 0x433140
call fcn.004310c2
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41f4cd
push ebx
call fcn.004310bc
add esp, 4
mov eax, dword [ebp - 0x58]
jmp 0x41f507
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41f518
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41f528
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41f538
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41f548
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41f558
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41f568
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41f578
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41f588
push ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x4c]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f59c
push ebx
call fcn.004310bc
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f5b0
push ebx
call fcn.004310bc
add esp, 4
pop ebx
call fcn.004310bc
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41f5c9
push ebx
call fcn.004310bc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4