Function at 0x466b04
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [edi]
movzx edx, byte [edi + 0x1c]
mov ebx, dword [esi + 8]
not edx
and edx, 1
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
lea ecx, [eax + edx]
mov eax, dword [esi + 0x2c]
add ecx, dword [ebp + 0x14]
inc eax
cmp dword [ebp + 0x18], 0
mov dword [esi + 0x2c], eax
mov esi, dword [edi + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
je 0x466b59
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 8]
sub ecx, edx
mov dword [ebp - 4], ecx
jmp 0x466b65
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x466b74
lea eax, [ecx + 1]
jmp 0x466b77
mov eax, dword [eax + 0xc]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.00443528
cmp dword [ebp + 0x10], 0
mov ecx, esi
mov edx, dword [edi]
mov dword [edi + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.004547b7
mov ecx, dword [ebp - 8]
add esp, 0xc
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x466bcb
push ecx
push dword [edi + 8]
mov ecx, ebx
push 0x74
pop edx
call fcn.0044337d
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
cmp dword [ebp + 0x18], 0
jne 0x466be8
mov edx, dword [ebp + 0x14]
test edx, edx
jle 0x466be8
push edx
mov edx, dword [ebp + 0xc]
add eax, ecx
push eax
mov ecx, esi
call fcn.004538ba
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, ebx
push 0x65
pop edx
mov dword [ebp - 0x28], eax
call fcn.004432f9
add esp, 0xc
cmp dword [ebp - 0x10], 0
jle 0x466d5c
mov ecx, dword [esi + 0x2c]
lea eax, [ecx + 1]
mov dword [ebp + 0x18], eax
mov eax, dword [edi + 4]
add eax, ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0x2c], eax
sub ecx, dword [edi + 4]
mov eax, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x10]
test eax, eax
jne 0x466c3f
mov ecx, dword [edi + 8]
push ecx
push 0x16
pop edx
push 0x70
pop ecx
test eax, eax
cmove edx, ecx
mov ecx, ebx
call fcn.00443369
pop ecx
push dword [edi + 4]
mov ecx, ebx
mov dword [ebp - 0x24], eax
push dword [ebp - 4]
push dword [ebp + 0x18]
push 0x62
pop edx
call fcn.004432f9
mov edx, dword [edi + 0x14]
add esp, 0xc
mov ecx, ebx
call fcn.00443adb
mov ecx, dword [esi]
mov edx, eax
mov dword [ebp - 0x20], edx
cmp byte [ecx + 0x45], 0
jne 0x466e0d
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.0049ef70
add esp, 0xc
or edx, 0xffffffff
mov ecx, ebx
push 0xfffffffffffffffb
push esi
call fcn.00443a13
movzx eax, word [esi + 8]
mov esi, dword [ebp - 0x1c]
dec eax
mov edx, dword [edi]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call fcn.004675c2
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
mov ecx, ebx
call fcn.004436d4
mov dword [ebp + 0x14], eax
lea ecx, [eax + 1]
push ecx
push 0
push ecx
push 0x12
pop edx
mov ecx, ebx
call fcn.004432f9
add esp, 0x1c
mov ecx, ebx
call fcn.00443528
mov dword [edi + 0x10], eax
mov ecx, ebx
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
push dword [edi + 0x10]
mov dword [edi + 0xc], eax
push eax
push 0xe
pop edx
call fcn.0044337d
push dword [edi + 8]
mov edx, 0x87
mov ecx, ebx
call fcn.00443369
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x466d36
push dword [edi + 0x18]
mov ecx, ebx
push eax
push 0x16
pop edx
call fcn.0044337d
pop ecx
pop ecx
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.00443817
push dword [edi + 4]
mov edx, dword [ebp - 4]
mov ecx, esi
push dword [ebp + 0x18]
call fcn.004538ba
mov edx, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, ebx
call fcn.00443817
push dword [ebp - 0x14]
mov dl, byte [edi + 0x1c]
mov ecx, ebx
push dword [ebp - 0x28]
not dl
push dword [ebp - 0x18]
and edx, 1
push dword [edi + 8]
add edx, 0x7f
call fcn.004434d9
mov eax, dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x466e0d
push eax
push 0x2f
pop edx
mov ecx, ebx
call fcn.00443369
pop ecx
push dword [edi + 8]
mov ecx, ebx
mov dword [ebp + 0x14], eax
push 0x21
pop edx
call fcn.00443369
cmp byte [edi + 0x1d], 0
pop ecx
je 0x466dc7
inc dword [esi + 0x2c]
mov ecx, ebx
mov esi, dword [esi + 0x2c]
push esi
push dword [ebp - 8]
push dword [edi + 8]
push 0x63
pop edx
call fcn.004432f9
add esp, 0xc
jmp 0x466dc9
xor esi, esi
push dword [edi + 8]
mov ecx, ebx
push 0x78
pop edx
call fcn.00443369
cmp byte [edi + 0x1d], 0
pop ecx
je 0x466e03
mov ecx, ebx
call fcn.004436d4
push esi
add eax, 2
push eax
push dword [ebp + 0x10]
push 0x4e
pop edx
call fcn.004432f9
add esp, 0xc
mov edx, 0x80
mov ecx, ebx
call fcn.004437ff
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.00443817
pop edi
pop esi
pop ebx
leave
ret