Function at 0x100550f3
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 0x10055154
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 [0x10086231]
fstp qword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [0x100b9e4c], eax
mov dword [0x100b9e50], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x10086239]
fstp qword [ebp - 0x38]
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [0x100b9e54]
test ebx, ebx
je 0x10055282
push ebx
call fcn.1006953e
add esp, 4
pop eax
mov dword [0x100b9e54], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x10086241]
fstp qword [ebp - 0x38]
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
mov ebx, 0x9dc
call fcn.1006ac60
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.1006a640
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [0x100b9e58]
test ebx, ebx
je 0x100552eb
push ebx
call fcn.1006953e
add esp, 4
pop eax
mov dword [0x100b9e58], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x10086249]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10001b62
mov dword [0x100b9e5c], eax
mov dword [0x100b9e60], edx
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push 0x100848f7
push dword [ebp - 0x34]
push 0x100848f7
push dword [ebp - 0x30]
push 0x100848f7
push dword [ebp - 0x2c]
push 0x10086251
mov ecx, 8
call fcn.1000159f
add esp, 0x20
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100553d2
push ebx
call fcn.1006953e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100553e2
push ebx
call fcn.1006953e
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100553f2
push ebx
call fcn.1006953e
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10055402
push ebx
call fcn.1006953e
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.1001fbd5
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1005541e
push ebx
call fcn.1006953e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x10055431
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x164
call fcn.1006c7c0
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1005545a
push ebx
call fcn.1006953e
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 [0x100b9e64], eax
mov dword [0x100b9e68], 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 [0x100b9e64]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [0x10086258]
fstp qword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [0x100b9e64], eax
mov dword [0x100b9e68], edx
fld qword [0x100b9e64]
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.10001b62
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.10001b62
mov dword [0x100b9e6c], 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 [0x100b9e6c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001b62
mov dword [0x100b9e6c], 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 [0x100b9e6c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fadd qword [0x10086260]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001b62
mov dword [0x100b9e6c], 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 [0x100b9e6c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001b62
mov dword [0x100b9e70], eax
mov dword [0x100b9e74], edx
fild qword [0x100b9e70]
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 [0x10086268]
fstp qword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [0x100b9e78], eax
mov dword [0x100b9e7c], edx
push 0x80000301
push 0
push dword [ebp - 0x10]
fld qword [0x100b9e78]
call fcn.10001b62
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x9f8
call fcn.1006b960
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 [0x100b9e78], eax
mov dword [0x100b9e7c], edx
push 0x80000301
push 0
push 0x2014d
fld qword [0x100b9e78]
call fcn.10001b62
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc8
call fcn.1006b860
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 [0x100b9e78], eax
mov dword [0x100b9e7c], edx
push 0x80000601
push dword [0x100b9e7c]
push dword [0x100b9e78]
push 1
mov ebx, 0x9dc
call fcn.1006ac60
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.1006bb00
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 [0x100b9e78], eax
mov dword [0x100b9e7c], edx
push 0x80000601
push dword [0x100b9e7c]
push dword [0x100b9e78]
push 1
mov ebx, 0x9dc
call fcn.1006ac60
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x10086270]
fstp qword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [0x100b9e78], eax
mov dword [0x100b9e7c], edx
push 0x80000601
push dword [0x100b9e7c]
push dword [0x100b9e78]
push 1
mov ebx, 0x9dc
call fcn.1006ac60
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.1006bb00
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 [0x100b9e78], eax
mov dword [0x100b9e7c], edx
fld qword [0x100b9e78]
fdiv qword [0x10086278]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x18]
ftst
fnstsw ax
test ah, 1
je 0x100557cc
fchs
fcomp qword [0x10084b4e]
fnstsw ax
test ah, 0x41
jne 0x10055816
cmp dword [ebp - 0x24], 0x5f3
je 0x100557ec
jmp 0x100557dd
mov dword [ebp - 0x28], 0
mov dword [0x100b9e80], 0x38
mov dword [0x100b9e84], 0xf0
mov dword [0x100b9e88], 0x4e
jmp 0x10055834
mov dword [0x100b9e80], 0x10
mov dword [0x100b9e84], 0x20
mov dword [0x100b9e88], 0x30
fild dword [0x100b9e10]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [0x100ba1bc]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001b62
mov dword [ebp - 0x28], eax
fld qword [0x100b9e4c]
fdiv qword [0x10086231]
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 0x10055880
fchs
fcomp qword [0x10084b4e]
fnstsw ax
test ah, 0x41
jne 0x100558f0
mov dword [0x100b9e80], 0x2c
mov dword [0x100b9e84], 0xa
mov dword [0x100b9e88], 8
cmp dword [ebp - 0x24], 0x5f3
je 0x100558e6
mov dword [0x100b9e10], 0x3e2a6
mov dword [0x100b9e80], 0x1c
mov dword [0x100b9e84], 0x2c
mov dword [0x100b9e88], 0x80
jmp 0x100558af
mov dword [0x100b9e10], 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x100b9e54]
test eax, eax
jne 0x10055905
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x9dc
call fcn.1006ac60
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x10086239]
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 0x10055944
fchs
fcomp qword [0x10084b4e]
fnstsw ax
test ah, 0x41
jne 0x100559b4
mov dword [0x100b9e80], 0x20
mov dword [0x100b9e84], 0x40
mov dword [0x100b9e88], 0x52
cmp dword [ebp - 0x24], 0x5f3
je 0x100559aa
mov dword [0x100b9e10], 0x122c
mov dword [0x100b9e80], 0x21c0
mov dword [0x100b9e84], 0x78
mov dword [0x100b9e88], 0x238
jmp 0x10055973
mov dword [0x100b9e10], 0x7c
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push getsockname
push 0
mov eax, dword [0x100b9e58]
test eax, eax
jne 0x100559db
mov eax, 0x10082277
push eax
push 3
mov ebx, 0x19c
call fcn.1006b4d0
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 0x10055a0f
and eax, 0xff
jmp 0x10055a35
cmp ecx, 0x80000201
jne 0x10055a1a
cwde
jmp 0x10055a35
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000301
je 0x10055a38
cmp ecx, 0x80000401
jne 0x10055a3d
mov dword [ebp - 0x38], edx
fild qword [ebp - 0x3c]
jmp 0x10055a69
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
jmp 0x10055a69
cmp ecx, 0x80000501
jne 0x10055a4a
fld dword [ebp - 0x3c]
jmp 0x10055a69
cmp ecx, 0x80000601
je 0x10055a72
push 0x14df
push 0x40107dd
push 2
call fcn.10069544
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 [0x10086241]
fstp qword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x10055a9b
cmp ecx, 0x80000005
jne 0x10055aab
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10055aab
push ebx
call fcn.1006953e
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 0x10055ac2
fchs
fcomp qword [0x10084b4e]
fnstsw ax
test ah, 0x41
jne 0x10055b32
mov dword [0x100b9e80], 0x157a
mov dword [0x100b9e84], 0x5a72
mov dword [0x100b9e88], 0x175a4
cmp dword [ebp - 0x24], 0x5f3
je 0x10055b28
mov dword [0x100b9e10], 0x3d1e
mov dword [0x100b9e80], 0x303c
mov dword [0x100b9e84], 0x3c6c
mov dword [0x100b9e88], 0x78f48
jmp 0x10055af1
mov dword [0x100b9e10], 0
fild qword [0x100b9e5c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x10086249]
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 0x10055b5e
fchs
fcomp qword [0x10084b4e]
fnstsw ax
test ah, 0x41
jne 0x10055bce
mov dword [0x100b9e80], 0xbadf8
mov dword [0x100b9e84], 0x15d6c
mov dword [0x100b9e88], 0x2b82748
cmp dword [ebp - 0x24], 0x5f3
je 0x10055bc4
mov dword [0x100b9e10], 0x12786
mov dword [0x100b9e80], 0x2173c69c
mov dword [0x100b9e84], 0xe65ba
mov dword [0x100b9e88], 0x53df1b6
jmp 0x10055b8d
mov dword [0x100b9e10], 0
call fcn.10018e29
push 3
call fcn.100228fc
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x10055bf3
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x9dc
call fcn.1006ac60
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10055c19
push ebx
call fcn.1006953e
add esp, 4
cmp dword [ebp - 0x30], 1
jge 0x10055c47
mov dword [0x100b9e10], 0
mov dword [0x100b9e84], 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 [0x100b9e84]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fadd qword [0x100854c7]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.10001b62
mov dword [0x100b9e10], eax
jmp 0x10055c82
mov esp, ebp
pop ebp
ret