Function at 0x4555f7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ecx + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
movzx edx, byte [edi + 0x1c]
mov eax, dword [edi]
not edx
and edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [eax]
add edx, eax
add edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], eax
je 0x45563f
mov esi, dword [ebp + 0xc]
sub esi, dword [ebp + 0x18]
jmp 0x45564a
mov eax, dword [ecx + 0x2c]
lea esi, [eax + 1]
add eax, edx
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45565c
lea eax, [ecx + 1]
jmp 0x45565f
mov eax, dword [eax + 0xc]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
call fcn.00431bbd
cmp dword [ebp + 0x10], 0
mov edx, dword [edi]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push dword [ebp + 0x10]
push esi
call fcn.00442cfd
mov ecx, dword [ebp - 0x18]
add esp, 0xc
test ecx, ecx
je 0x4556ab
mov eax, dword [ebp - 0xc]
mov ecx, ebx
add eax, esi
push eax
push dword [edi + 8]
push 0x74
pop edx
call fcn.00431977
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
cmp dword [ebp + 0x18], 0
jne 0x4556ce
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x4556ce
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
add eax, esi
add eax, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.00441e1d
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
jle 0x45583d
push dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, edi
push esi
push dword [ebp + 8]
call fcn.004555b2
mov dword [ebp - 0x10], eax
add esp, 0xc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c]
lea ecx, [edx + 1]
mov dword [ebp + 0x10], ecx
mov ecx, dword [edi + 4]
add ecx, edx
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov edx, ecx
sub edx, dword [edi + 4]
mov eax, dword [ebp - 0x18]
add edx, eax
mov dword [ebp - 0x18], edx
test eax, eax
je 0x45571f
lea eax, [esi + ecx]
push eax
push 0x16
jmp 0x455724
push dword [edi + 8]
push 0x70
pop edx
mov ecx, ebx
call fcn.00431963
pop ecx
push dword [edi + 4]
mov ecx, ebx
mov dword [ebp + 0x18], eax
push esi
push dword [ebp + 0x10]
push 0x54
pop edx
call fcn.004318f3
mov edx, dword [edi + 0x14]
add esp, 0xc
mov ecx, ebx
call fcn.0043216a
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax]
cmp byte [ecx + 0x49], 0
jne 0x4558fd
mov esi, dword [edx + 0x10]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 0x14]
mov dword [edx + 8], ecx
movzx eax, word [esi + 6]
push eax
push 0
push dword [esi + 0x10]
call fcn.004722c0
add esp, 0xc
or edx, 0xffffffff
mov ecx, ebx
push 0xfffffffffffffff7
push esi
call fcn.004320a2
movzx ecx, word [esi + 8]
movzx eax, word [esi + 6]
mov esi, dword [ebp - 4]
sub ecx, eax
mov edx, dword [edi]
dec ecx
push ecx
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0045613c
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x10], eax
mov ecx, ebx
call fcn.00431d61
mov dword [ebp + 0x14], eax
lea ecx, [eax + 1]
push ecx
push 0
push ecx
push 0x12
pop edx
mov ecx, ebx
call fcn.004318f3
add esp, 0x1c
mov ecx, ebx
call fcn.00431bbd
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.00431977
push dword [edi + 8]
mov edx, 0x88
mov ecx, ebx
call fcn.00431963
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x455817
push dword [edi + 0x18]
mov ecx, ebx
push eax
push 0x16
pop edx
call fcn.00431977
pop ecx
pop ecx
mov edx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.00431e98
push dword [edi + 4]
mov edx, dword [ebp - 8]
mov ecx, esi
push dword [ebp + 0x10]
call fcn.00441e1d
mov edx, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, ebx
call fcn.00431e98
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x455894
mov esi, dword [edi + 8]
mov ecx, ebx
call fcn.00431d61
add eax, 4
push eax
push edx
push 0x31
pop edx
call fcn.00431977
push 0
push esi
push 0x21
pop edx
mov ecx, ebx
call fcn.00431977
mov eax, dword [ebp - 0xc]
mov ecx, ebx
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
push eax
push 0
push esi
push 0x26
pop edx
call fcn.00431b6e
push esi
push 0x78
pop edx
mov ecx, ebx
mov dword [ebp - 0x24], eax
call fcn.00431963
add esp, 0x24
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x4558b6
push dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, edi
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004555b2
add esp, 0xc
mov dword [ebp - 0x10], eax
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, ebx
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
push eax
push edx
mov dl, byte [edi + 0x1c]
push dword [edi + 8]
not dl
and edx, 1
or edx, 0x80
call fcn.00431b6e
mov esi, dword [ebp - 0x24]
add esp, 0x10
test esi, esi
je 0x4558fd
mov ecx, ebx
call fcn.00431d61
movzx edx, byte [edi + 0x1d]
add eax, edx
mov edx, esi
push eax
call fcn.00431e60
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret