Function at 0x45d4c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, edx
push esi
mov esi, ecx
push edi
mov eax, dword [ebx]
movzx edx, byte [ebx + 0x1c]
mov edi, dword [esi + 8]
not edx
and edx, 1
mov dword [ebp - 0x20], esi
mov eax, dword [eax]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea ecx, [eax + edx]
add ecx, dword [ebp + 0x14]
inc dword [esi + 0x2c]
cmp dword [ebp + 0x18], 0
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x18], edx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
je 0x45d519
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sub ecx, edx
mov dword [ebp - 4], ecx
jmp 0x45d528
mov edx, dword [ebp - 0x18]
lea eax, [edx + 1]
mov dword [ebp - 4], eax
lea eax, [edx + ecx]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45d537
lea eax, [ecx + 1]
jmp 0x45d53a
mov eax, dword [eax + 0xc]
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.00439f5e
cmp dword [ebp + 0x10], 0
mov ecx, esi
mov edx, dword [ebx]
mov dword [ebx + 0x18], eax
sete al
dec al
and al, 4
or al, 1
movzx eax, al
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.0044b192
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test ecx, ecx
je 0x45d58a
mov eax, dword [ebp - 4]
mov ecx, edi
add eax, dword [ebp - 8]
push eax
push dword [ebx + 8]
push 0x72
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp + 0x18], 0
jne 0x45d5ad
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x45d5ad
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
add eax, ecx
mov ecx, esi
push eax
call fcn.0044a308
pop ecx
pop ecx
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x14], ecx
mov ecx, edi
push 0x63
pop edx
mov dword [ebp - 0x28], eax
call fcn.00439d0e
and dword [ebp - 0x1c], 0
add esp, 0xc
cmp dword [ebp - 0x10], 0
jle 0x45d725
mov ecx, dword [esi + 0x2c]
lea eax, [ecx + 1]
mov dword [ebp + 0x18], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x2c], eax
mov edx, ecx
sub edx, dword [ebx + 4]
mov eax, dword [ebp - 0xc]
add edx, eax
mov dword [ebp - 0xc], edx
test eax, eax
je 0x45d60e
mov eax, dword [ebp - 4]
add eax, ecx
push eax
push 0x16
jmp 0x45d613
push dword [ebx + 8]
push 0x6e
pop edx
mov ecx, edi
call fcn.00439d7e
pop ecx
push dword [ebx + 4]
mov ecx, edi
mov dword [ebp + 0x10], eax
push dword [ebp - 4]
push dword [ebp + 0x18]
push 0x5e
pop edx
call fcn.00439d0e
mov edx, dword [ebx + 0x14]
add esp, 0xc
mov ecx, edi
call fcn.0043a512
mov ecx, dword [esi]
mov edx, eax
mov dword [ebp - 0x24], edx
cmp byte [ecx + 0x45], 0
jne 0x45d7e4
mov esi, dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x14]
mov dword [edx + 8], ecx
movzx ecx, word [esi + 6]
push ecx
push 0
push dword [esi + 0x10]
call fcn.0047b750
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffff7
push esi
call fcn.0043a44a
movzx eax, word [esi + 8]
mov esi, dword [ebp - 0x20]
dec eax
mov edx, dword [ebx]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call fcn.0045dfaa
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], eax
mov ecx, edi
call fcn.0043a10e
mov dword [ebp + 0x14], eax
lea ecx, [eax + 1]
push ecx
push 0
push ecx
push 0x12
pop edx
mov ecx, edi
call fcn.00439d0e
add esp, 0x1c
mov ecx, edi
call fcn.00439f5e
mov dword [ebx + 0x10], eax
mov ecx, edi
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
push dword [ebx + 0x10]
mov dword [ebx + 0xc], eax
push eax
push 0xe
pop edx
call fcn.00439d92
push dword [ebx + 8]
mov edx, 0x85
mov ecx, edi
call fcn.00439d7e
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x45d6ff
push dword [ebx + 0x18]
mov ecx, edi
push eax
push 0x16
pop edx
call fcn.00439d92
pop ecx
pop ecx
mov edx, dword [ebp + 0x10]
mov ecx, edi
call fcn.0043a243
push dword [ebx + 4]
mov edx, dword [ebp - 4]
mov ecx, esi
push dword [ebp + 0x18]
call fcn.0044a308
mov edx, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, edi
call fcn.0043a243
mov al, byte [ebx + 0x1c]
mov ecx, edi
push dword [ebp - 0x14]
and al, 1
push dword [ebp - 0x28]
movzx edx, al
push dword [ebp - 0x18]
neg edx
push dword [ebx + 8]
sbb edx, edx
add edx, 0x7e
call fcn.00439f0f
mov eax, dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x45d7e4
push eax
push 0x2f
pop edx
mov ecx, edi
call fcn.00439d7e
pop ecx
push dword [ebx + 8]
mov ecx, edi
mov dword [ebp + 0x14], eax
push 0x21
pop edx
call fcn.00439d7e
cmp byte [ebx + 0x1d], 0
pop ecx
je 0x45d798
inc dword [esi + 0x2c]
mov ecx, edi
mov eax, dword [esi + 0x2c]
mov esi, dword [ebp - 8]
push eax
push esi
push dword [ebx + 8]
mov dword [ebp - 0x1c], eax
push 0x60
pop edx
call fcn.00439d0e
add esp, 0xc
jmp 0x45d79b
mov esi, dword [ebp - 8]
push dword [ebx + 8]
mov ecx, edi
push 0x76
pop edx
call fcn.00439d7e
cmp byte [ebx + 0x1d], 0
pop ecx
je 0x45d7da
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.0043a10e
add eax, 2
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
push 0x4e
pop edx
call fcn.00439d0e
add esp, 0xc
mov edx, 0x80
mov ecx, edi
call fcn.0043a22b
mov edx, dword [ebp + 0x14]
mov ecx, edi
call fcn.0043a243
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret