Function at 0x54dda6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
push ebx
push esi
mov esi, dword [edi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
call fcn.00544df7
mov ebx, dword [edi + 0x18]
dec ebx
mov dword [ebp - 8], ebx
js 0x54df19
mov eax, ebx
imul eax, eax, 0x38
lea eax, [eax + esi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, ebx
imul eax, eax, 0x50
lea esi, [eax + edi + 0x6c]
mov edx, dword [esi - 0x10]
mov ecx, dword [ebp - 4]
call fcn.00543d82
mov al, byte [esi - 7]
cmp al, 0x89
je 0x54de1a
push dword [esi]
mov ecx, dword [ebp - 4]
push dword [esi - 4]
movzx eax, al
call fcn.0054a6fe
mov dl, byte [esi - 6]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.00543e9d
test dword [esi - 0x3c], 0xf1000
je 0x54de8b
cmp dword [esi + 4], 0
jle 0x54de8b
mov edx, dword [esi - 0x14]
mov ecx, dword [ebp - 4]
call fcn.00543d82
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0xc], eax
lea ebx, [ecx + eax*8 - 8]
test eax, eax
jle 0x54de7b
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 4]
inc eax
call fcn.00543eaf
push dword [ebx + 4]
mov ecx, dword [ebp - 4]
push dword [ebx]
push 0x43
pop eax
call fcn.0054a6fe
mov eax, dword [ebx + 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
dec eax
call fcn.00543eaf
dec dword [ebp - 0xc]
sub ebx, 8
cmp dword [ebp - 0xc], 0
jg 0x54de45
push dword [esi + 8]
push dword [ebp - 0x14]
call fcn.0053f8d4
mov ebx, dword [ebp - 8]
pop ecx
pop ecx
mov edx, dword [esi - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00543d82
mov eax, dword [esi - 0x24]
test eax, eax
je 0x54df06
mov ecx, dword [ebp - 4]
push eax
push 0x71
pop eax
call fcn.0054a6ed
test dword [esi - 0x3c], 0x800000
pop ecx
mov dword [ebp - 0xc], eax
jne 0x54dec7
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 4]
push 0x3e
pop eax
call fcn.0054a6ed
pop ecx
mov eax, dword [esi - 0x1c]
test eax, eax
jl 0x54dedb
mov ecx, dword [ebp - 4]
push eax
push 0x3e
pop eax
call fcn.0054a6ed
pop ecx
cmp byte [esi - 7], 3
push dword [esi - 0xc]
mov ecx, dword [ebp - 4]
jne 0x54deef
push dword [esi - 4]
push 2
pop eax
jmp 0x54def4
xor eax, eax
push 0
inc eax
call fcn.0054a6fe
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.00543eaf
sub dword [ebp - 0x10], 0x38
dec ebx
sub esi, 0x50
mov dword [ebp - 8], ebx
test ebx, ebx
jge 0x54ddeb
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 4]
call fcn.00543d82
and dword [ebp - 8], 0
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x30]
jle 0x54e03c
movzx eax, byte [esi + 0x34]
mov ecx, dword [ebp - 0x18]
imul eax, eax, 0x38
lea ecx, [eax + ecx + 8]
mov eax, dword [ecx + 0xc]
test byte [eax + 0x22], 2
jne 0x54df96
cmp dword [eax + 0x1c], 0
jne 0x54df96
test byte [edi + 4], 0x20
jne 0x54df96
cmp byte [edi + 6], 0
mov ebx, dword [esi]
jne 0x54df77
test ebx, 0x800000
jne 0x54df77
push dword [ecx + 0x18]
mov ecx, dword [ebp - 4]
push 0x2b
pop eax
call fcn.0054a6ed
pop ecx
test ebx, 0xf0000
je 0x54df96
test ebx, 0x20000000
jne 0x54df96
push dword [esi + 0x20]
mov ecx, dword [ebp - 4]
push 0x2b
pop eax
call fcn.0054a6ed
pop ecx
test dword [esi], 0xf0000
je 0x54e02a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e], 0
jne 0x54e02a
mov eax, dword [esi + 0x10]
mov ebx, dword [edi + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, ebx
call fcn.00543edb
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.00543e46
cmp ebx, eax
jge 0x54e02a
sub eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0x1c]
jne 0x54e022
mov al, byte [ecx]
cmp al, 0x1c
jne 0x54e015
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x54e022
mov ebx, dword [ecx + 8]
mov edx, dword [edx + 8]
cmp ebx, dword [edx]
je 0x54e00a
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
add edx, 4
cmp dword [ebp - 0xc], eax
jl 0x54dff6
jmp 0x54e022
mov eax, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
jmp 0x54e01f
cmp al, 0x3d
jne 0x54e022
mov eax, dword [esi + 0x20]
mov byte [ecx], 0x48
mov dword [ecx + 4], eax
add ecx, 0x14
dec dword [ebp - 0x10]
jne 0x54dfd1
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add esi, 0x50
cmp eax, dword [edi + 0x18]
jl 0x54df35
fld qword [edi + 0x20]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x14]
fstp qword [eax + 0x1c0]
mov ebx, edi
call fcn.0054dd22
pop ecx
pop esi
pop ebx
leave
ret