Function at 0x40d35c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0x6b0854
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x24], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0xc], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x28]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [edx + 8]
cmp edx, ecx
je 0x40d3ea
mov eax, edx
mov dword [ebp - 0x2c], edx
add eax, 0xfffffff8
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
add eax, 0xfffffff8
push eax
push ebx
call fcn.0040d580
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [ebx], ecx
mov ecx, dword [edx + 4]
mov dword [ebx + 4], ecx
mov eax, dword [ebp + 8]
add dword [eax + 8], 8
jmp 0x40d56d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
test eax, eax
jns 0x40d3ff
add eax, 7
sar eax, 3
test eax, eax
je 0x40d40a
add eax, eax
jmp 0x40d40f
mov eax, 0x80
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x38]
shl esi, 3
push esi
call fcn.0067ac68
pop ecx
mov edi, eax
test edi, edi
jne 0x40d465
lea edx, [ebp - 0x28]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x18], 8
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebp - 0xc]
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x3c]
push ecx
push ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
call fcn.0040d5ac
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push dword [edx + 4]
mov edx, ebx
pop ecx
sub edx, ecx
test edx, edx
jns 0x40d491
add edx, 7
sar edx, 3
shl edx, 3
mov ecx, dword [ebp - 0x3c]
add edx, ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov word [ebp - 0x18], 0x14
mov eax, dword [ebp + 8]
mov edx, ebx
mov eax, dword [eax + 4]
sub edx, eax
test edx, edx
jns 0x40d4bd
add edx, 7
sar edx, 3
shl edx, 3
mov ecx, dword [ebp - 0x3c]
add edx, ecx
add edx, 8
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
push ebx
call fcn.0040d5ac
mov word [ebp - 0x18], 0
add esp, 0xc
jmp 0x40d505
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 8]
mov eax, dword [eax + 4]
mov ebx, edx
sub ebx, eax
test ebx, ebx
jns 0x40d51c
add ebx, 7
sar ebx, 3
push edx
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040d184
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0x38]
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
shl edx, 3
add eax, 0x10
add edx, ecx
mov ecx, edx
mov dword [eax + 8], ecx
mov dword [ebp - 0x44], ecx
shl ebx, 3
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
add ebx, edx
add ebx, 8
mov dword [eax + 8], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret