Function at 0x4598f5
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.00450946
mov ebx, dword [edi + 0x18]
dec ebx
mov dword [ebp - 8], ebx
js 0x459a68
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.0044f8ce
mov al, byte [esi - 7]
cmp al, 0x89
je 0x459969
push dword [esi]
mov ecx, dword [ebp - 4]
push dword [esi - 4]
movzx eax, al
call fcn.0045624d
mov dl, byte [esi - 6]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.0044f9e9
test dword [esi - 0x3c], 0xf1000
je 0x4599da
cmp dword [esi + 4], 0
jle 0x4599da
mov edx, dword [esi - 0x14]
mov ecx, dword [ebp - 4]
call fcn.0044f8ce
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 0x4599ca
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 4]
inc eax
call fcn.0044f9fb
push dword [ebx + 4]
mov ecx, dword [ebp - 4]
push dword [ebx]
push 0x43
pop eax
call fcn.0045624d
mov eax, dword [ebx + 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
dec eax
call fcn.0044f9fb
dec dword [ebp - 0xc]
sub ebx, 8
cmp dword [ebp - 0xc], 0
jg 0x459994
push dword [esi + 8]
push dword [ebp - 0x14]
call fcn.0044b423
mov ebx, dword [ebp - 8]
pop ecx
pop ecx
mov edx, dword [esi - 0x18]
mov ecx, dword [ebp - 4]
call fcn.0044f8ce
mov eax, dword [esi - 0x24]
test eax, eax
je 0x459a55
mov ecx, dword [ebp - 4]
push eax
push 0x71
pop eax
call fcn.0045623c
test dword [esi - 0x3c], 0x800000
pop ecx
mov dword [ebp - 0xc], eax
jne 0x459a16
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 4]
push 0x3e
pop eax
call fcn.0045623c
pop ecx
mov eax, dword [esi - 0x1c]
test eax, eax
jl 0x459a2a
mov ecx, dword [ebp - 4]
push eax
push 0x3e
pop eax
call fcn.0045623c
pop ecx
cmp byte [esi - 7], 3
push dword [esi - 0xc]
mov ecx, dword [ebp - 4]
jne 0x459a3e
push dword [esi - 4]
push 2
pop eax
jmp 0x459a43
xor eax, eax
push 0
inc eax
call fcn.0045624d
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.0044f9fb
sub dword [ebp - 0x10], 0x38
dec ebx
sub esi, 0x50
mov dword [ebp - 8], ebx
test ebx, ebx
jge 0x45993a
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 4]
call fcn.0044f8ce
and dword [ebp - 8], 0
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x30]
jle 0x459b8b
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 0x459ae5
cmp dword [eax + 0x1c], 0
jne 0x459ae5
test byte [edi + 4], 0x20
jne 0x459ae5
cmp byte [edi + 6], 0
mov ebx, dword [esi]
jne 0x459ac6
test ebx, 0x800000
jne 0x459ac6
push dword [ecx + 0x18]
mov ecx, dword [ebp - 4]
push 0x2b
pop eax
call fcn.0045623c
pop ecx
test ebx, 0xf0000
je 0x459ae5
test ebx, 0x20000000
jne 0x459ae5
push dword [esi + 0x20]
mov ecx, dword [ebp - 4]
push 0x2b
pop eax
call fcn.0045623c
pop ecx
test dword [esi], 0xf0000
je 0x459b79
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e], 0
jne 0x459b79
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.0044fa27
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.0044f992
cmp ebx, eax
jge 0x459b79
sub eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0x1c]
jne 0x459b71
mov al, byte [ecx]
cmp al, 0x1c
jne 0x459b64
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x459b71
mov ebx, dword [ecx + 8]
mov edx, dword [edx + 8]
cmp ebx, dword [edx]
je 0x459b59
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
add edx, 4
cmp dword [ebp - 0xc], eax
jl 0x459b45
jmp 0x459b71
mov eax, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
jmp 0x459b6e
cmp al, 0x3d
jne 0x459b71
mov eax, dword [esi + 0x20]
mov byte [ecx], 0x48
mov dword [ecx + 4], eax
add ecx, 0x14
dec dword [ebp - 0x10]
jne 0x459b20
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add esi, 0x50
cmp eax, dword [edi + 0x18]
jl 0x459a84
fld qword [edi + 0x20]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x14]
fstp qword [eax + 0x1c0]
mov ebx, edi
call fcn.00459871
pop ecx
pop esi
pop ebx
leave
ret