Function at 0x10042467
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
jmp 0x100424c8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 4], eax
nop
nop
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 8], eax
nop
nop
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 0xc], eax
nop
nop
push ecx
push edx
rdtsc
mov ecx, 0x17
mul ecx
add eax, 7
mov ecx, 0x1000
sub ecx, 0x10
inc ecx
xor edx, edx
div ecx
add edx, 0x1000
mov eax, edx
pop edx
pop ecx
mov dword [ebp - 0x10], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x1008d1ed]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x1012dae7], eax
mov dword [0x1012daeb], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x1008d1f5]
fstp qword [ebp - 0x38]
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
mov ebx, 0x168
call fcn.10071230
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [0x1012daef]
test ebx, ebx
je 0x100425f6
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov dword [0x1012daef], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x1008d1fd]
fstp qword [ebp - 0x38]
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
mov ebx, 0x9dc
call fcn.10072010
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100719f0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [0x1012daf3]
test ebx, ebx
je 0x1004265f
push ebx
call fcn.100707a2
add esp, 4
pop eax
mov dword [0x1012daf3], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x1008d205]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001b73
mov dword [0x1012daf7], eax
mov dword [0x1012dafb], edx
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x168
call fcn.10071230
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.10071230
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x168
call fcn.10071230
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.10071230
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push 0x1008b8f7
push dword [ebp - 0x34]
push 0x1008b8f7
push dword [ebp - 0x30]
push 0x1008b8f7
push dword [ebp - 0x2c]
push 0x1008d20d
mov ecx, 8
call fcn.100015b0
add esp, 0x20
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10042746
push ebx
call fcn.100707a2
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10042756
push ebx
call fcn.100707a2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10042766
push ebx
call fcn.100707a2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10042776
push ebx
call fcn.100707a2
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.1001fb62
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10042792
push ebx
call fcn.100707a2
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x100427a5
mov eax, 0x1008924f
push eax
push 1
mov ebx, 0x164
call fcn.10073b70
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100427ce
push ebx
call fcn.100707a2
add esp, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fild dword [ebp - 0xc]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 8]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [0x1012daff], eax
mov dword [0x1012db03], edx
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 8]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [0x1012daff]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x1008d214]
fstp qword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [0x1012daff], eax
mov dword [0x1012db03], edx
fld qword [0x1012daff]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001b73
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fild qword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 8]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001b73
mov dword [0x1012db07], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fild dword [0x1012db07]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001b73
mov dword [0x1012db07], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fild dword [0x1012db07]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fadd qword [0x1008d21c]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001b73
mov dword [0x1012db07], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fild dword [0x1012db07]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001b73
mov dword [0x1012db0b], eax
mov dword [0x1012db0f], edx
fild qword [0x1012db0b]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x38]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1008d224]
fstp qword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [0x1012db13], eax
mov dword [0x1012db17], edx
push 0x80000301
push 0
push dword [ebp - 0x10]
fld qword [0x1012db13]
call fcn.10001b73
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x9f8
call fcn.10072d10
add esp, 0x1c
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [0x1012db13], eax
mov dword [0x1012db17], edx
push 0x80000301
push 0
push 0x2014d
fld qword [0x1012db13]
call fcn.10001b73
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc8
call fcn.10072c10
add esp, 0x1c
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [0x1012db13], eax
mov dword [0x1012db17], edx
push 0x80000601
push dword [0x1012db17]
push dword [0x1012db13]
push 1
mov ebx, 0x9dc
call fcn.10072010
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 0x13d2
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 2
mov ebx, 0xcc
call fcn.10072eb0
add esp, 0x1c
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x1012db13], eax
mov dword [0x1012db17], edx
push 0x80000601
push dword [0x1012db17]
push dword [0x1012db13]
push 1
mov ebx, 0x9dc
call fcn.10072010
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x1008d22c]
fstp qword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [0x1012db13], eax
mov dword [0x1012db17], edx
push 0x80000601
push dword [0x1012db17]
push dword [0x1012db13]
push 1
mov ebx, 0x9dc
call fcn.10072010
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 2
mov ebx, 0xcc
call fcn.10072eb0
add esp, 0x1c
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x1012db13], eax
mov dword [0x1012db17], edx
fld qword [0x1012db13]
fdiv qword [0x1008d234]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x18]
ftst
fnstsw ax
test ah, 1
je 0x10042b40
fchs
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10042b8a
cmp dword [ebp - 0x24], 0x5f3
je 0x10042b60
jmp 0x10042b51
mov dword [ebp - 0x28], 0
mov dword [0x1012db1b], 0x38
mov dword [0x1012db1f], 0xf0
mov dword [0x1012db23], 0x4e
jmp 0x10042ba8
mov dword [0x1012db1b], 0x10
mov dword [0x1012db1f], 0x20
mov dword [0x1012db23], 0x30
fild dword [0x1012daa7]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [0x1012dcef]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001b73
mov dword [ebp - 0x28], eax
fld qword [0x1012dae7]
fdiv qword [0x1008d1ed]
fstp qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x38]
ftst
fnstsw ax
test ah, 1
je 0x10042bf4
fchs
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10042c64
mov dword [0x1012db1b], 0x2c
mov dword [0x1012db1f], 0xa
mov dword [0x1012db23], 8
cmp dword [ebp - 0x24], 0x5f3
je 0x10042c5a
mov dword [0x1012daa7], 0x3e2a6
mov dword [0x1012db1b], 0x1c
mov dword [0x1012db1f], 0x2c
mov dword [0x1012db23], 0x80
jmp 0x10042c23
mov dword [0x1012daa7], 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x1012daef]
test eax, eax
jne 0x10042c79
mov eax, 0x1008924f
push eax
push 1
mov ebx, 0x9dc
call fcn.10072010
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x1008d1f5]
fstp qword [ebp - 0x3c]
fild dword [ebp - 8]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x44]
ftst
fnstsw ax
test ah, 1
je 0x10042cb8
fchs
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10042d28
mov dword [0x1012db1b], 0x20
mov dword [0x1012db1f], 0x40
mov dword [0x1012db23], 0x52
cmp dword [ebp - 0x24], 0x5f3
je 0x10042d1e
mov dword [0x1012daa7], 0x122c
mov dword [0x1012db1b], 0x21c0
mov dword [0x1012db1f], 0x78
mov dword [0x1012db23], 0x238
jmp 0x10042ce7
mov dword [0x1012daa7], 0x7c
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push getsockname
push 0
mov eax, dword [0x1012daf3]
test eax, eax
jne 0x10042d4f
mov eax, 0x10089277
push eax
push 3
mov ebx, 0x19c
call fcn.10072880
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x10042d83
and eax, 0xff
jmp 0x10042da9
cmp ecx, 0x80000201
jne 0x10042d8e
cwde
jmp 0x10042da9
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000301
je 0x10042dac
cmp ecx, 0x80000401
jne 0x10042db1
mov dword [ebp - 0x38], edx
fild qword [ebp - 0x3c]
jmp 0x10042ddd
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
jmp 0x10042ddd
cmp ecx, 0x80000501
jne 0x10042dbe
fld dword [ebp - 0x3c]
jmp 0x10042ddd
cmp ecx, 0x80000601
je 0x10042de6
push 0x14df
push 0x40107dd
push 2
call fcn.100707a8
add esp, 0xc
fstp qword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
fsub qword [0x1008d1fd]
fstp qword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x10042e0f
cmp ecx, 0x80000005
jne 0x10042e1f
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10042e1f
push ebx
call fcn.100707a2
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x44]
fsub qword [ebp - 0x4c]
ftst
fnstsw ax
test ah, 1
je 0x10042e36
fchs
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10042ea6
mov dword [0x1012db1b], 0x157a
mov dword [0x1012db1f], 0x5a72
mov dword [0x1012db23], 0x175a4
cmp dword [ebp - 0x24], 0x5f3
je 0x10042e9c
mov dword [0x1012daa7], 0x3d1e
mov dword [0x1012db1b], 0x303c
mov dword [0x1012db1f], 0x3c6c
mov dword [0x1012db23], 0x78f48
jmp 0x10042e65
mov dword [0x1012daa7], 0
fild qword [0x1012daf7]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x1008d205]
fstp qword [ebp - 0x38]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x40]
ftst
fnstsw ax
test ah, 1
je 0x10042ed2
fchs
fcomp qword [0x1008bb4e]
fnstsw ax
test ah, 0x41
jne 0x10042f42
mov dword [0x1012db1b], 0xbadf8
mov dword [0x1012db1f], 0x15d6c
mov dword [0x1012db23], 0x2b82748
cmp dword [ebp - 0x24], 0x5f3
je 0x10042f38
mov dword [0x1012daa7], 0x12786
mov dword [0x1012db1b], 0x2173c69c
mov dword [0x1012db1f], 0xe65ba
mov dword [0x1012db23], 0x53df1b6
jmp 0x10042f01
mov dword [0x1012daa7], 0
call fcn.10018e3a
push 3
call fcn.10022889
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x10042f67
mov eax, 0x1008924f
push eax
push 1
mov ebx, 0x9dc
call fcn.10072010
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10042f8d
push ebx
call fcn.100707a2
add esp, 4
cmp dword [ebp - 0x30], 1
jge 0x10042fbb
mov dword [0x1012daa7], 0
mov dword [0x1012db1f], 0
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esp, esp
xor ebp, ebp
xor esi, esi
xor edi, edi
fild dword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [0x1012db1f]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fadd qword [0x1008c4c7]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001b73
mov dword [0x1012daa7], eax
jmp 0x10042ff6
mov esp, ebp
pop ebp
ret