Function at 0x100081f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10008900
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov edi, 5
mov edx, dword fs:[0]
cmp eax, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
ja 0x10008299
lea ecx, [esi + eax]
mov edx, 0xfffffffb
jmp 0x10008247
inc edx
mov esi, eax
add esi, edx
je 0x10008299
movzx esi, byte [ecx + edx + 5]
test esi, esi
je 0x10008240
cmp esi, 0xcc
je 0x10008240
cmp esi, 0x90
je 0x10008240
cmp eax, 1
ja 0x100083cd
add eax, 0xfffffffe
jmp 0x10008278
inc ecx
inc eax
je 0x100083cd
movzx edx, byte [ecx]
test edx, edx
je 0x10008270
cmp edx, 0xcc
je 0x10008270
cmp edx, 0x90
je 0x10008270
mov esi, 0x80000007
jmp 0x1000847e
xor ebx, ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], 0
movzx eax, byte [0x10062079]
push 4
push 8
call fcn.10005990
add esp, 8
test eax, eax
je 0x1000849f
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x10039fec
mov dword [esi], eax
mov byte [esi + 4], 1
movzx eax, byte [0x10062079]
push 4
push 8
call fcn.10005990
add esp, 8
test eax, eax
je 0x100084b7
mov dword [eax], esi
mov dword [ebp - 0x34], eax
mov dword [eax + 4], 0x10039fec
mov dword [ebp - 0x10], 5
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.1000aa10
add esp, 8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov dword [eax + ecx*8], edx
mov dword [eax + ecx*8 + 4], 0x1003a004
mov eax, dword [ebp - 0x24]
inc eax
cmp byte [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
je 0x10008509
movzx eax, byte [0x10062079]
push 1
push 1
call fcn.10005990
add esp, 8
test eax, eax
je 0x100084cf
mov dword [ebp - 0x58], eax
mov byte [eax], 0xfb
mov dword [ebp - 0x54], 0x1003a058
mov esi, eax
movzx eax, byte [0x10062079]
push 4
push 8
call fcn.10005990
add esp, 8
test eax, eax
je 0x100084e7
mov dword [eax], esi
mov esi, dword [ebp - 0x24]
mov dword [eax + 4], 0x1003a058
cmp esi, dword [ebp - 0x2c]
jne 0x100083ba
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 3
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.1000aa10
add esp, 8
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov dword [edx + esi*8], eax
lea ecx, [edx + esi*8]
mov eax, 0x1003a070
jmp 0x100084ff
mov ecx, dword [ebp + 0xc]
mov esi, 0x80000007
movzx eax, byte [ecx - 5]
test eax, eax
je 0x100083ef
cmp eax, 0xcc
je 0x100083ef
cmp eax, 0x90
jne 0x1000847e
add ecx, 0xfffffffb
movzx eax, byte [ecx + 1]
test eax, eax
je 0x10008408
cmp eax, 0xcc
je 0x10008408
cmp eax, 0x90
jne 0x1000847e
movzx eax, byte [ecx + 2]
test eax, eax
je 0x1000841e
cmp eax, 0xcc
je 0x1000841e
cmp eax, 0x90
jne 0x1000847e
movzx eax, byte [ecx + 3]
test eax, eax
je 0x10008434
cmp eax, 0xcc
je 0x10008434
cmp eax, 0x90
jne 0x1000847e
movzx eax, byte [ecx + 4]
test eax, eax
je 0x1000844a
cmp eax, 0xcc
je 0x1000844a
cmp eax, 0x90
jne 0x1000847e
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
push ecx
push eax
call fcn.10008f80
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, reloc.WS2_32.dll_listen
jne 0x10008495
cmp byte [ebp - 0x28], 0
je 0x1000847e
mov edi, 7
mov bl, 1
jmp 0x1000829b
mov edx, dword [ebp + 8]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov dword [edx], bind
jmp 0x10008704
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov esi, edx
jmp 0x1000847e
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.10037ba0
add esp, 8
jmp 0x10008757
mov dword [ebp - 0x10], 6
push 8
push 4
call fcn.10037ba0
add esp, 8
jmp 0x10008757
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.10037ba0
add esp, 8
jmp 0x10008757
mov dword [ebp - 0x10], 4
push 8
push 4
call fcn.10037ba0
add esp, 8
jmp 0x10008757
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10008561
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [esi + edx*8 + 4]
push dword [esi + edx*8]
call dword [eax + 0x10]
add esp, 4
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
inc edx
add ecx, eax
cmp edx, esi
jne 0x10008530
mov esi, dword [ebp - 0x38]
cmp ecx, esi
jae 0x100085e4
movzx eax, byte [0x10062079]
push 1
push 1
call fcn.10005990
add esp, 8
test eax, eax
je 0x10008730
mov byte [eax], 0x90
mov esi, eax
movzx eax, byte [0x10062079]
push 4
push 0xc
call fcn.10005990
add esp, 8
test eax, eax
je 0x10008718
mov dword [eax], 1
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x24]
mov dword [eax + 8], 1
cmp esi, dword [ebp - 0x2c]
jne 0x100085d1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.1000aa10
add esp, 8
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov dword [edx + esi*8], eax
lea ecx, [edx + esi*8]
mov eax, 0x1003a018
jmp 0x100084ff
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
movsd qword [ebp - 0x4c], xmm0
movzx eax, byte [0x10062079]
push 1
push esi
call fcn.10005990
add esp, 8
test eax, eax
je 0x10008745
push esi
mov edi, dword [ebp - 0x30]
push edi
mov dword [ebp - 0x20], eax
push eax
call fcn.10029a30
add esp, 0xc
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], edi
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10007b00
add esp, 0xc
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x20]
movsd qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], eax
mov dword [ecx], edx
mov dword [ecx + 4], esi
mov esi, dword [ebp - 0x30]
mov dword [ecx + 8], edx
movsd xmm0, qword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
movsd qword [ecx + 0xc], xmm0
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 0x44]
test ecx, ecx
mov dword [ebp - 0x30], ecx
je 0x100086ec
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x48]
neg ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov ecx, 1
jmp 0x100086b0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
lea eax, [eax + ecx + 1]
inc ecx
cmp eax, 1
je 0x100086ec
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 4]
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0x40], edx
push edx
mov dword [ebp - 0x34], eax
call dword [eax]
add esp, 4
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
test eax, eax
je 0x100086a0
push dword [ecx + 8]
push eax
push dword [ebp - 0x40]
call fcn.100059a0
add esp, 0xc
jmp 0x100086a0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10008704
shl eax, 3
push 4
push eax
push dword [ebp - 0x48]
call fcn.100059a0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
push 0xc
push 4
call fcn.10037ba0
add esp, 8
jmp 0x10008757
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.10037ba0
add esp, 8
jmp 0x10008757
mov dword [ebp - 0x10], 7
push esi
push 1
call fcn.10037ba0
add esp, 8
ud2