Function at 0x1005e88d
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
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.10108212
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
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
jmp 0x1005e968
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
fninit
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 - 0x64], esp
push 0
mov eax, 0xa
call fcn.1010820c
cmp dword [ebp - 0x64], esp
je 0x1005eafd
push 0x9f0
push 0x408ad17
push 6
call fcn.10108206
add esp, 0xc
push 0x80000301
push 0
push dword [0x1022c994]
push 1
mov eax, 5
mov ebx, 0x101a1e50
call fcn.10108230
add esp, 0x10
push 1
call fcn.1001eaf8
mov dword [ebp - 0x64], eax
push getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x1005eb47
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x101092d0
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x1005eb73
push ebx
call fcn.10108218
add esp, 4
cmp dword [ebp - 0x68], 0
jg 0x1005ebae
push 0x80000301
push 0
push dword [0x1022c994]
push 1
mov eax, 5
mov ebx, 0x101a1e70
call fcn.10108230
add esp, 0x10
mov eax, 0x101cd86c
jmp 0x1005f9c2
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1005ebcc
push eax
mov ebx, eax
call fcn.100010a1
inc eax
push eax
call fcn.10108212
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 0x1005ebdd
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
call fcn.1000d9ae
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1005ec03
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
call fcn.10017af4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x68], eax
push dword [ebp - 0x20]
push dword [ebp - 0x68]
push dword [0x1022c9f0]
mov ecx, 3
call fcn.1000110c
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1005ec67
push ebx
call fcn.10108218
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x1005ec7d
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1005eca9
push ebx
call fcn.10108218
add esp, 4
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100165a6
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x1005ecf3
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x1005ed06
push ebx
call fcn.10108218
add esp, 4
lea eax, [ebp - 0x7c]
push eax
call fcn.100065d7
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x1005ed2b
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x80]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1005ed42
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100233aa
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0xcd64bebc
push 0x80000301
push 0
push 0xc0f9293
push 1
mov ebx, 0x10108f50
call fcn.1010821e
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1005edad
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0
je 0x1005edc9
cmp dword [ebp + 0xc], 1
je 0x1005edc9
xor eax, eax
jmp 0x1005edce
mov eax, 1
test eax, eax
je 0x1005f430
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
push 0x1022ca20
call fcn.1001ccd0
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1005ee1e
push ebx
call fcn.10108218
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x1005ee34
mov eax, 0x101d0c1f
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1005ee60
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1005ee77
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
call fcn.10017af4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x68], eax
push 0x80000301
push 0
push dword [ebp - 0x24]
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
push 0x101d101c
push dword [ebp - 0x68]
push 0x101d101c
push dword [ebp - 0x20]
push 0x101d101c
push dword [ebp - 0x28]
push 0x101d101c
push dword [ebp - 0x1c]
push 0x101d101c
push dword [ebp - 0x38]
push 0x101dbb3b
mov ecx, 0xc
call fcn.1000110c
add esp, 0x30
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1005ef1e
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1005ef31
push ebx
call fcn.10108218
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x1005ef47
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x1005ef73
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1005ef8a
push ebx
call fcn.10108218
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 0x1005efa1
mov eax, 0x101d0c1f
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x64], eax
push dword [ebp - 0x64]
push 0x101d1a13
mov ecx, 2
call fcn.1000110c
add esp, 8
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x1005efeb
push ebx
call fcn.10108218
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x1005f001
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1005f02d
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1005f044
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0x55d27fd6
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push 0
push dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
push eax
call fcn.10019bc7
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1005f0e2
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
mov eax, 0x101d0c1f
xor ecx, ecx
test eax, eax
je 0x1005f0f4
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x44]
xor ebx, ebx
test eax, eax
je 0x1005f105
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1005f11c
dec eax
test ecx, ecx
je 0x1005f11c
call fcn.1000bddb
add esp, 0xc
test eax, eax
je 0x1005f42b
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1005f141
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10108212
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 0x1005f152
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005f17b
push eax
mov ebx, eax
call fcn.100010a1
inc eax
push eax
call fcn.10108212
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x64]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1005f191
push ebx
call fcn.10108218
add esp, 4
pop eax
mov ebx, dword [ebp - 0x64]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x4c]
add ebx, 4
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1005f1c0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10108212
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x64]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1005f1d6
push ebx
call fcn.10108218
add esp, 4
pop eax
mov ebx, dword [ebp - 0x64]
mov dword [ebx], eax
push 0x1022c9d8
push 4
mov eax, 2
call fcn.10108200
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov ebx, dword [0x1022c9d8]
mov dword [ebp - 0x68], ebx
call fcn.10001e94
mov dword [ebp - 0x6c], ecx
mov edi, dword [ebp - 0x68]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x1005f232
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x6c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x68]
call fcn.10108224
add esp, 8
mov dword [0x1022c9d8], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x6c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x64]
push edi
push eax
push 8
call fcn.10108212
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1005f298
push eax
mov ebx, eax
call fcn.100010a1
inc eax
push eax
call fcn.10108212
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 0x1005f2b5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10108212
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
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100050d9
mov dword [ebp - 0x68], eax
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1005f2f6
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x6c], eax
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
mov ecx, 2
call fcn.10002ec1
add esp, 8
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1005f363
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x1005f376
push ebx
call fcn.10108218
add esp, 4
mov dword [ebp - 0x78], 0
push 0
push dword [ebp - 0x78]
push 1
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1001ccd0
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1005f3b6
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x1005f3c9
push ebx
call fcn.10108218
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x1005f3df
mov eax, 0x101d0c1f
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x1005f40b
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x80]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1005f422
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x1005f42b
jmp 0x1005f5f3
mov ebx, dword [0x1022c9d8]
call fcn.10001e94
push ebx
push ecx
mov eax, dword [ebp - 0x2c]
dec eax
jns 0x1005f45a
push 0x1160
push 0x408ad17
push 4
call fcn.10108206
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005f477
push 0x1160
push 0x408ad17
push 1
call fcn.10108206
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
push 1
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x64]
call fcn.100050d9
mov dword [ebp - 0x6c], eax
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1005f4c3
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x70], eax
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push dword [ebp - 0x70]
mov ecx, 2
call fcn.10002ec1
add esp, 8
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x1005f530
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x1005f543
push ebx
call fcn.10108218
add esp, 4
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
push 1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1001ccd0
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1005f583
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x1005f596
push ebx
call fcn.10108218
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x1005f5ac
mov eax, 0x101d0c1f
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x84], eax
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x1005f5d8
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x84]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1005f5ef
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
call fcn.1001dc3a
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x1005f615
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002346c
mov dword [ebp - 0x58], eax
push 1
mov eax, 0x101d101c
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10023b60
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x1005f665
push ebx
call fcn.10108218
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.1000313e
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1005f68a
push ebx
call fcn.10108218
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x58]
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
push 1
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100050d9
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1005f6ec
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x1005f6ff
push ebx
call fcn.10108218
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x1005f727
mov eax, 0x101d0c1f
push eax
push 3
mov ebx, 0x10109e10
call fcn.1010821e
add esp, 0x28
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], ecx
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x1005f75f
push ebx
call fcn.10108218
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
cmp ecx, 0x80000101
jne 0x1005f780
and eax, 0xff
jmp 0x1005f7e1
cmp ecx, 0x80000201
jne 0x1005f78b
cwde
jmp 0x1005f7e1
cmp ecx, 0x80000301
je 0x1005f7e1
cmp ecx, 0x80000401
je 0x1005f7e1
mov dword [ebp - 0x8c], eax
cmp ecx, 0x80000501
je 0x1005f7c8
cmp ecx, 0x80000601
je 0x1005f7d0
push 0x12d9
push 0x408ad17
push 2
call fcn.10108206
add esp, 0xc
fld dword [ebp - 0x8c]
jmp 0x1005f7dc
mov dword [ebp - 0x88], edx
fld qword [ebp - 0x8c]
call fcn.100011a0
mov dword [ebp - 0x5c], eax
call fcn.10017af4
cmp dword [ebp - 0x5c], eax
je 0x1005f820
push 0x80000301
push 0
push dword [0x1022c994]
push 1
mov eax, 5
mov ebx, 0x101a1e70
call fcn.10108230
add esp, 0x10
mov eax, 0x101cd86c
jmp 0x1005f9c2
push 0
mov eax, 0x101d101c
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10023b60
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x1005f859
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x1005f870
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x60], eax
push 0x80000301
push 0
push dword [0x1022c994]
push 1
mov eax, 5
mov ebx, 0x101a1e70
call fcn.10108230
add esp, 0x10
push getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x1005f8ab
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x10108730
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fsub qword [0x101d110e]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
call fcn.100011a0
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x1005f908
mov eax, 0x101cd86c
push eax
push 2
mov ebx, 0x10108a70
call fcn.1010821e
add esp, 0x1c
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
call fcn.10021d8a
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x1005f946
push ebx
call fcn.10108218
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x1005f95c
mov eax, 0x101d0c1f
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x1005f988
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x80]
jmp 0x1005f9c2
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1005f9d3
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1005f9e3
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1005f9f3
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1005fa03
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1005fa13
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1005fa23
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1005fa33
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1005fa43
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x4c]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1005fa57
push ebx
call fcn.10108218
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1005fa6b
push ebx
call fcn.10108218
add esp, 4
pop ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1005fa84
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x1005fa94
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x1005faa4
push ebx
call fcn.10108218
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc