Function at 0x66d758
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0x6f4f3c
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x20], 0
mov dword [ebp - 0x14], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 0x18]
cmp ecx, edx
je 0x66db30
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
add eax, 0xffffffd0
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
test eax, eax
je 0x66dadd
mov word [ebp - 0x20], 0x14
xor edx, edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x66d837
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x40]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 8]
mov dword [ebp - 0x16c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
add eax, 0xfffffff4
mov dword [ebp - 0x48], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x48]
cmp edx, ecx
je 0x66d8aa
mov eax, dword [ebp - 0x48]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x66d8aa
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x4c]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
add edx, 0xc
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x5c]
push eax
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x68], eax
xor eax, eax
mov esi, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
add esi, 0x10
mov edx, dword [ebp - 0x6c]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x66d91a
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [esi + 8], edx
mov dword [ebp - 0x74], esi
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18c], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x78], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x78]
cmp ecx, eax
je 0x66d99f
mov edx, dword [ebp - 0x78]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x66d99f
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x7c]
push ecx
mov eax, dword [ebp - 0x7c]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
add edx, 0xc
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x80]
mov dword [esi + 8], ecx
mov dword [ebp - 0x88], esi
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 8]
mov dword [ebp - 0x19c], edx
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 8]
mov dword [ebp - 0x90], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
add eax, 0x20
mov dword [ebp - 0x98], eax
xor eax, eax
mov edi, dword [ebp - 4]
mov dword [ebp - 0x9c], eax
add edi, 0x20
mov edx, dword [ebp - 0x9c]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x66da33
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [edi + 8], edx
mov dword [ebp - 0xa4], edi
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1ac], eax
mov edx, dword [edi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0xa8], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
je 0x66dad0
mov edx, dword [ebp - 0xa8]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x66dad0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0xac]
push ecx
mov eax, dword [ebp - 0xac]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
add edx, 0xc
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp - 0xb0]
mov dword [edi + 8], ecx
mov dword [ebp - 0xb8], edi
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1bc], edx
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 8]
mov dword [ebp - 0xc0], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xbc]
push eax
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
add dword [ebp - 0x14], 0xfffffffd
mov word [ebp - 0x20], 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
add eax, 0xffffffd0
push eax
push ebx
call fcn.0066e0b8
add esp, 0xc
mov esi, dword [ebp + 0x10]
push esi
push ebx
call fcn.0069a2e0
add esp, 8
lea eax, [esi + 0x10]
push eax
lea edx, [ebx + 0x10]
push edx
call fcn.0069a2e0
add esp, 8
add esi, 0x20
push esi
lea eax, [ebx + 0x20]
push eax
call fcn.0069a2e0
add esp, 8
mov edx, dword [ebp + 8]
add dword [edx + 8], 0x30
jmp 0x66e0a7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
mov ecx, 0x30
cdq
idiv ecx
mov ecx, eax
test ecx, ecx
je 0x66db50
add ecx, ecx
jmp 0x66db55
mov ecx, 0x15
mov dword [ebp - 0xd0], ecx
mov edi, dword [ebp - 0xd0]
mov eax, edi
shl eax, 4
lea eax, [eax + eax*2]
push eax
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x66dbb6
lea edx, [ebp - 0x30]
mov eax, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov edx, 0x6b045c
mov word [ebp - 0x20], 0x44
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
inc dword [ebp - 0x14]
mov dword [ebp - 8], edx
inc dword [ebp - 0x14]
push ecx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0xd4], esi
mov eax, dword [ebp - 0xd4]
push eax
push ebx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
call fcn.0066e110
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [edx + 4]
sub eax, edx
mov ecx, 0x30
cdq
idiv ecx
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0xd4]
add eax, edx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x66dfb6
mov word [ebp - 0x20], 0x5c
xor ecx, ecx
mov dword [ebp - 0xdc], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xdc]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x66dc98
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xe0]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1cc], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0xe8], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
je 0x66dd41
mov edx, dword [ebp - 0xe8]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x66dd41
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0xec], edx
mov ecx, dword [ebp - 0xec]
push ecx
mov eax, dword [ebp - 0xec]
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
add ecx, 0xc
mov dword [ebp - 0xf0], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xf0]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0xf8]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1dc], edx
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax + 8]
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0xfc]
push edx
mov ecx, dword [ebp - 0x100]
push ecx
mov eax, dword [ebp - 0x104]
push eax
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
xor eax, eax
mov edx, dword [ebp - 0xd8]
add edx, 0x10
mov dword [ebp - 0x108], edx
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10c], eax
add esi, 0x10
mov edx, dword [ebp - 0x10c]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x66ddd8
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [esi + 8], edx
mov dword [ebp - 0x114], esi
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1ec], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x118], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x118]
cmp ecx, eax
je 0x66de75
mov edx, dword [ebp - 0x118]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x66de75
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x11c], edx
mov ecx, dword [ebp - 0x11c]
push ecx
mov eax, dword [ebp - 0x11c]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
add edx, 0xc
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x120]
mov dword [esi + 8], ecx
mov dword [ebp - 0x128], esi
mov eax, dword [ebp - 0x128]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1fc], edx
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x108]
mov edx, dword [eax + 8]
mov dword [ebp - 0x130], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x12c]
push eax
mov edx, dword [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xd8]
add eax, 0x20
mov dword [ebp - 0x138], eax
xor eax, eax
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x13c], eax
add edi, 0x20
mov edx, dword [ebp - 0x13c]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x66df0c
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [edi + 8], edx
mov dword [ebp - 0x144], edi
mov ecx, dword [ebp - 0x144]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20c], eax
mov edx, dword [edi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x148], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x148]
cmp ecx, eax
je 0x66dfa9
mov edx, dword [ebp - 0x148]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x66dfa9
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x14c]
push ecx
mov eax, dword [ebp - 0x14c]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
add edx, 0xc
mov dword [ebp - 0x150], edx
mov ecx, dword [ebp - 0x150]
mov dword [edi + 8], ecx
mov dword [ebp - 0x158], edi
mov eax, dword [ebp - 0x158]
mov edx, dword [eax + 8]
mov dword [ebp - 0x21c], edx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x15c], ecx
mov eax, dword [ebp - 0x138]
mov edx, dword [eax + 8]
mov dword [ebp - 0x160], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x15c]
push eax
mov edx, dword [ebp - 0x160]
push edx
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
add dword [ebp - 0x14], 0xfffffffd
mov word [ebp - 0x20], 0x50
mov word [ebp - 0x20], 0x8c
mov eax, dword [ebp + 8]
push dword [eax + 4]
mov eax, ebx
pop edx
sub eax, edx
mov ecx, 0x30
cdq
idiv ecx
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0xd4]
add eax, edx
add eax, 0x30
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
push ebx
call fcn.0066e110
mov word [ebp - 0x20], 0
add esp, 0xc
jmp 0x66e01d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
mov ecx, 0x30
cdq
idiv ecx
mov ebx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004848d0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0xd0]
pop ecx
shl edx, 4
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp + 8]
add eax, 0x10
lea edx, [edx + edx*2]
add edx, ecx
mov ecx, ebx
shl ecx, 4
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x22c], edx
lea ecx, [ecx + ecx*2]
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp + 8]
add ecx, eax
add ecx, 0x30
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xd4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret