Function at 0x10022163
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 0x1002223e
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 0x100223d3
push 0xb09
push 0x408ac88
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 0x1002241d
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 0x10022449
push ebx
call fcn.10108218
add esp, 4
cmp dword [ebp - 0x68], 0
jg 0x10022484
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 0x100232c1
mov eax, 0x101d1a02
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1002249a
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 0x100224c0
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x20], 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 0x1002251e
push ebx
call fcn.10108218
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x10022534
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 0x10022560
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 0x100225aa
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x100225bd
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 0x100225e2
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x80]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100225f9
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100233aa
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
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 0x1002266a
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x28], 0
je 0x10022686
cmp dword [ebp + 8], 1
je 0x10022686
xor eax, eax
jmp 0x1002268b
mov eax, 1
test eax, eax
je 0x10022d2f
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 0x100226db
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 0x100226f1
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 0x1002271d
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10022734
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x1002274b
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x64], eax
call fcn.10017af4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x6c], eax
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x1010a760
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
push 0x101d101c
push dword [ebp - 0x6c]
push 0x101d101c
push dword [ebp - 0x64]
push 0x101d101c
push dword [ebp - 0x24]
push 0x101d101c
push dword [ebp - 0x1c]
push 0x101d101c
push dword [ebp - 0x38]
push 0x101d1a0d
mov ecx, 0xc
call fcn.1000110c
add esp, 0x30
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x1002280a
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1002281d
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x10022830
push ebx
call fcn.10108218
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x10022846
mov eax, 0x101cd86c
push eax
push 1
mov ebx, 0x10109d10
call fcn.1010821e
add esp, 0x10
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x10022872
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10022889
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 0x100228a0
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 0x100228ea
push ebx
call fcn.10108218
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x10022900
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 0x1002292c
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10022943
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 0x100229e1
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 0x100229f3
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x44]
xor ebx, ebx
test eax, eax
je 0x10022a04
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10022a1b
dec eax
test ecx, ecx
je 0x10022a1b
call fcn.1000bddb
add esp, 0xc
test eax, eax
je 0x10022d2a
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10022a40
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 0x10022a51
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 0x10022a7a
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 0x10022a90
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 0x10022abf
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 0x10022ad5
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 0x10022b31
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 0x10022b97
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 0x10022bb4
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 - 0x24]
test eax, eax
jne 0x10022bf5
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 0x10022c62
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x10022c75
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 0x10022cb5
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x10022cc8
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 0x10022cde
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 0x10022d0a
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x80]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10022d21
push ebx
call fcn.10108218
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x10022d2a
jmp 0x10022ef2
mov ebx, dword [0x1022c9d8]
call fcn.10001e94
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10022d59
push 0x11af
push 0x408ac88
push 4
call fcn.10108206
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10022d76
push 0x11af
push 0x408ac88
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 - 0x24]
test eax, eax
jne 0x10022dc2
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 0x10022e2f
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x10022e42
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 0x10022e82
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x10022e95
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 0x10022eab
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 0x10022ed7
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x84]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10022eee
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 0x10022f14
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 0x10022f64
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 0x10022f89
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 0x10022feb
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x10022ffe
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 0x10023026
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 0x1002305e
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 0x1002307f
and eax, 0xff
jmp 0x100230e0
cmp ecx, 0x80000201
jne 0x1002308a
cwde
jmp 0x100230e0
cmp ecx, 0x80000301
je 0x100230e0
cmp ecx, 0x80000401
je 0x100230e0
mov dword [ebp - 0x8c], eax
cmp ecx, 0x80000501
je 0x100230c7
cmp ecx, 0x80000601
je 0x100230cf
push 0x1315
push 0x408ac88
push 2
call fcn.10108206
add esp, 0xc
fld dword [ebp - 0x8c]
jmp 0x100230db
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 0x1002311f
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 0x100232c1
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 0x10023158
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x1002316f
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 0x100231aa
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 0x10023207
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 0x10023245
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 0x1002325b
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 0x10023287
push ebx
call fcn.10108218
add esp, 4
mov eax, dword [ebp - 0x80]
jmp 0x100232c1
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100232d2
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100232e2
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100232f2
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10023302
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10023312
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10023322
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10023332
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10023342
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 0x10023356
push ebx
call fcn.10108218
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002336a
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 0x10023383
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x10023393
push ebx
call fcn.10108218
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x100233a3
push ebx
call fcn.10108218
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8