Function at 0x40db1c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0x28], 0x6b0984
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
call fcn.0040da40
mov esi, eax
shl esi, 3
push esi
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x40dbaf
lea edx, [ebp - 0x30]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x20], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0x14]
mov dword [ebp - 4], eax
inc dword [ebp - 0x14]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x40ddd8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [edx + 0x40]
shl edx, 2
add ecx, edx
add ecx, 0xfffffffc
cmp ecx, eax
jne 0x40dd7e
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
sub eax, ecx
test eax, eax
jns 0x40dbf1
add eax, 3
sar eax, 2
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, eax
add eax, 2
mov dword [ebp - 0x44], eax
mov word [ebp - 0x20], 0x14
mov esi, dword [ebp - 0x44]
shl esi, 2
push esi
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x40dc5b
lea edx, [ebp - 0x30]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x20], 0x20
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [ebp - 0x14]
mov dword [ebp - 8], eax
inc dword [ebp - 0x14]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x20], 0
jmp 0x40dc8c
mov esi, dword [ebp - 0x44]
shr esi, 2
mov eax, esi
shl eax, 2
mov edx, dword [ebp - 0x48]
add eax, edx
push eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
add eax, 4
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
push ecx
call fcn.0040df18
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
push eax
call fcn.0067ac7c
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x48]
pop ecx
mov eax, esi
mov dword [edx + 0x34], edi
mov ebx, edi
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
add eax, edx
mov dword [edi + eax*4 + 4], ecx
mov eax, esi
mov edx, dword [ebp + 8]
shl eax, 2
add ebx, eax
mov ecx, dword [edx + 8]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebx]
mov dword [ebp - 0x58], edx
call fcn.0040da40
shl eax, 3
mov ecx, dword [ebx]
add eax, ecx
mov ecx, 6
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ebx
mov edx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x64]
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov edi, dword [ebp - 0x34]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x40]
shl esi, 2
mov dword [ebp - 0x74], edi
shl eax, 2
add ebx, esi
add ebx, eax
add ebx, 4
mov edx, dword [ebx]
mov dword [ebp - 0x70], edx
call fcn.0040da40
shl eax, 3
mov ecx, dword [ebx]
add eax, ecx
mov ecx, 6
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ebx
mov edx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x7c]
mov esi, eax
lea edi, [edx + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
pop edi
add eax, 0x38
mov edx, dword [ebp - 0x44]
pop esi
mov dword [eax + 8], edx
mov dword [ebp - 0x84], edx
jmp 0x40df06
mov ecx, dword [ebp + 8]
add dword [ecx + 0x2c], 4
mov eax, dword [ecx + 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x2c]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x9c], esi
mov eax, dword [ebx]
mov dword [ebp - 0x98], eax
call fcn.0040da40
shl eax, 3
mov edx, dword [ebx]
add eax, edx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ebx
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
lea edi, [eax + 0x18]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x40df06
call fcn.0040da40
mov edx, eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, edx
mov dword [eax + 8], ecx
mov dword [ebp - 0xac], ecx
mov word [ebp - 0x20], 0x2c
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x40]
shl esi, 2
push esi
call fcn.0067ac68
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x40de4c
lea edx, [ebp - 0x30]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x20], 0x38
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x14]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], ebx
mov word [ebp - 0x20], 0
jmp 0x40de80
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x40]
mov edx, dword [eax + 0x34]
shr ecx, 1
mov eax, dword [ebp - 0x34]
mov dword [edx + ecx*4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, dword [edx + 0x34]
mov edx, dword [eax + 0x40]
shr edx, 1
shl edx, 2
add ebx, edx
call fcn.0040da40
mov esi, eax
shr esi, 1
shl esi, 3
mov eax, dword [ebp - 0x34]
add esi, eax
mov dword [ebp - 0xc4], esi
mov edx, dword [ebx]
mov dword [ebp - 0xc0], edx
call fcn.0040da40
shl eax, 3
mov ecx, dword [ebx]
add eax, ecx
mov ecx, 6
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], ebx
mov edx, dword [ebp + 8]
push esi
lea eax, [ebp - 0xcc]
mov edi, edx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
pop esi
mov eax, dword [ebp + 8]
mov ecx, 6
mov esi, eax
lea edi, [edx + 0x18]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret