Function at 0x4045a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0x6af8f0
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 + 0xc]
mov ecx, dword [ebp + 8]
cmp edx, ecx
jne 0x4045f5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x40481c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov ebx, dword [ecx + 8]
sub ebx, edx
test ebx, ebx
jns 0x40460a
add ebx, 0xf
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
sar ebx, 4
mov eax, dword [ecx + 0x18]
mov ecx, dword [edx + 4]
sub eax, ecx
test eax, eax
jns 0x404622
add eax, 0xf
sar eax, 4
cmp ebx, eax
jbe 0x404710
mov edi, ebx
shl edi, 4
push edi
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x40467f
lea eax, [ebp - 0x28]
mov edx, 0x6b0470
push eax
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov ecx, 0x6b045c
mov word [ebp - 0x18], 8
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
inc dword [ebp - 0xc]
mov dword [ebp - 4], ecx
inc dword [ebp - 0xc]
push eax
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0x34], esi
mov word [ebp - 0x18], 0x14
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
push eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
push ecx
call fcn.004048e0
mov edx, eax
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, 0x10
mov ecx, edx
mov dword [eax + 8], ecx
mov dword [ebp - 0x3c], ecx
mov word [ebp - 0x18], 0
jmp 0x4046db
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040445c
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call fcn.0067ac7c
pop ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
jmp 0x4047e6
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov ebx, dword [ebx + 8]
sub ebx, ecx
test ebx, ebx
jns 0x404725
add ebx, 0xf
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
sar ebx, 4
mov edx, dword [edx + 8]
mov esi, edx
mov eax, dword [eax + 4]
sub esi, eax
test esi, esi
jns 0x40473f
add esi, 0xf
sar esi, 4
cmp ebx, esi
jb 0x404767
push ecx
push edx
push eax
call fcn.00404a90
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0040445c
add esp, 0xc
jmp 0x4047e6
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
push edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
sub ecx, edx
test ecx, ecx
jns 0x40477d
add ecx, 0xf
mov eax, dword [ebp + 0xc]
sar ecx, 4
shl ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
push ecx
push eax
call fcn.00404a90
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
sub ecx, edx
test ecx, ecx
jns 0x4047aa
add ecx, 0xf
mov eax, dword [ebp + 8]
sar ecx, 4
shl ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
sub ecx, eax
test ecx, ecx
jns 0x4047cf
add ecx, 0xf
mov eax, dword [ebp + 0xc]
sar ecx, 4
shl ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
push ecx
call fcn.004048e0
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
sub ecx, edx
test ecx, ecx
jns 0x4047fb
add ecx, 0xf
mov eax, dword [ebp + 8]
sar ecx, 4
shl ecx, 4
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
add ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret